Skip to content

epath depends on backport package importlib_resources #740

@johannbrehmer

Description

@johannbrehmer

etils.epath depends on the importlib_resources library here.

importlib_resources is a backport library of the standard library importlib.resources for python<3.9. If I'm not mistaken, in all Python versions supported by etils, that's no longer necessary; instead one should just use the standard library importlib.resources.

I believe the current code leads to issues with some packaging tools like pex, which are "smart" about not installing backport packages. This makes it difficult to use etils with such tools.

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