Skip to content

Commit c0bd8b5

Browse files
kurtmckeeBoboTiG
authored andcommitted
Use Tox to specify the [watchmedo] extra
This resolves an error that occurs in CI with new Python software, which doesn't understand the `-e .[watchmedo]` syntax in `requirements-tests.txt`.
1 parent 1ca358b commit c0bd8b5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

requirements-tests.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-e ".[watchmedo]"
21
eventlet
32
flake8
43
flaky

tox.ini

+6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,25 @@ skip_missing_interpreters = True
66
usedevelop = true
77
deps =
88
-r requirements-tests.txt
9+
extras =
10+
watchmedo
911
commands =
1012
python -bb -m pytest {posargs}
1113

1214
[testenv:flake8]
1315
usedevelop = true
1416
deps =
1517
-r requirements-tests.txt
18+
extras =
19+
watchmedo
1620
commands =
1721
python -m flake8 docs tools src tests setup.py
1822

1923
[testenv:docs]
2024
usedevelop = true
2125
deps =
2226
-r requirements-tests.txt
27+
extras =
28+
watchmedo
2329
commands =
2430
sphinx-build -aEWb html docs/source docs/build/html

0 commit comments

Comments
 (0)