Skip to content

Commit 69a57d9

Browse files
committed
change tox compatibility installs to install extras rather than installing dependencies directly
1 parent 93bb9a7 commit 69a57d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ commands =
1111
py.test --cov-report term-missing --cov jose {posargs}
1212

1313
[testenv:compatibility]
14-
deps =
14+
extras =
1515
cryptography
16-
pycrypto >=2.6.0, <2.7.0
17-
pycryptodome >=3.3.1, <4.0.0
16+
pycrypto
17+
pycryptodome
1818

1919
[testenv]
2020
deps =
2121
pytest
2222
pytest-cov
2323
pytest-runner
24-
compatibility: {[testenv:compatibility]deps}
2524
commands_pre =
2625
# Remove the python-rsa and python-ecdsa backends
2726
only: pip uninstall -y ecdsa rsa
@@ -42,6 +41,7 @@ extras =
4241
cryptography: cryptography
4342
pycryptodome: pycryptodome
4443
pycrypto: pycrypto
44+
compatibility: {[testenv:compatibility]extras}
4545

4646
; [testenv:flake8]
4747
; commands = flake8 jose

0 commit comments

Comments
 (0)