Importlib-metadata

Latest version: v8.5.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2.0.0

======

* ``importlib_metadata`` no longer presents a
``__version__`` attribute. Consumers wishing to
resolve the version of the package should query it
directly with
``importlib_metadata.version('importlib-metadata')``.
Closes 71.

1.7.0

======

* ``PathNotFoundError`` now has a custom ``__str__``
mentioning "package metadata" being missing to help
guide users to the cause when the package is installed
but no metadata is present. Closes 124.

1.6.1

======

* Added ``Distribution._local()`` as a provisional
demonstration of how to load metadata for a local
package. Implicitly requires that
`pep517 <https://pypi.org/project/pep517>`_ is
installed. Ref 42.
* Ensure inputs to FastPath are Unicode. Closes 121.
* Tests now rely on ``importlib.resources.files`` (and
backport) instead of the older ``path`` function.
* Support any iterable from ``find_distributions``.
Closes 122.

1.6.0

======

* Added ``module`` and ``attr`` attributes to ``EntryPoint``

1.5.2

======

* Fix redundant entries from ``FastPath.zip_children``.
Closes 117.

1.5.1

======

* Improve reliability and consistency of compatibility
imports for contextlib and pathlib when running tests.
Closes 116.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.