Skip to content

Commit d196fdb

Browse files
committed
Finalize
1 parent 5d253ae commit d196fdb

5 files changed

Lines changed: 33 additions & 20 deletions

File tree

‎NEWS.rst‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
v10.1.0
2+
=======
3+
4+
Features
5+
--------
6+
7+
- Detecting whether a distribution supplies metadata no longer reads or parses
8+
that metadata where the metadata directory can be inspected instead, so
9+
retrieving a distribution by name, which prefers the valid candidates, is
10+
substantially faster.
11+
- Reverted the preference for the greater metadata directory added in v9.1.0.
12+
The ordering was lexicographic on the directory name and not on the parsed
13+
version, so it only approximated a preference for the newer version. Where a
14+
path supplies more than one metadata directory for a distribution, discovery
15+
once again reports them in the order the path supplies
16+
(python/cpython#100666).
17+
18+
19+
Bugfixes
20+
--------
21+
22+
- ``entry_points()`` now prefers distributions whose metadata is readable, so
23+
an empty metadata directory left behind by an unclean upgrade no longer
24+
shadows the valid one of the same name and suppresses its entry points.
25+
Invalid distributions are deferred to the end of the enumeration rather than
26+
dropped. (#534)
27+
- The preference for valid distributions no longer propagates the
28+
``MetadataNotFound`` of a distribution that a provider derived from
29+
``importlib.metadata``, whose exception is a different class from this
30+
package's and so escaped the preference rather than marking the distribution
31+
invalid.
32+
33+
134
v10.0.0
235
=======
336

‎newsfragments/+foreign-metadata-not-found.bugfix.rst‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎newsfragments/+has-metadata.feature.rst‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎newsfragments/+revert-prefer-greater-version.feature.rst‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎newsfragments/534.bugfix.rst‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)