Skip to content

Update importlib-resources to 5.2.0#33

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-importlib-resources-1.4.0-to-5.2.0
Open

Update importlib-resources to 5.2.0#33
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-importlib-resources-1.4.0-to-5.2.0

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates importlib-resources from 1.4.0 to 5.2.0.

Changelog

5.2.0

======

* 80 via 221: Legacy API (``path``, ``contents``, ...)
is now supported entirely by the ``.files()`` API with
a compatibility shim supplied for resource loaders without
that functionality.

5.1.4

======

* 225: Require
`zipp 3.1.0 <https://zipp.readthedocs.io/en/latest/history.html#v3-1-0>`_
or later on Python prior to 3.10 to incorporate those fixes.

5.1.3

======

* Refresh packaging and improve tests.
* 216: Make MultiplexedPath.name a property per the
spec.

5.1.2

======

* Re-release with changes from 5.0.4.

5.1.1

======

* Re-release with changes from 5.0.3.

5.1.0

======

* Added ``simple`` module implementing adapters from
a low-level resource reader interface to a
``TraversableResources`` interface. Closes 90.

5.0.6

======

* bpo-38693: Prefer f-strings to ``.format`` calls.

5.0.5

======

* 216: Make MultiplexedPath.name a property per the
spec.

5.0.4

======

* Fixed non-hermetic test in test_reader, revealed by
GH-24670.

5.0.3

======

* Simplified DegenerateFiles.Path.

5.0.2

======

* 214: Added ``_adapters`` module to ensure that degenerate
``files`` behavior can be made available for legacy loaders
whose resource readers don't implement it. Fixes issue where
backport compatibility module was masking this fallback
behavior only to discover the defect when applying changes to
CPython.

5.0.1

======

* Remove pyinstaller hook for hidden 'trees' module.

5.0.0

======

* Removed ``importlib_resources.trees``, deprecated since 1.3.0.

4.1.1

======

* Fixed badges in README.

4.1.0

======

* 209: Adopt
`jaraco/skeleton <https://github.com/jaraco/skeleton>`_.

* Cleaned up some straggling Python 2 compatibility code.

* Refreshed test zip files without .pyc and .pyo files.

4.0.0

======

* 108: Drop support for Python 2.7. Now requires Python 3.6+.

3.3.1

======

* Minor cleanup.

3.3.0

======

* 107: Drop support for Python 3.5. Now requires Python 2.7 or 3.6+.

3.2.1

======

* 200: Minor fixes and improved tests for namespace package support.

3.2.0

======

* 68: Resources in PEP 420 Namespace packages are now supported.

3.1.1

======

* bpo-41490: ``contents`` is now also more aggressive about
consuming any iterator from the ``Reader``.

3.1.0

======

* 110 and bpo-41490: ``path`` method is more aggressive about
releasing handles to zipfile objects early, enabling use-cases
like ``certifi`` to leave the context open but delete the underlying
zip file.

3.0.0

======

* Package no longer exposes ``importlib_resources.__version__``.
Users that wish to inspect the version of ``importlib_resources``
should instead invoke ``.version('importlib_resources')`` from
``importlib-metadata`` (
`stdlib <https://docs.python.org/3/library/importlib.metadata.html>`_
or `backport <https://pypi.org/project/importlib-metadata>`_)
directly. This change eliminates the dependency on
``importlib_metadata``. Closes 100.
* Package now always includes its data. Closes 93.
* Declare hidden imports for PyInstaller. Closes 101.

2.0.1

======

* Select pathlib and contextlib imports based on Python version
and avoid pulling in deprecated
[pathlib](https://pypi.org/project/pathlib). Closes #97.

2.0.0

======

* Loaders are no longer expected to implement the
``abc.TraversableResources`` interface, but are instead
expected to return ``TraversableResources`` from their
``get_resource_reader`` method.

1.5.0

======

* Traversable is now a Protocol instead of an Abstract Base
Class (Python 2.7 and Python 3.8+).

* Traversable objects now require a ``.name`` property.
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