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_distributions
to conveniently resolve a top-level package or module to its distribution(s).v3.6.0
#284: Introduces new
EntryPoints
object, a tuple ofEntryPoint
objects but with convenience properties for selecting and inspecting the results:
.select()
acceptsgroup
orname
keyword parameters and returns a newEntryPoints
tuple with only those that match the selection..groups
property presents all of the group names..names
property presents the names of the entry points.- Item access (e.g.
eps[name]
) retrieves a single entry point by name.
entry_points
now accepts "selection parameters", same asEntryPoint.select()
.
entry_points()
now provides a future-compatibleSelectableGroups
object that supplies the above interface but remains a dict for compatibility.In the future,
entry_points()
will return anEntryPoints
object, 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 anEntryPoints
is 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_points
now only returns entry points for unique distributions (by name).
Commits
-
aa9f799
Merge pull request #287 from python/feature/packages-distributions -
466cd3c
Add 'packages_distributions'. Fixes #131. -
73cf0a9
Merge pull request #278 from python/feature/entry-points-by-group-and-name -
bdce7ef
Merge branch 'main' into feature/entry-points-by-group-and-name -
dd8da47
Leverage EntryPoints interfaces in SelectableGroups -
2def046
Address coverage misses, ignored for LegacyGroupedEntryPoints. -
2db4dad
Introduce SelectableGroups, created for the 3.x line to provide forward compa... -
d6f7c20
Add docstrings to the compatibility shim. Give primacy to group lookup in com... -
9d55a33
Separate compatibility shim from canonical EntryPoints container. -
e3d1b93
Update changelog. - Additional commits viewable in compare view