Sourced from wrapt's releases.
wrapt-1.17.0
See the project page on the Python Package Index at https://pypi.org/project/wrapt/1.17.0/ for more information.
Sourced from wrapt's changelog.
Version 1.17.0
Note that version 1.17.0 drops support for Python 3.6 and 3.7. Python version 3.8 or later is required.
New Features
Add
__format__()
method toObjectProxy
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.Bugs Fixed
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 not 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 acceptndigits
argument.
e663d49
Merge branch 'release/1.17.0'9f4ce79
Update to version 1.17.0 for release.75f291f
Update for release candidate.1a6b468
Add note about free threading wheel variants.dab7fc2
Try and clear references so GC runs for tests.c13dbf3
Fix up test matrix.23d3111
Attempt to add Python 3.13 no GIL tests under GitHub actions.1594889
Try enabling free threading builds.74d5547
Drop ReadTheDocs badge due to twine rendering issues.c91f60c
Explicitly specify name of README file so twine works.