Repository navigation
chore(deps): update dependency decorator to v5.3.2 - #96
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Coverage Report for CI Build 44937200552Coverage remained the same at 27.981%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
renovate
Bot
force-pushed
the
renovate/decorator-5.x
branch
from
November 21, 2026 18:44
55baf10 to
e33aed5
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
==5.1.1→==5.3.2Release Notes
micheles/decorator (decorator)
v5.3.2Compare Source
Added official support for Python 3.15.
Preserved each layer of
__wrapped__when stacking decorators or wrappingan already decorated caller (contributed by Jake Wang).
Fixed
FunctionMaker.createraising aSyntaxErrorwhen the signaturestring contains a return annotation, e.g.
create("f(a) -> int", "return a")(contributed by Apoorv Darshan).Generator functions decorated with a generator caller now return the
value returned by the caller, instead of always returning
None(contributed by Huanyi Xie).
Fixed
dispatch_onraisingStopIterationwhen called with anunregistered
object()instance: now the default implementation iscalled (contributed by Muneeb Sheikh).
Corrected the return types of
getfullargspecandinspect_sigin thestub file (contributed by Huanyi Xie).
Added homepage and repository links to the package metadata (contributed
by the GitHub user Sinkleberg).
Fixed
dispatch_onraising aTypeErrorwhen an implementation isregistered for a virtual ancestor of a type that cannot be subclassed,
like
range,memoryvieworbool, or of an enum (reported byRajatendu Dey). Also fixed
dispatch_onraising aTypeErrorwhen aclass is passed as a dispatch argument.
Decorating a
functools.partialno longer alters the original partial(adding
__wrapped__and changing its signature), so decorating the samepartial twice no longer rejects valid calls (contributed by Gabriel
Demetrios Lafis).
FunctionMakernow preserves positional-only parameters, so functionsdecorated with
decoratorxor generated bydispatch_onrejectpositional-only arguments passed by name, and accept keyword arguments
with the same name in
**kwargs(contributed by Gabriel Demetrios Lafis).getfullargspec, now reimplemented on top ofinspect.signature, does notfollow
__wrapped__, likeinspect.getfullargspec, sodecoratorxanddispatch_onkeep working with functions decorated byfunctools.wraps(contributed by Tejesh Vaish).
In Python 3.14+
FunctionMakercopies the deferred annotations of theoriginal function without evaluating them, so
decoratorxanddispatch_onwork with annotations referring to names imported onlyunder
TYPE_CHECKING(issue #177, reported by the GitHub userbersbersbers and fixed by Mayank Dhingra).
v5.3.1Compare Source
Added license SPDX identifier to pyproject.toml (reported by
Christian Lackas).
v5.3.0Compare Source
Added official support for Python 3.14 (thanks to Hugo van Kemenade,
David Cain and the GitHub user bersbersbers).
Fixed a bug with "return await" contributed by Kadir Can Ozden.
Moved decorator.py to a package structure (
decorator/__init__.py) andadded a stub file (
decorator/__init__.pyi) contributed by Marco Gorelli.v5.2.1Compare Source
Shiv Krishna Jaiswal suggested how to manage che case of functions
without
__name__.Michał Górny contributed a fix for the generation of the source package.
v5.2.0Compare 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.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.