Skip to content

Removal of legacy API  #284

@soxofaan

Description

@soxofaan

I'm still in the process of figuring out this issue, so apologies if this is a duplicate or discussed elsewhere.

one of our CI builds started failing with

module 'importlib_resources' has no attribute 'path'

and apparently version 6.0.0 released last week dropped this legacy function and others #80 #282

(Background info about our usage: we're currently on python 3.8 and leverage importlib_resources as workaround for a fix that's only fixed in python 3.10 stdlib importlib.resources: https://bugs.python.org/issue44137. )

If I understand correctly stdlib's importlib.resources.path, is only officially deprecated since python3.11.
So that means that importlib_resources v6.0.0 can not be used as a pure drop-in backport of importlib.resources anymore because of the absence of this deprecated API. Is that intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions