diff --git a/1.13.3.tar.gz b/1.13.3.tar.gz deleted file mode 100644 index 8bb5ae0..0000000 --- a/1.13.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:169a9d4af2df4fa8cd3e5f1d860089c38f4d83f10990bd1089eb2cd56ba4e3ce -size 130735 diff --git a/1.14.1.tar.gz b/1.14.1.tar.gz new file mode 100644 index 0000000..352da11 --- /dev/null +++ b/1.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:866211ed43c2639a2452cd017bd38589e83687b1d843817c96b99d2d9d32e8d7 +size 133767 diff --git a/python-wrapt.changes b/python-wrapt.changes index a1032a5..85a9b7b 100644 --- a/python-wrapt.changes +++ b/python-wrapt.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Oct 1 14:04:50 UTC 2022 - Dirk Müller + +- update to 1.14.1: + * When the post import hooks mechanism was being used, and a Python package with + its own custom module importer was used, importing modules could fail if the + custom module importer didn't use the latest Python import hook finder/loader + APIs and instead used the deprecated API. This was actually occurring with the + `zipimporter` in Python itself, which was not updated to use the newer Python + APIs until Python 3.10. + **Bugs Fixed** + * Python 3.11 dropped ``inspect.formatargspec()`` which was used in creating + signature changing decorators. Now bundling a version of this function + which uses ``Parameter`` and ``Signature`` from ``inspect`` module when + available. The replacement function is exposed as ``wrapt.formatargspec()`` + if need it for your own code. + * When using a decorator on a class, ``isinstance()`` checks wouldn't previously + work as expected and you had to manually use ``Type.__wrapped__`` to access + the real type when doing instance checks. The ``__instancecheck__`` hook is + now implemented such that you don't have to use ``Type.__wrapped__`` instead + of ``Type`` as last argument to ``isinstance()``. + * Eliminated deprecation warnings related to Python module import system, which + would have turned into broken code in Python 3.12. This was used by the post + import hook mechanism. + ------------------------------------------------------------------- Sat Nov 6 18:18:03 UTC 2021 - Dirk Müller diff --git a/python-wrapt.spec b/python-wrapt.spec index 0e5491f..847c0bd 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -1,7 +1,7 @@ # # spec file for package python-wrapt # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wrapt -Version: 1.13.3 +Version: 1.14.1 Release: 0 Summary: A Python module for decorators, wrappers and monkey patching License: BSD-2-Clause