You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The current requirement on securesystemslib of >= 0.26.0 will automatically use the latest version of the package. In the latest 1.0.0 version, the CryptoError exception used here in the code base has been removed from the securesystemslib’s latest commit.
To Reproduce
Steps to reproduce the behavior:
Import tufup
Observe the error on securesystemslib, eg. from tufup.client import Client b142df1c\Lib\site-packages\tufup\__init__.py:4: in <module> from tufup.repo import cli b142df1c\Lib\site-packages\tufup\repo\__init__.py:17: in <module> from securesystemslib.exceptions import CryptoError E ImportError: cannot import name 'CryptoError' from 'securesystemslib.exceptions'
Expected behavior
No error on import.
The text was updated successfully, but these errors were encountered:
@wickeat I guess this is related to #133 and should be fixed with the latest version of tufup (v0.8.0).
Could you try that and let us know the result?
EDIT:
This should not be an problem in tufup 0.8.0, because we also pin python-tuf to 4.0.*, which, in turn, pins securesystemslib to 0.32.0, according to the changelog:
...
Constrain securesystemslib dependency to <0.32.0 in preparation for future
securesystemslib API changes
This was verified by installing tufup 0.8.0 in a fresh venv.
The problem will become relevant when we upgrade to tuf 5.0, see #141.
Describe the bug
The current requirement on securesystemslib of >= 0.26.0 will automatically use the latest version of the package. In the latest 1.0.0 version, the CryptoError exception used here in the code base has been removed from the securesystemslib’s latest commit.
To Reproduce
Steps to reproduce the behavior:
from tufup.client import Client b142df1c\Lib\site-packages\tufup\__init__.py:4: in <module> from tufup.repo import cli b142df1c\Lib\site-packages\tufup\repo\__init__.py:17: in <module> from securesystemslib.exceptions import CryptoError E ImportError: cannot import name 'CryptoError' from 'securesystemslib.exceptions'
Expected behavior
No error on import.
The text was updated successfully, but these errors were encountered: