#300: Restore compatibility in the result from
Distribution.entry_points (EntryPoints) to honor
expectations in older implementations and issuing
deprecation warnings for these cases:
EntryPoints objects are once again mutable, allowing
for sort() and other list-based mutation operations.
Avoid deprecation warnings by casting to a
mutable sequence (e.g.
list(dist.entry_points).sort()).
EntryPoints results once again allow
for access by index. To avoid deprecation warnings,
cast the result to a Sequence first
(e.g. tuple(dist.entry_points)[0]).
v4.3.1
#320: Fix issue where normalized name for eggs was
incorrectly solicited, leading to metadata being
unavailable for eggs.
v4.3.0
#317: De-duplication of distributions no longer requires
loading the full metadata for PathDistribution objects,
entry point loading performance by ~10x.
v4.2.0
Prefer f-strings to .format calls.
v4.1.0
#312: Add support for metadata 2.2 (Dynamic field).
#315: Add SimplePath protocol for interface clarity
in PathDistribution.
v4.0.1
#306: Clearer guidance about compatibility in readme.
... (truncated)
Commits
5fb7029 Merge pull request #323 from python/bugfix/300-entry-points-by-index
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps importlib-metadata from 1.7.0 to 4.4.0.
Changelog
Sourced from importlib-metadata's changelog.
... (truncated)
Commits
5fb7029
Merge pull request #323 from python/bugfix/300-entry-points-by-index7afc501
Update changelog.8214dd1
Implement EntryPoints as a DeprecatedList, deprecating mutability of Distribu...a8c70ee
Add compatibility handler for accessing EntryPoints by index. Fixes #300.8535856
Add test capturing missed expectation. Ref #300.f794723
Remove importlib_metadata as imported by pytest. Fixes #322.ea72278
In PathDistribution, only resolve normalized names for non-legacy (non-egg) p...7f2f09a
Add a test to ensure the normalized name of an egg is reported correctly. Ref...25e1d31
Cpython is synced with 4.2e9f70d2
Merge pull request #317 from python/feature/faster-entry-pointsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)