Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update importlib-metadata to 4.12.0 #710

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates importlib-metadata from 0.18 to 4.12.0.

Changelog

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.

1.5.0

======

* Additional performance optimizations in FastPath now
saves an additional 20% on a typical call.
* Correct for issue where PyOxidizer finder has no
``__module__`` attribute. Closes 110.

1.4.0

======

* Through careful optimization, ``distribution()`` is
3-4x faster. Thanks to Antony Lee for the
contribution. Closes 95.

* When searching through ``sys.path``, if any error
occurs attempting to list a path entry, that entry
is skipped, making the system much more lenient
to errors. Closes 94.

1.3.0

======

* Improve custom finders documentation. Closes 105.

1.2.0

======

* Once again, drop support for Python 3.4. Ref 104.

1.1.3

======

* Restored support for Python 3.4 due to improper version
compatibility declarations in the v1.1.0 and v1.1.1
releases. Closes 104.

1.1.2

======

* Repaired project metadata to correctly declare the
``python_requires`` directive. Closes 103.

1.1.1

======

* Fixed ``repr(EntryPoint)`` on PyPy 3 also. Closes 102.

1.1.0

======

* Dropped support for Python 3.4.
* EntryPoints are now pickleable. Closes 96.
* Fixed ``repr(EntryPoint)`` on PyPy 2. Closes 97.

1.0.0

======

* Project adopts semver for versioning.

* Removed compatibility shim introduced in 0.23.

* For better compatibility with the stdlib implementation and to
avoid the same distributions being discovered by the stdlib and
backport implementations, the backport now disables the
stdlib DistributionFinder during initialization (import time).
Closes 91 and closes 100.

0.23

====
* Added a compatibility shim to prevent failures on beta releases
of Python before the signature changed to accept the
"context" parameter on find_distributions. This workaround
will have a limited lifespan, not to extend beyond release of
Python 3.8 final.

0.22

====
* Renamed ``package`` parameter to ``distribution_name``
as `recommended <https://bugs.python.org/issue34632#msg349423>`_
in the following functions: ``distribution``, ``metadata``,
``version``, ``files``, and ``requires``. This
backward-incompatible change is expected to have little impact
as these functions are assumed to be primarily used with
positional parameters.

0.21

====
* ``importlib.metadata`` now exposes the ``DistributionFinder``
metaclass and references it in the docs for extending the
search algorithm.
* Add ``Distribution.at`` for constructing a Distribution object
from a known metadata directory on the file system. Closes 80.
* Distribution finders now receive a context object that
supplies ``.path`` and ``.name`` properties. This change
introduces a fundamental backward incompatibility for
any projects implementing a ``find_distributions`` method
on a ``MetaPathFinder``. This new layer of abstraction
allows this context to be supplied directly or constructed
on demand and opens the opportunity for a
``find_distributions`` method to solicit additional
context from the caller. Closes 85.

0.20

====
* Clarify in the docs that calls to ``.files`` could return
``None`` when the metadata is not present. Closes 69.
* Return all requirements and not just the first for dist-info
packages. Closes 67.

0.19

====
* Restrain over-eager egg metadata resolution.
* Add support for entry points with colons in the name. Closes 75.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant