File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ Updated ``importlib.metadata `` with changes from ``importlib_metadata `` 5.2
2
+ through 6.4.1, including: Support ``installed-files.txt `` for
3
+ ``Distribution.files `` when present. ``PackageMetadata `` now stipulates an
4
+ additional ``get `` method allowing for easy querying of metadata keys that
5
+ may not be present. ``packages_distributions `` now honors packages and
6
+ modules with Python modules that not ``.py `` sources (e.g. ``.pyc ``,
7
+ ``.so ``). Expand protocol for ``PackageMetadata.get_all `` to match the
8
+ upstream implementation of ``email.message.Message.get_all `` in
9
+ python/typeshed#9620. Declared ``Distribution `` as an abstract class,
10
+ enforcing definition of abstract methods in instantiated subclasses.
11
+ Deprecated expectation that ``PackageMetadata.__getitem__ `` will return
12
+ ``None `` for missing keys. In the future, it will raise a ``KeyError ``.
You can’t perform that action at this time.
0 commit comments