From 6ab6e1f8b17d84ceb454d9fb06bd3377efdbecb7d8ea0dec43dffbd9725d0bc5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 16 Mar 2020 11:02:48 +0000 Subject: [PATCH] - update to 1.12.1: * Applying a function wrapper to a static method of a class using the ``wrap_function_wrapper()`` function, or wrapper for the same, wasn't being done correctly when the static method was the immediate child of the target object. It was working when the name path had multiple name components. A failure would subsequently occur when the static method was called via an instance of the class, rather than the class. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=21 --- 1.12.0.tar.gz | 3 --- 1.12.1.tar.gz | 3 +++ python-wrapt.changes | 11 +++++++++++ python-wrapt.spec | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 1.12.0.tar.gz create mode 100644 1.12.1.tar.gz diff --git a/1.12.0.tar.gz b/1.12.0.tar.gz deleted file mode 100644 index 425496e..0000000 --- a/1.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20c59b776f3f540fb182930b0f32657f459d5e431577d1345cedeed5f046dd63 -size 126524 diff --git a/1.12.1.tar.gz b/1.12.1.tar.gz new file mode 100644 index 0000000..94b5984 --- /dev/null +++ b/1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19f2043e05b76ce9b68971b387bfd8eed50c2ee1c9c0bd230edc422fec753917 +size 126750 diff --git a/python-wrapt.changes b/python-wrapt.changes index dc03d4f..06d9692 100644 --- a/python-wrapt.changes +++ b/python-wrapt.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Mar 16 11:01:55 UTC 2020 - Dirk Mueller + +- update to 1.12.1: + * Applying a function wrapper to a static method of a class using the + ``wrap_function_wrapper()`` function, or wrapper for the same, wasn't + being done correctly when the static method was the immediate child of + the target object. It was working when the name path had multiple name + components. A failure would subsequently occur when the static method + was called via an instance of the class, rather than the class. + ------------------------------------------------------------------- Mon Mar 9 16:25:43 UTC 2020 - Dirk Mueller diff --git a/python-wrapt.spec b/python-wrapt.spec index b74f40f..958e328 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wrapt -Version: 1.12.0 +Version: 1.12.1 Release: 0 Summary: A Python module for decorators, wrappers and monkey patching License: BSD-2-Clause