Importlib-resources

Latest version: v6.5.2

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

Scan your dependencies

Page 7 of 14

5.3.0

======

* 80: Now raise a ``DeprecationWarning`` for all legacy
functions. Instead, users should rely on the ``files()``
API introduced in importlib_resources 1.3. See
`Migrating from Legacy <https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
for guidance on avoiding the deprecated functions.

5.2.3

======

* Updated readme to reflect current behavior and show
which versions correspond to which behavior in CPython.

5.2.2

======

* 234: Fix refleak in ``as_file`` caught by CPython tests.

5.2.1

======

* bpo-38291: Avoid DeprecationWarning on ``typing.io``.

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.

Page 7 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.