#297: Fix ValueError when entry points contains comments.
v3.9.0
Use of Mapping (dict) interfaces on SelectableGroups
is now flagged as deprecated. Instead, users are advised
to use the select interface for future compatibility.
Suppress the warning with this filter:
ignore:SelectableGroups dict interface.
Or with this invocation in the Python environment:
warnings.filterwarnings('ignore', 'SelectableGroups dict interface').
Preferably, switch to the select interface introduced
in 3.7.0. See the
entry points documentation <https://importlib-metadata.readthedocs.io/en/latest/using.html#entry-points>_ and changelog for the 3.6
release below for more detail.
For some use-cases, especially those that rely on
importlib.metadata in Python 3.8 and 3.9 or
those relying on older importlib_metadata (especially
on Python 3.5 and earlier),
backports.entry_points_selectable <https://pypi.org/project/backports.entry_points_selectable>_
was created to ease the transition. Please have a look
at that project if simply relying on importlib_metadata 3.6+
is not straightforward. Background in #298.
#283: Entry point parsing no longer relies on ConfigParser
and instead uses a custom, one-pass parser to load the
config, resulting in a ~20% performance improvement when
loading entry points.
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 3.10.1.
Changelog
Sourced from importlib-metadata's changelog.
... (truncated)
Commits
ed2b2c8
Update changelog.5595f2d
Re-use 'suppress' as imported.6f754c2
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181)5ca9bc7
Expand changelog around Distribution.entry_points. Closes #300.69f366c
Add keywords and Description to metadata.b18a7ee
Extend the changelog to reference the backport. Fixes #298.33ea676
Merge pull request #299 from python/feature/unify-parser244fc48
Update changelog.c891d50
Expand and simplify Sectioned doctest.bf6a3b1
Use Pair in other places and extract it to _collections.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)