-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to unbreak Python 2.6 builds (for whatever it's still worth)
- Loading branch information
Showing
3 changed files
with
31 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This is a pip constraints file that is used to preserve Python 2.6 | ||
# compatibility (on Travis CI). Why I'm still doing that in 2018 is | ||
# a good question, maybe simply to prove that I can :-P. | ||
|
||
# flake8 3.0.0 drops explicit support for Python 2.6: | ||
# http://flake8.pycqa.org/en/latest/release-notes/3.0.0.html | ||
flake8 < 3.0.0 ; python_version < '2.7' | ||
|
||
# flake8-docstrings 1.0.0 switches from pep257 to pydocstyle and I haven't been | ||
# able to find a combination of versions of flake8-docstrings and pydocstyle | ||
# that actually works on Python 2.6. Here's the changelog: | ||
# https://gitlab.com/pycqa/flake8-docstrings/blob/master/HISTORY.rst | ||
flake8-docstrings < 1.0.0 ; python_version < '2.7' | ||
|
||
# pyflakes 2.0.0 drops Python 2.6 compatibility: | ||
# https://github.com/PyCQA/pyflakes/blob/master/NEWS.txt | ||
pyflakes < 2.0.0 ; python_version < '2.7' | ||
|
||
# pytest 3.3 drops Python 2.6 compatibility: | ||
# https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23 | ||
pytest < 3.3 ; python_version < '2.7' | ||
|
||
# pycparser < 2.19 drops Python 2.6 compatibility: | ||
# https://github.com/eliben/pycparser/blob/master/CHANGES | ||
pycparser < 2.19 ; python_version < '2.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--requirement=requirements-checks.txt | ||
--requirement=requirements-tests.txt | ||
--requirement=requirements.txt | ||
coveralls |
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