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

Fix deprecation warning due to pkg_resources #2259

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Feb 15, 2023

pkg_resources is deprecated in general and importlib.{resources,metadata} designed to replace it.

Recently, just importing pkg_resources raises a DeprecationWarning.

This also replaces an external dependency with using python's stdlib (or a backport for older versions that do not yet have everything we need)

@maxnoe maxnoe force-pushed the disable_deprecation_warning_error branch from 5134f7f to 2b556df Compare February 15, 2023 16:14
@Tobychev
Copy link
Contributor

Tobychev commented Feb 16, 2023

This just needs a description explaining why the changes are needed (something like an answer to why did this have to be fixed at all) and then I can approve :)

@Tobychev Tobychev self-requested a review February 17, 2023 10:05
@maxnoe maxnoe merged commit 8260264 into main Feb 17, 2023
@maxnoe maxnoe deleted the disable_deprecation_warning_error branch February 17, 2023 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants