Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add blurb
  • Loading branch information
jaraco committed Apr 17, 2023
commit 89561ce63cb054ea1daf178a3cc9b3d2f1b840d4
Original file line number Diff line number Diff line change
@@ -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``.