Skip to content

Commit 5db7e2d

Browse files
author
Jussi Kukkonen
committed
tox: Workaround double dep in with-sslib-master
Commit eb00d14 modified requirements-pinned.txt so that sslib specifiers are now "[crypto,pynacl]". This happens to match the exact specifiers used for the sslib git master dependency in tox.ini. This triggers pip to say: ERROR: Double requirement given: securesystemslib[crypto,pynacl]==0.16.0 (from -r /home/jku/src/tuf/requirements-pinned.txt (line 12)) (already in securesystemslib[crypto,pynacl] from git+http://github.com/secure-systems-lab/securesystemslib.git@master#egg=securesystemslib[crypto,pynacl], name='securesystemslib') Avoid this by not setting any specifiers for the sslib git master dependency in tox.ini: This makes pip happy and we get the git master version installed. pynacl and crypto are still installed because they are in requirements-pinned.txt. Fixes #1184. Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
1 parent bbcff07 commit 5db7e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ install_command = pip install --pre {opts} {packages}
3030
# Must to be invoked explicitly with, e.g. `tox -e with-sslib-master`
3131
[testenv:with-sslib-master]
3232
deps =
33-
--editable git+http://github.com/secure-systems-lab/securesystemslib.git@master#egg=securesystemslib[crypto,pynacl]
33+
--editable git+http://github.com/secure-systems-lab/securesystemslib.git@master#egg=securesystemslib
3434
-r{toxinidir}/requirements-test.txt
3535
--editable {toxinidir}
3636

0 commit comments

Comments
 (0)