diff mbox series

[meta-python,2/5] python3-wrapt: Upgrade 1.17.0rc1 -> 1.17.0

Message ID 20241128103858.4052195-2-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/5] python3-portion: Upgrade 2.5.0 -> 2.6.0 | expand

Commit Message

Leon Anavi Nov. 28, 2024, 10:38 a.m. UTC
Upgrade to stable version 1.17.0:

- Add __format__() method to ObjectProxy class to allow formatting
  of wrapped object.
- Added C extension internal flag to indicate that wrapt should be
  safe for Python 3.13 free threading mode. Releases will include
  free threading variants of Python wheels. Note that as free
  threading is new, one should be cautious about using it in
  production until it has been more widely tested.
- When a normal function or builtin function which had
  wrapt.decorator or a function wrapper applied, was assigned as a
  class attribute, and the function attribute called via the class
  or an instance of the class, an additional argument was being
  passed, inserted as the first argument, which was the class or
  instance. This was not the correct behaviour and the class or
  instance should not have been passed as the first argument.
- When an instance of a callable class object was wrapped which
  didn't have a __get__() method for binding, and it was
  called in context whhere binding would be attempted, it would
  fail with error that __get__() did not exist when instead it
  should have been called directly, ignoring that binding was not
  possible.
- The __round__ hook for the object proxy didn't accept ndigits
  argument.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-wrapt_1.17.0rc1.bb => python3-wrapt_1.17.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-wrapt_1.17.0rc1.bb => python3-wrapt_1.17.0.bb} (94%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0rc1.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
similarity index 94%
rename from meta-python/recipes-devtools/python/python3-wrapt_1.17.0rc1.bb
rename to meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
index 636d677555..b72bafb6de 100644
--- a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0rc1.bb
+++ b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
@@ -8,7 +8,7 @@  SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06
 
 inherit setuptools3 ptest
 
-SRCREV = "75f291f8bf1fe6535b13b0b3dfedca012ca6c8a5"
+SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b"
 SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \
 	file://run-ptest \
 "