Skip to content

chore(deps): update dependency decorator to v5.3.2 - #24

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/decorator-5.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/decorator-5.x

Conversation

@renovate

@renovate renovate Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
decorator ==5.1.1 → ==5.3.2 age adoption passing confidence

Release Notes

micheles/decorator (decorator)

v5.3.2

Compare Source

Added official support for Python 3.15.

Preserved each layer of __wrapped__ when stacking decorators or wrapping
an already decorated caller (contributed by Jake Wang).

Fixed FunctionMaker.create raising a SyntaxError when the signature
string 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_on raising StopIteration when called with an
unregistered object() instance: now the default implementation is
called (contributed by Muneeb Sheikh).

Corrected the return types of getfullargspec and inspect_sig in the
stub file (contributed by Huanyi Xie).

Added homepage and repository links to the package metadata (contributed
by the GitHub user Sinkleberg).

Fixed dispatch_on raising a TypeError when an implementation is
registered for a virtual ancestor of a type that cannot be subclassed,
like range, memoryview or bool, or of an enum (reported by
Rajatendu Dey). Also fixed dispatch_on raising a TypeError when a
class is passed as a dispatch argument.

Decorating a functools.partial no longer alters the original partial
(adding __wrapped__ and changing its signature), so decorating the same
partial twice no longer rejects valid calls (contributed by Gabriel
Demetrios Lafis).

FunctionMaker now preserves positional-only parameters, so functions
decorated with decoratorx or generated by dispatch_on reject
positional-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 of inspect.signature, does not
follow __wrapped__, like inspect.getfullargspec, so decoratorx and
dispatch_on keep working with functions decorated by functools.wraps
(contributed by Tejesh Vaish).

In Python 3.14+ FunctionMaker copies the deferred annotations of the
original function without evaluating them, so decoratorx and
dispatch_on work with annotations referring to names imported only
under TYPE_CHECKING (issue #​177, reported by the GitHub user
bersbersbers and fixed by Mayank Dhingra).

v5.3.1

Compare Source

Added license SPDX identifier to pyproject.toml (reported by
Christian Lackas).

v5.3.0

Compare 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) and
added a stub file (decorator/__init__.pyi) contributed by Marco Gorelli.

v5.2.1

Compare 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.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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coveralls

coveralls commented Sep 13, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 40445403066

Coverage remained the same at 76.287%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 2623
Covered Lines: 2001
Line Coverage: 76.29%
Coverage Strength: 2.29 hits per line

💛 - Coveralls

@renovate
renovate Bot force-pushed the renovate/decorator-5.x branch from 641a5f5 to c714089 Compare October 27, 2026 03:39
@renovate renovate Bot changed the title chore(deps): update dependency decorator to v5.3.1 chore(deps): update dependency decorator to v5.3.2 Nov 21, 2026
@renovate
renovate Bot force-pushed the renovate/decorator-5.x branch from c714089 to 7e949da Compare November 21, 2026 06:17

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant