Skip to content

Replacement for pkg_resources #249

Closed
@jbylund

Description

@jbylund

pkg_resources is now deprecated in favor of importlib.metadata / importlib_metadata (source). Right now it causes warnings and in the future (3.12?) I think it will stop working entirely. I saw there was a related pr but it was using importlib.metadata which apparently has different behaviors on some versions of python and caused issues for some users (ref). Maybe it would be acceptable to use importlib_metadata (the backport) either on all versions of python or only when necessary.

Metadata

Metadata

Assignees

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