Skip to content

Commit

Permalink
Merge pull request #2750 from jku/update-securesystemslib-extras
Browse files Browse the repository at this point in the history
Update securesystemslib extras
  • Loading branch information
kairoaraujo authored Jan 6, 2025
2 parents 5dc5cea + 83ec7be commit 3c4fcde
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
7 changes: 3 additions & 4 deletions docs/INSTALLATION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ algorithms, and more performant backends. Opt-in is available via

.. note::

Please consult with underlying crypto backend installation docs --
`cryptography <https://cryptography.io/en/latest/installation/>`_ and
`pynacl <https://pynacl.readthedocs.io/en/latest/install/>`_ --
Please consult with underlying crypto backend installation docs. e.g.
`cryptography <https://cryptography.io/en/latest/installation/>`_
for possible system dependencies.

::

python3 -m pip securesystemslib[crypto,pynacl] tuf
python3 -m pip securesystemslib[crypto] tuf


Install for development
Expand Down
2 changes: 1 addition & 1 deletion requirements/main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
# 'pinned.txt' is updated on GitHub with Dependabot, which
# triggers CI/CD builds to automatically test against updated dependencies.
#
securesystemslib[crypto, pynacl]
securesystemslib[crypto]
requests
32 changes: 23 additions & 9 deletions requirements/pinned.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
certifi==2024.12.14 # via requests
cffi==1.17.1 # via cryptography, pynacl
charset-normalizer==3.4.1 # via requests
cryptography==44.0.0 # via securesystemslib
idna==3.10 # via requests
pycparser==2.22 # via cffi
pynacl==1.5.0 # via securesystemslib
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=requirements/pinned.txt --strip-extras requirements/main.txt
#
certifi==2024.12.14
# via requests
cffi==1.17.1
# via cryptography
charset-normalizer==3.4.1
# via requests
cryptography==44.0.0
# via securesystemslib
idna==3.10
# via requests
pycparser==2.22
# via cffi
requests==2.32.3
securesystemslib[crypto,pynacl]==1.2.0
urllib3==2.3.0 # via requests
# via -r requirements/main.txt
securesystemslib==1.2.0
# via -r requirements/main.txt
urllib3==2.3.0
# via requests
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ allowlist_externals = python3
# Must to be invoked explicitly with, e.g. `tox -e with-sslib-main`
[testenv:with-sslib-main]
commands_pre =
python3 -m pip install --force-reinstall git+https://github.com/secure-systems-lab/securesystemslib.git@main#egg=securesystemslib[crypto,pynacl]
python3 -m pip install --force-reinstall git+https://github.com/secure-systems-lab/securesystemslib.git@main#egg=securesystemslib[crypto]

commands =
python3 -m coverage run aggregate_tests.py
Expand Down

0 comments on commit 3c4fcde

Please sign in to comment.