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

Eliminate deprecation warnings on 3.11 #341

Merged
merged 3 commits into from
Dec 13, 2022
Merged

Eliminate deprecation warnings on 3.11 #341

merged 3 commits into from
Dec 13, 2022

Conversation

woodruffw
Copy link
Member

This uses importlib_resources as a "polyfill" on older Python
versions, allowing us to use the new resources.files() APIs.

(These uses will be mostly removed with the TUF work in #25 anyways, but we might as well quash them for the time being.)

Closes #212.

Signed-off-by: William Woodruff william@trailofbits.com

This uses `importlib_resources` as a "polyfill" on older Python
versions, allowing us to use the new `resources.files()` APIs.

Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
@woodruffw woodruffw added refactoring Refactoring tasks. chore labels Dec 13, 2022
@woodruffw woodruffw self-assigned this Dec 13, 2022
Signed-off-by: William Woodruff <william@trailofbits.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore refactoring Refactoring tasks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve ResouceWarning and DeprecationWarning messages for 3.11
2 participants