Skip to content

differences in behavior with pkg_resources' Entrypoint.load #368

@benoit-pierre

Description

@benoit-pierre

importlib_metadata implementation of Entrypoint.load does not check the requirements of the entrypoint's distribution, unlike pkg_resources (which raises DistributionNotFound if a requirement is missing, or ContextualVersionConflict in case of conflict). If this is expected, then that difference should at least be mentioned in the documentation, since importlib_metadata presents itself as a replacement for pkg_resources' API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions