Skip to content

Use of deprecated importlib.resources.path #190

Closed

Description

@scop

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.

Activity

  1. sigmavirus24 commented on Mar 12, 2022

    @sigmavirus24
    Member

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

  2. scop commented on Mar 12, 2022

    @scop
    Author

    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.

  3. locked as resolved and limited conversation to collaborators on Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions