Skip to content

Commit

Permalink
Added support for Python 3.7.
Browse files Browse the repository at this point in the history
Details:

* Added support for Python 3.7. This required increasing the minimum versions
  of several Python packages in order to pick up their Python 3.7 support:

  - `pyzmq` from 16.0.2 to 16.0.4 (While 16.0.4 works for this, only
    17.0.0 declares Python 3.6(!) support on Pypi, and Python 3.7 support is not
    officially declared on Pypi yet for this package).

  - `PyYAML` from 3.12 to 3.13 (see PyYAML issue
    yaml/pyyaml#126).

* Added Python 3.7 jobs to Travis and Appveyor. Disabled the corresponding
  Python 3.6 runs, in exchange. For the new Python 3.7 jobs in Travis,
  specified dist=xenial and sudo=required because trusty does not have
  Python 3.7 support.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Sep 4, 2018
1 parent 366c445 commit 9f64707
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 6 deletions.
18 changes: 17 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,26 @@ matrix:
# python: "3.6"
# env:
# - PACKAGE_LEVEL=minimum
# cache: pip
# - os: linux
# language: python
# python: "3.6"
# env:
# - PACKAGE_LEVEL=latest
# cache: pip
# - os: linux
# dist: xenial
# sudo: required
# language: python
# python: "3.7"
# env:
# - PACKAGE_LEVEL=minimum
# cache: pip
- os: linux
dist: xenial
sudo: required
language: python
python: "3.6"
python: "3.7"
env:
- PACKAGE_LEVEL=latest
cache: pip
Expand Down
10 changes: 8 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ environment:
# - PYTHON_VERSION: 3.6
# PYTHON_ARCH: 32
# PYTHON_HOME: C:\Python36
- PYTHON_VERSION: 3.6
# - PYTHON_VERSION: 3.6
# PYTHON_ARCH: 64
# PYTHON_HOME: C:\Python36-x64
# - PYTHON_VERSION: 3.7
# PYTHON_ARCH: 32
# PYTHON_HOME: C:\Python37
- PYTHON_VERSION: 3.7
PYTHON_ARCH: 64
PYTHON_HOME: C:\Python36-x64
PYTHON_HOME: C:\Python37-x64

configuration:
# These values will become the values of the PACKAGE_LEVEL env.var.
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Direct dependencies:

# zhmcclient examples (imports into the example scripts):
PyYAML>=3.12 # MIT
PyYAML>=3.13 # MIT

# Unit test (imports into testcases):
pytest>=3.0.5 # MIT
Expand Down
8 changes: 8 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ Released: not yet
* Docs: Streamlined, improved and fixed the description how to release a version
and how to start a new version, in the development section of the documentation.

* Added support for Python 3.7. This required increasing the minimum versions
of several Python packages in order to pick up their Python 3.7 support:
- `pyzmq` from 16.0.2 to 16.0.4 (While 16.0.4 works for this, only
17.0.0 declares Python 3.6(!) support on Pypi, and Python 3.7 support is not
officially declared on Pypi yet for this package).
- `PyYAML` from 3.12 to 3.13 (see PyYAML issue
https://github.com/yaml/pyyaml/issues/126).

**Known issues:**

* See `list of open issues`_.
Expand Down
4 changes: 2 additions & 2 deletions minimum-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ urllib3==1.21.1
# Direct dependencies for development (must be consistent with dev-requirements.txt)

# zhmcclient examples (imports into the example scripts):
PyYAML==3.12
PyYAML==3.13

# Unit test (imports into testcases):
pytest==3.0.5
Expand Down Expand Up @@ -146,7 +146,7 @@ pycodestyle==2.2.0
pyflakes==1.3.0
Pygments==2.1.3
python-dateutil==2.6.0
pyzmq==16.0.2
pyzmq==16.0.4
qtconsole==4.2.1
requests-toolbelt==0.7.0
scandir==1.5
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifier =
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7

[files]
packages =
Expand Down

0 comments on commit 9f64707

Please sign in to comment.