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 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.
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 accept ndigits
argument.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2024-5f674bb2bd
Please login to add feedback.
This update has been submitted for testing by music.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'waiting'.
music edited this update.
This update's test gating status has been changed to 'passed'.
This update has been pushed to testing.
This update's test gating status has been changed to 'ignored'.
This update's test gating status has been changed to 'passed'.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
This update has been pushed to stable.