Skip to content

Commit

Permalink
Add blurb
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 16, 2023
1 parent 994c91e commit edd7e34
Showing 1 changed file with 12 additions and 0 deletions.
@@ -0,0 +1,12 @@
Updated ``importlib.metadata`` with changes from ``importlib_metadata`` 5.2
through 6.4.1, including: Support ``installed-files.txt`` for
``Distribution.files`` when present. ``PackageMetadata`` now stipulates an
additional ``get`` method allowing for easy querying of metadata keys that
may not be present. ``packages_distributions`` now honors packages and
modules with Python modules that not ``.py`` sources (e.g. ``.pyc``,
``.so``). Expand protocol for ``PackageMetadata.get_all`` to match the
upstream implementation of ``email.message.Message.get_all`` in
python/typeshed#9620. Declared ``Distribution`` as an abstract class,
enforcing definition of abstract methods in instantiated subclasses.
Deprecated expectation that ``PackageMetadata.__getitem__`` will return
``None`` for missing keys. In the future, it will raise a ``KeyError``.

0 comments on commit edd7e34

Please sign in to comment.