Closed its-monotype closed 2 years ago
@its-monotype Looks like you're running an old version of python-tuf
.
remove_key
was renamed to revoke_key
in python-tuf 2.0.0
@dennisvang I manually updated tuf but you have some kind of dependency problem...
@its-monotype Not sure where that comes from, but your error message says
tufup 0.4.2 requires tuf==1.1.* ...
However, clearly, that's not true:
I think the best approach is:
tufup
source codevenv
from scratchrequirements.txt
and requirements-dev.txt
@its-monotype By the way, I see your prompt now says tufup-example
.
Is this a tufup
issue or a tufup-example
issue?
The same problem is there and there, when I install tufup, it installs tuf 1.x.x as a dependency and not the 2.x.x.
But is this an issue with tufup
or tufup-example
?
Your first screenshot is from tufup
. The second one is from tufup-example
...
Yep, I understand, I want to say that I think it's tufup package related issue that when you do pip install tufup install as dependency tuf 1.x.x version and not the 2.x.x
The fact that tufup
CI tests on Github all pass indicates that there is no dependency issue there (edit: in the requirements.txt).
I also verified tufup-example
dependencies can be installed without issue in a fresh venv
.
Are you sure you are running the latest version of the original repo, not some fork, and that you've created an all new venv
, without any customized installation steps?
I mean now, for example, I don't clone repo I just do pip install tufup and it installs tuf-1.1.0 as its dependency. Although I'm looking at the tuf repository in requirements.txt, everything is correctly indicated tuf==2.*. But why then does this happen?
@its-monotype Now I understand, and you're absolutely right.
This is quite embarassing: I forgot to update the tuf
version in setup.cfg.
This slipped through the cracks somehow...
Sorry for this. I'll fix it a.s.a.p.
@its-monotype A new release is now available which should fix this issue: 0.4.3
"To get started, create a local example repository by running the
repo_workflow_example.py script."
I run repo_workflow_example and this error appeared