Skip to content

Commit b0fd874

Browse files
committed
ci: test oldest supported attrs
1 parent 8c9ea5e commit b0fd874

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ jobs:
4949
# - pytester's LsofFdLeakChecker
5050
# - TestArgComplete (linux only)
5151
# - numpy
52+
# - old attrs
5253
# Empty PYTEST_ADDOPTS to run this non-verbose.
53-
- env: TOXENV=py37-lsof-numpy-twisted-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
54+
- env: TOXENV=py37-lsof-oldattrs-numpy-twisted-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
5455

5556
# Specialized factors for py37.
5657
# Coverage for:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
INSTALL_REQUIRES = [
66
"py>=1.5.0",
77
"packaging",
8-
"attrs>=17.4.0",
8+
"attrs>=17.4.0", # should match oldattrs tox env.
99
"more-itertools>=4.0.0",
1010
"atomicwrites>=1.0",
1111
'pathlib2>=2.2.0;python_version<"3.6"',

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ setenv =
4141
xdist: _PYTEST_TOX_POSARGS_XDIST=-n auto
4242
extras = testing
4343
deps =
44+
oldattrs: attrs==17.4.0
45+
oldattrs: hypothesis<=4.38.1
4446
numpy: numpy
4547
pexpect: pexpect
4648
pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master

0 commit comments

Comments
 (0)