Bump importlib-metadata from 3.4.0 to 3.7.0
Bumps importlib-metadata from 3.4.0 to 3.7.0.
Changelog
Sourced from importlib-metadata's changelog.
v3.7.0
- #131: Added
packages_distributionsto conveniently resolve a top-level package or module to its distribution(s).v3.6.0
#284: Introduces new
EntryPointsobject, a tuple ofEntryPointobjects but with convenience properties for selecting and inspecting the results:
.select()acceptsgroupornamekeyword parameters and returns a newEntryPointstuple with only those that match the selection..groupsproperty presents all of the group names..namesproperty presents the names of the entry points.- Item access (e.g.
eps[name]) retrieves a single entry point by name.
entry_pointsnow accepts "selection parameters", same asEntryPoint.select().
entry_points()now provides a future-compatibleSelectableGroupsobject that supplies the above interface but remains a dict for compatibility.In the future,
entry_points()will return anEntryPointsobject, but provide for backward compatibility with a deprecated__getitem__accessor by group and aget()method.If passing selection parameters to
entry_points, the future behavior is invoked and anEntryPointsis the result.Construction of entry points using
dict([EntryPoint, ...])is now deprecated and raises an appropriate DeprecationWarning and will be removed in a future version.v3.5.0
- #280:
entry_pointsnow only returns entry points for unique distributions (by name).
Commits
-
aa9f799Merge pull request #287 from python/feature/packages-distributions -
466cd3cAdd 'packages_distributions'. Fixes #131. -
73cf0a9Merge pull request #278 from python/feature/entry-points-by-group-and-name -
bdce7efMerge branch 'main' into feature/entry-points-by-group-and-name -
dd8da47Leverage EntryPoints interfaces in SelectableGroups -
2def046Address coverage misses, ignored for LegacyGroupedEntryPoints. -
2db4dadIntroduce SelectableGroups, created for the 3.x line to provide forward compa... -
d6f7c20Add docstrings to the compatibility shim. Give primacy to group lookup in com... -
9d55a33Separate compatibility shim from canonical EntryPoints container. -
e3d1b93Update changelog. - Additional commits viewable in compare view