-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makes build/CI work with Python 3.9 (#152)
Updates CI configuration, tox configuration, requirements, and README. Specifically adds more information around `tox`, upgrading `pip`/`setuptools`, and using `venv` for this. Also adds `tox` to the requirements file to immediately make it available. Also removes 2.7/3.4/3.5 as these are very much past end of life. Updates `requirements.txt` to pick up updates for things like `pytest` whose older versions don't work on 3.9. Fixes a test `__str__` implementation to work in Python 3.9.
- Loading branch information
Showing
5 changed files
with
34 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
appdirs==1.4.4 | ||
attrs==21.2.0 | ||
distlib==0.3.2 | ||
filelock==3.0.12 | ||
iniconfig==1.1.1 | ||
jsonconversion==0.2.12 | ||
packaging==20.9 | ||
pluggy==0.13.1 | ||
py==1.10.0 | ||
pytest==2.9.2 | ||
pytest-runner==2.8 | ||
six==1.15.0 | ||
pyparsing==2.4.7 | ||
pytest==6.2.4 | ||
pytest-runner==5.3.1 | ||
six==1.16.0 | ||
toml==0.10.2 | ||
tox==3.23.1 | ||
virtualenv==20.4.7 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
[tox] | ||
envlist = py27,py34,py35,py36,py37,pypy2,pypy3 | ||
envlist = py36,py37,py38,py39,pypy3 | ||
|
||
[testenv] | ||
requires= pip >= 21.1.2 | ||
setuptools >= 57.0.0 | ||
deps=-rrequirements.txt | ||
commands={posargs:py.test} |