Skip to content

Commit 20e0738

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

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- env: TOXENV=pypy3-xdist
4343
python: 'pypy3'
4444

45-
- env: TOXENV=py35-xdist
45+
- env: TOXENV=py35-oldattrs-xdist
4646
python: '3.5'
4747

4848
# 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)