Skip to content

Commit 0870d53

Browse files
author
Jussi Kukkonen
committed
tox: Fix with-sslib-master install
pip nowadays recognizes that we are asking for two different versions of securesystemslib in the "with-sslib-master" env, and errors out. Instead install normal dependencies first, then install the new securesystemslib separately (this ends up upgrading securesystemslib). Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 66aac38 commit 0870d53

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tox.ini

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ install_command = python3 -m pip install {opts} {packages}
2929
# Develop test env to run tests against securesystemslib's master branch
3030
# Must to be invoked explicitly with, e.g. `tox -e with-sslib-master`
3131
[testenv:with-sslib-master]
32-
deps =
33-
git+https://github.com/secure-systems-lab/securesystemslib.git@master#egg=securesystemslib[crypto,pynacl]
34-
-r{toxinidir}/requirements-test.txt
35-
--editable {toxinidir}
32+
commands_pre =
33+
python3 -m pip install git+https://github.com/secure-systems-lab/securesystemslib.git@master#egg=securesystemslib[crypto,pynacl]
3634

3735
commands =
3836
python3 -m coverage run aggregate_tests.py

0 commit comments

Comments
 (0)