File tree Expand file tree Collapse file tree 7 files changed +49
-23
lines changed Expand file tree Collapse file tree 7 files changed +49
-23
lines changed Original file line number Diff line number Diff line change 11# Makefile for the `rotate-backups' package.
22#
33# Author: Peter Odding <peter@peterodding.com>
4- # Last Change: March 25 , 2018
4+ # Last Change: August 2 , 2018
55# URL: https://github.com/xolox/python-rotate-backups
66
77PACKAGE_NAME = rotate-backups
4141 $(MAKE ) install
4242
4343check : install
44- @scripts/check-code-style.sh
44+ @pip-accel install --upgrade --quiet --requirement=requirements-checks.txt
45+ @flake8
4546
4647test : install
4748 @pip-accel install --quiet --requirement=requirements-tests.txt
Original file line number Diff line number Diff line change 1+ # This is a pip constraints file that is used to preserve Python 2.6
2+ # compatibility (on Travis CI). Why I'm still doing that in 2018 is
3+ # a good question, maybe simply to prove that I can :-P.
4+
5+ # flake8 3.0.0 drops explicit support for Python 2.6:
6+ # http://flake8.pycqa.org/en/latest/release-notes/3.0.0.html
7+ flake8 < 3.0.0 ; python_version < '2.7'
8+
9+ # flake8-docstrings 1.0.0 switches from pep257 to pydocstyle and I haven't been
10+ # able to find a combination of versions of flake8-docstrings and pydocstyle
11+ # that actually works on Python 2.6. Here's the changelog:
12+ # https://gitlab.com/pycqa/flake8-docstrings/blob/master/HISTORY.rst
13+ flake8-docstrings < 1.0.0 ; python_version < '2.7'
14+
15+ # pyflakes 2.0.0 drops Python 2.6 compatibility:
16+ # https://github.com/PyCQA/pyflakes/blob/master/NEWS.txt
17+ pyflakes < 2.0.0 ; python_version < '2.7'
18+
19+ # pytest 3.3 drops Python 2.6 compatibility:
20+ # https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
21+ pytest < 3.3 ; python_version < '2.7'
22+
23+ # simpleeval 0.9.2 introduces syntax that's incompatible with Python 2.6.
24+ simpleeval < 0.9.2 ; python_version < '2.7'
Original file line number Diff line number Diff line change 11# Python packages required to run `make check'.
2+
3+ # Enable Python version compatibility.
4+ --constraints=constraints.txt
5+
26flake8 >= 2.6.0
37flake8-docstrings >= 0.2.8
48pyflakes >= 1.2.3
Original file line number Diff line number Diff line change 1- pytest >= 3.0.7, < 3.3.0 ; python_version > '2.6'
2- pytest-cov >= 2.2.1
1+ # Python packages required to run `make test'.
2+
3+ # Enable Python version compatibility.
4+ --constraints=constraints.txt
35
4- # pytest release 3.3 drops Python 2.6 compatibility:
5- # https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
6- pytest < 3.3 ; python_version < '2.7'
6+ pytest >= 3.0.7
7+ pytest-cov >= 2.2.1
Original file line number Diff line number Diff line change 1+ # Python packages required on Travis CI.
2+
3+ # Enable Python version compatibility.
4+ --constraints=constraints.txt
5+
6+ # Pull in the requirements for code style checks,
7+ # the test suite and installation requirements.
18--requirement=requirements-checks.txt
29--requirement=requirements-tests.txt
310--requirement=requirements.txt
11+
12+ # Prepare to submit coverage data.
413coveralls
Original file line number Diff line number Diff line change 1+ # Installation requirements (see also constraints.txt).
2+
13coloredlogs >= 5.1
24executor >= 19.2
35humanfriendly >= 3.4
46naturalsort >= 1.4
57property-manager >= 2.3
68python-dateutil >= 2.2
7- # simpleeval version 0.9.2 introduces syntax that is incompatible with Python 2.6.
8- simpleeval >= 0.8.7 , < 0.9.2
9+ simpleeval >= 0.8.7
910six >= 1.9.0
1011update-dotdee >= 5.0
1112verboselogs >= 1.5
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments