Skip to content

build(deps): bump decorator from 5.1.1 to 5.3.2 - #14800

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/decorator-5.3.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/decorator-5.3.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps decorator from 5.1.1 to 5.3.2.

Changelog

Sourced from decorator's changelog.

5.3.2 (2026-11-21)

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

... (truncated)

Commits
  • 7354c68 Merge pull request #202 from micheles/python-3.15
  • 45ec9b3 Bumped the version to 5.3.2
  • b6cffcd Use uvx in the Makefile and include only the package files in the sdist
  • d94cac3 Added Python 3.15 to the CI matrix and to the supported versions
  • 8ffdb86 Merge pull request #201 from micheles/fix-177-deferred-annotations
  • 236dd6b Updated CHANGES.md
  • b6db96b Copy deferred annotations in FunctionMaker without evaluating them
  • f0ce939 Merge pull request #200 from micheles/cleanup
  • 515d158 Updated CHANGES.md
  • 73e175a Do not follow wrapped in getfullargspec and FunctionMaker
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [decorator](https://github.com/micheles/decorator) from 5.1.1 to 5.3.2.
- [Release notes](https://github.com/micheles/decorator/releases)
- [Changelog](https://github.com/micheles/decorator/blob/master/CHANGES.md)
- [Commits](micheles/decorator@5.1.1...5.3.2)

---
updated-dependencies:
- dependency-name: decorator
  dependency-version: 5.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file minor A low priority issue which might affect only some users and /or not the main functionality labels Nov 30, 2026
@cla-bot cla-bot Bot added the cla-signed CLA Bot: community license agreement signed label Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed CLA Bot: community license agreement signed dependencies Pull requests that update a dependency file minor A low priority issue which might affect only some users and /or not the main functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants