Skip to content

Commit 28f12c9

Browse files
bpo-44246: Update What's New for importlib.metadata. (#26408)
* bpo-44246: Update What's New for importlib.metadata. Bump version of importlib_metadata included. Add note about compatibility notice and fix link to entry_points documentation. Add note about removal of access by index on Distribution.entry_points. * Fix syntax mistake in issue reference. Co-authored-by: Ken Jin <[email protected]> * Fix broken reference in entry-points. Co-authored-by: Ken Jin <[email protected]>
1 parent e90e042 commit 28f12c9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,11 +1039,17 @@ and will be incorrect in some rare cases, including some ``_``-s in
10391039
importlib.metadata
10401040
------------------
10411041
1042-
Feature parity with ``importlib_metadata`` 3.7.
1042+
Feature parity with ``importlib_metadata`` 4.2
1043+
(`history <https://importlib-metadata.readthedocs.io/en/latest/history.html>`_).
10431044
1044-
:func:`importlib.metadata.entry_points` now provides a nicer experience
1045+
:ref:`importlib.metadata entry points <entry-points>`
1046+
now provides a nicer experience
10451047
for selecting entry points by group and name through a new
1046-
:class:`importlib.metadata.EntryPoints` class.
1048+
:class:`importlib.metadata.EntryPoints` class. See the Compatibility
1049+
Note in the docs for more info on the deprecation and usage.
1050+
Incidentally, these changes also removed access by index on the
1051+
result of :func:`importlib.metadata.Distribution.entry_points`
1052+
(see :issue:`44246` for more detail).
10471053
10481054
Added :func:`importlib.metadata.packages_distributions` for resolving
10491055
top-level Python modules and packages to their

0 commit comments

Comments
 (0)