Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interop tests use deprecated python-tuf code #221

Closed
jku opened this issue Feb 11, 2022 · 3 comments · Fixed by #228
Closed

interop tests use deprecated python-tuf code #221

jku opened this issue Feb 11, 2022 · 3 comments · Fixed by #228
Assignees
Labels
python Pull requests that update Python code tests

Comments

@jku
Copy link
Member

jku commented Feb 11, 2022

client/python_interop uses the legacy python-tuf client code (the generate.py script also uses legacy repository_tool). python-tuf has recently removed the legacy code from git, and the next release will not contain it anymore.

Updating to new client should be straight forward: There's an example client that might be what you need (https://github.com/theupdateframework/python-tuf/tree/develop/examples/client_example) -- I admit I did not fully find out what the test does.

Updating generate.py might be a bit more work (in the sense that there is no repository_tool API anymore) but amount of code should not be any worse using the low level Metadata API, see https://github.com/theupdateframework/python-tuf/tree/develop/examples/repo_example/basic_repo.py

python-tuf devs are obviously available for advice.

@znewman01
Copy link
Contributor

I can probably take this next week.

@znewman01
Copy link
Contributor

Oops, looks like promising this week was overly ambitious, but I should have time next week (week of Feb 21)

@znewman01
Copy link
Contributor

Ahh, okay update here: this got blocked on #232.

@znewman01 znewman01 added the python Pull requests that update Python code label Jun 9, 2022
Repository owner moved this from 🏗 In progress to ✅ Done in [go-tuf] Project planning - v0.6.0 (Target: 2022-11-30) Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code tests
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants