-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Python 3.7 (#1340)
Details: - Added Python 3.7 to setup.cfg, .travis.yml, and appveyor.xml. In .travis.yml, specified distro: xenial for Python 3.7, because of Travis issue #9069 (travis-ci/travis-ci#9069). In .travis.yml, now running py34 latest and py37 minimum. - Changed Python version support statement in docs/intro.rst to "... 3.4, and higher", to avoid a long list of Python 3.x versions. - Added support to CIMInt (superclass of Uint32, etc.) to accept a keyword argument named 'x' for the value, and to pass it on as a positional argument. Reason is that Python 3.7 removed support for passing the value to int() as a keyword argument named 'x'. - Fixed test case "Dict from keyword args" in `test_NocaseDict_init()` to expect a UserWarning only before Python 3.7. Fixed the version that is mentioned in the message of the UserWarning in `NocaseDict.__init__()`, and made the check there consistent with the message. - Increased minimum version of the `PyYAML` package from 3.12 to 3.13, in order to pick up its Python 3.7 support. That version also declares 3.7 as supported on Pypi. For details, see PyYAML issue #126 (yaml/pyyaml#126). - Increased minimum version of the `lxml` package from 4.0.0 to 4.2.4, in order to pick up its Python 3.7 support. Starting with 4.2.0, lxml declares 3.7 as supported on Pypi, but we need 4.2.4 in order to fix an issue with missing libxml2 on Windows. - Increased minimum version of the `pyzmq` package from 16.0.2 to 16.0.4, in order to pick up its Python 3.7 support. Note that while 16.0.4 works for us, 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. - Increased minimum version of the `httpretty` package from 0.8.14 to 0.9.5 in order to pick up its Python 3.7 support, but only for Python > 2.6. The 0.9.5 version also declares 3.7 as supported on Pypi. For Python == 2.6, the minimum httpretty version remains 0.8.14 because starting with 0.9, httpretty removed Python 2.6 support.i Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
- Loading branch information
1 parent
05a8288
commit fd5c68c
Showing
13 changed files
with
63 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters