Patchy

Latest version: v2.9.0

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

Scan your dependencies

Page 2 of 4

2.4.0

------------------

* Add type hints.

2.3.0

------------------

* Support Python 3.10.

* Stop distributing tests to reduce package size. Tests are not intended to be
run outside of the tox setup in the repository. Repackagers can use GitHub's
tarballs per tag.

2.2.0

------------------

* Drop Python 3.5 support.
* Move license from BSD to MIT License.

2.1.0

------------------

* Support Python 3.9.
* Use Python 3.9's ``pkgutil.resolve_name()``
(`docs <https://docs.python.org/3.9/library/pkgutil.html#pkgutil.resolve_name>`__)
to import names by strings, and depend on the
`backport package <https://pypi.org/project/pkgutil_resolve_name/>`__ on
older Python versions.

2.0.0

------------------

* Drop Python 2 support, only Python 3.5-3.8 is supported now. Python 3.4 was
dropped as it has reached its end of life.
* Converted setuptools metadata to configuration file. This meant removing the
``__version__`` attribute from the package. If you want to inspect the
installed version, use
``importlib.metadata.version("patchy")``
(`docs <https://docs.python.org/3.8/library/importlib.metadata.html#distribution-versions>`__ /
`backport <https://pypi.org/project/importlib-metadata/>`__).

1.5.0

------------------

* Support cases where the function or class name is not in the freevars. This
allows patching ``__init__`` of a class, or patching a recursive module-level
function.
* Support patching objects provided by dotted path string.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.