Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update requirements to compile one per Python version. * Update tox setup to test with all supported Python versions. * Update Travis config to use a matrix, with `tox-travis`. * Update README to say "Python 3.5-3.7 supported." * Update `classifiers` and `python_requires` in `setup.py` * Add note in `HISTORY.rst` "Update Python support to 3.5-3.7, as 3.4 has reached its end of life."
- Loading branch information
1 parent
ba7bd90
commit 542c9ff
Showing
9 changed files
with
92 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
sudo: required | ||
dist: xenial | ||
sudo: required | ||
|
||
notifications: | ||
email: false | ||
|
||
language: python | ||
python: '3.6' | ||
cache: pip | ||
|
||
matrix: | ||
include: | ||
- python: 3.5 | ||
- python: 3.6 | ||
- python: 3.7 | ||
|
||
install: | ||
- sudo apt-get install ghostscript | ||
- pip install tox | ||
script: | ||
- tox | ||
- sudo apt-get install ghostscript | ||
- pip install tox-travis | ||
|
||
script: tox |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
set -ex | ||
export CUSTOM_COMPILE_COMMAND="./requirements-compile.sh" | ||
python3.5 -m piptools compile "$@" -o requirements/py35.txt | ||
python3.6 -m piptools compile "$@" -o requirements/py36.txt | ||
python3.7 -m piptools compile "$@" -o requirements/py37.txt |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# ./requirements-compile.sh | ||
# | ||
atomicwrites==1.3.0 # via pytest | ||
attrs==19.1.0 # via pytest | ||
docutils==0.14 | ||
entrypoints==0.3 # via flake8 | ||
flake8-commas==2.0.0 | ||
flake8==3.7.7 | ||
isort==4.3.19 | ||
mccabe==0.6.1 # via flake8 | ||
more-itertools==7.0.0 # via pytest | ||
multilint==3.0.0 | ||
pathlib2==2.3.3 # via pytest | ||
pillow==6.0.0 | ||
pluggy==0.11.0 # via pytest | ||
py==1.8.0 # via pytest | ||
pycodestyle==2.5.0 # via flake8 | ||
pyflakes==2.1.1 # via flake8 | ||
pygments==2.4.0 | ||
pytest==4.5.0 | ||
six==1.12.0 # via pathlib2, pytest | ||
wcwidth==0.1.7 # via pytest |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# ./requirements-compile.sh | ||
# | ||
atomicwrites==1.3.0 # via pytest | ||
attrs==19.1.0 # via pytest | ||
docutils==0.14 | ||
entrypoints==0.3 # via flake8 | ||
flake8-commas==2.0.0 | ||
flake8==3.7.7 | ||
isort==4.3.19 | ||
mccabe==0.6.1 # via flake8 | ||
more-itertools==7.0.0 # via pytest | ||
multilint==3.0.0 | ||
pillow==6.0.0 | ||
pluggy==0.11.0 # via pytest | ||
py==1.8.0 # via pytest | ||
pycodestyle==2.5.0 # via flake8 | ||
pyflakes==2.1.1 # via flake8 | ||
pygments==2.4.0 | ||
pytest==4.5.0 | ||
six==1.12.0 # via pytest | ||
wcwidth==0.1.7 # via pytest |
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,15 +1,22 @@ | ||
[tox] | ||
envlist = | ||
py3, | ||
py3-codestyle | ||
py{35,36,37}, | ||
py37-codestyle | ||
|
||
[testenv] | ||
install_command = pip install --no-deps {opts} {packages} | ||
deps = | ||
-rrequirements.txt | ||
commands = pytest {posargs} | ||
|
||
[testenv:py3-codestyle] | ||
changedir = {toxinidir} | ||
[testenv:py35] | ||
deps = -rrequirements/py35.txt | ||
|
||
[testenv:py36] | ||
deps = -rrequirements/py36.txt | ||
|
||
[testenv:py37] | ||
deps = -rrequirements/py37.txt | ||
|
||
[testenv:py37-codestyle] | ||
deps = -rrequirements/py37.txt | ||
skip_install = true | ||
commands = multilint |