Skip to content

Update decorator requirement from <5.0 to <6.0 - #20

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/decorator-lt-6.0
Open

Update decorator requirement from <5.0 to <6.0#20
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/decorator-lt-6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 18, 2022

Copy link
Copy Markdown

Updates the requirements on decorator to permit the latest version.

Changelog

Sourced from decorator's changelog.

5.1.1 (2022-01-07)

Sangwoo Shim contributed a fix so that cythonized functions can be decorated. Brian McFee pointed out an issue in the decorator_apply example and Wim Glenn pointed out that the "fix" in version 5.1 broke decorator.contextmanager even more. Both issues are now solved.

5.1.0 (2021-09-11)

Added a function decoratorx using the FunctionMaker and thus preserving the signature of __code__ objects. Then fixed three small bugs:

  • Sphinx was printing a few warnings when building the documentation, as signaled by Tomasz Kłoczko
  • functions decorated with decorator.contextmanager were one-shot, as discovered by Alex Pizarro.
  • decorator.decorator was not passing the kwsyntax argument.

5.0.9 (2021-05-16)

Fixed a test breaking PyPy. Restored support for Sphinx.

5.0.8 (2021-05-15)

Made the decorator module more robust when decorating builtin functions lacking dunder attributes, like dict.__setitem__.

5.0.7 (2021-04-14)

The decorator module was not passing correctly the defaults inside the *args tuple, thanks to Dan Shult for the fix. Also fixed some mispellings in the documentation and integrated codespell in the CI, thanks to Christian Clauss.

5.0.6 (2021-04-08)

The decorator module was not copying the module attribute anymore. Thanks to Nikolay Markov for the notice.

5.0.5 (2021-04-04)

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.

4.4.2 (2020-02-29)

Sylvan Mosberger (https://github.com/Infinisil) contributed a patch to some doctests that were breaking on NixOS. John Vandenberg (https://github.com/jayvdb) made a case for removing the usage

... (truncated)

Commits
  • ad013a2 Updated changelog and bumped version to 5.1.1
  • 5a20232 Fixed implementation of decorator_apply
  • 9cf8151 Merge pull request #137 from borishim/master
  • 5478aa3 Check with inspect.routine()
  • d5d65ad Merge branch 'master' of github.com:micheles/decorator
  • baf1297 Fixed the ContextManager
  • f3daf42 Merge pull request #135 from arthurzam/master
  • a3a8c1d setup.cfg: Replace dashes with underscores
  • d37eebc Merge pull request #134 from hugovk/master
  • 7002507 Add support for Python 3.10
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 18, 2022
@dependabot
dependabot Bot changed the base branch from master to main July 25, 2022 17:14
@dependabot
dependabot Bot force-pushed the dependabot/pip/decorator-lt-6.0 branch from 30f1e26 to 15d4b75 Compare July 26, 2022 14:48
@codecov-commenter

codecov-commenter commented Jul 26, 2022

Copy link
Copy Markdown

Codecov Report

Merging #20 (f8fe667) into main (9d1c011) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   94.26%   94.26%           
=======================================
  Files         116      116           
  Lines        2984     2984           
  Branches      153      153           
=======================================
  Hits         2813     2813           
  Misses        117      117           
  Partials       54       54           
Flag Coverage Δ
unittests 94.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dependabot
dependabot Bot force-pushed the dependabot/pip/decorator-lt-6.0 branch from 15d4b75 to f8fe667 Compare August 21, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant