Skip to content

Improvements to Python 3.7 and testing infrastructure#3

Merged
tombasche merged 2 commits intoRepositPower:masterfrom
Echelon9:feature/python3.7
Oct 14, 2018
Merged

Improvements to Python 3.7 and testing infrastructure#3
tombasche merged 2 commits intoRepositPower:masterfrom
Echelon9:feature/python3.7

Conversation

@Echelon9
Copy link
Copy Markdown
Contributor

This is a great Python library, thanks @RepositPower and @tombasche! It's also fantastic that you've released this as an open source client library for your energytech system.

I noticed two small potential improvements around Python version support, packaging and testing. Please let me know of any comments you'd like reflected in this PR.

  • Add Python 3.7 support and testing
  • Conform Travis CI testing to Python versions supported in setuptools

Python 3.7 final has been released [0]. Re-add this to continuous integration testing, and
note the support level in setup.py for PyPI and other packagers.

Note: Travis-CI's support for Python 3.7 and communication around it is less than ideal.

A Travis-CI representative recently provided comment on their "official" workaround [1],
for users who need to meet Python 3.7's dependencies, yet aren't ready to move their entire
testing image to Ubuntu Xenial (16.04) from default Ubuntu Trusty (14.04) at this stage.
See further comments at [2].

[0] https://www.python.org/downloads/release/python-370/
[1] travis-ci/travis-ci#9069 (comment)
[2] travis-ci/travis-ci#9815
setuptools in setup.py reports Python 2.7 and Python 3.4-3.7 (inclusive) support.

Conform the python version testing in Travis CI to match each of these versions,
as good practice to avoid future conflicts or regressions.
@Echelon9
Copy link
Copy Markdown
Contributor Author

The CI failures with "pipenv install" appear to be due to a recent, unrelated bug in pipenv that was fixed in the last couple of days: pypa/pipenv#2954

@tombasche tombasche merged commit 934ab13 into RepositPower:master Oct 14, 2018
@Echelon9 Echelon9 deleted the feature/python3.7 branch October 15, 2018 01:17
@Echelon9
Copy link
Copy Markdown
Contributor Author

Thanks @tombasche

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants