From 8abbe278cb4a7f1dc3d0dd4865261db8b1032498a35e89b9803adf8da089e5b1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 May 2023 20:46:16 +0000 Subject: [PATCH] - update to 1.15.0: * When the C extension for wrapt was being used, and a property was used on an object proxy wrapping another object to intercept access to an attribute of the same name on the wrapped object, if the function implementing the property raised an exception, then the exception was ignored and not propagated back to the caller. * Address issue where the post import hook mechanism of wrapt wasn't transparent and left the __loader__ and __spec__.loader attributes of a module as the wrapt import hook loader and not the original loader. * Address issues where a thread deadlock could occur within the wrapt module import handler, when code executed from a post import hook created a new thread and code executed in the context of the new thread itself tried to register a post import hook, or imported a new module. * When using ``CallableObjectProxy`` as a wrapper for a type or function and calling the wrapped object, it was not possible to pass a keyword argument named ``self``. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=33 --- 1.14.1.tar.gz | 3 --- 1.15.0.tar.gz | 3 +++ python-wrapt.changes | 23 +++++++++++++++++++++++ python-wrapt.spec | 2 +- 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 1.14.1.tar.gz create mode 100644 1.15.0.tar.gz diff --git a/1.14.1.tar.gz b/1.14.1.tar.gz deleted file mode 100644 index 352da11..0000000 --- a/1.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:866211ed43c2639a2452cd017bd38589e83687b1d843817c96b99d2d9d32e8d7 -size 133767 diff --git a/1.15.0.tar.gz b/1.15.0.tar.gz new file mode 100644 index 0000000..426171b --- /dev/null +++ b/1.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09491f2d38754d96544c77ecf7ce205f0986dd61398642c24810302f341fd485 +size 137402 diff --git a/python-wrapt.changes b/python-wrapt.changes index 8b444da..41bbbcc 100644 --- a/python-wrapt.changes +++ b/python-wrapt.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu May 4 20:43:27 UTC 2023 - Dirk Müller + +- update to 1.15.0: + * When the C extension for wrapt was being used, and a property + was used on an object proxy wrapping another object to intercept + access to an attribute of the same name on the wrapped object, + if the function implementing the property + raised an exception, then the exception was ignored and not + propagated back to the caller. + * Address issue where the post import hook mechanism of wrapt + wasn't transparent and left the __loader__ and __spec__.loader + attributes of a module as the wrapt import hook loader and + not the original loader. + * Address issues where a thread deadlock could occur within the + wrapt module import handler, when code executed from a post + import hook created a new thread and code executed in the + context of the new thread itself tried to register a post + import hook, or imported a new module. + * When using ``CallableObjectProxy`` as a wrapper for a type or + function and calling the wrapped object, it was not possible + to pass a keyword argument named ``self``. + ------------------------------------------------------------------- Fri Apr 21 12:38:55 UTC 2023 - Dirk Müller diff --git a/python-wrapt.spec b/python-wrapt.spec index cd496f1..380ddb7 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-wrapt -Version: 1.14.1 +Version: 1.15.0 Release: 0 Summary: A Python module for decorators, wrappers and monkey patching License: BSD-2-Clause