Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.4.2
->==5.2.0
Release Notes
micheles/decorator (decorator)
v5.2.0
Compare Source
Changed the build procedure to use pyproject.toml and moved the tests
outside of the generated wheel/tarball.
Added official support for Python 3.11, 3.12, 3.13 (thanks to Hugo van
Kemenade).
Dropped official support for Python < 3.8: the module is
expected to work on older Python versions, but I cannot test such
versions on GitHub actions, so I cannot claim that it is officially
supported.
Dafu Wu provided support for decorating partial functions, i.e.
functions wrapped by functools.partial.
v5.1.1
Sangwoo Shim contributed a fix so that cythonized functions can be decorated.
Brian McFee pointed out an issue in the
decorator_apply
example andWim Glenn pointed out that the "fix" in version 5.1 broke
decorator.contextmanager
even more. Both issues are now solved.v5.1.0
Added a function
decoratorx
using theFunctionMaker
and thuspreserving the signature of
__code__
objects. Then fixed three small bugs:signaled by Tomasz Kłoczko
decorator.contextmanager
were one-shot,as discovered by Alex Pizarro.
decorator.decorator
was not passing the kwsyntax argument.v5.0.9
Compare Source
Fixed a test breaking PyPy. Restored support for Sphinx.
v5.0.8
Compare Source
Made the decorator module more robust when decorating builtin functions
lacking dunder attributes, like
dict.__setitem__
.v5.0.7
Compare Source
The decorator module was not passing correctly the defaults inside the
*args
tuple, thanks to Dan Shult for the fix. Also fixed some misspellingsin the documentation and integrated codespell in the CI, thanks to
Christian Clauss.
v5.0.6
Compare Source
The decorator module was not copying the module attribute anymore.
Thanks to Nikolay Markov for the notice.
v5.0.5
Compare Source
Dropped support for Python < 3.5 with a substantial simplification of
the code base (now building a decorator does not require calling "exec").
Added a way to mimic functools.wraps-generated decorators.
Ported the Continuous Integration from Travis to GitHub.
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.