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

Use of deprecated importlib.resources.path #190

Closed
scop opened this issue Mar 12, 2022 · 2 comments
Closed

Use of deprecated importlib.resources.path #190

scop opened this issue Mar 12, 2022 · 2 comments

Comments

@scop
Copy link

scop commented Mar 12, 2022

certifi.core uses importlib.resources.path, which is deprecated in importlib_resources 5.3.0 and thus in Python 3.11, triggering a warning where enabled.

Seems the least intrusive fix that keeps backwards compatibility would be to add another where() implementation that uses the importlib.resources files() API. Can understand if this feels a bit much at the moment, but if for nothing else, FFR.

@sigmavirus24
Copy link
Member

In the future, please search closed and open issues before creating new ones that are duplicates.

@scop
Copy link
Author

scop commented Mar 12, 2022

Considering the number of times this is repeatedly reported, I think it would be a good idea to pin one of these to make it prominently visible, like #132 and #72 already are.

Also, if an issue like this would be reported against a project in which I'm involved, I'd keep it open -- it is an unresolved issue after all, even though there is no immediate intent to do anything about it; it's not going to go away/solve itself/by some 3rd party action automatically.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants