wemake-python-styleguide
                                
                                 wemake-python-styleguide copied to clipboard
                                
                                    wemake-python-styleguide copied to clipboard
                            
                            
                            
                        Bump typing-extensions from 4.8.0 to 4.9.0
Bumps typing-extensions from 4.8.0 to 4.9.0.
Release notes
Sourced from typing-extensions's releases.
4.9.0
This feature release adds
typing_extensions.ReadOnly, as specified by PEP 705, and makes various other improvements, especially to@typing_extensions.deprecated().There are no changes since 4.9.0rc1.
4.9.0rc1
- Add support for PEP 705, adding
typing_extensions.ReadOnly. Patch by Jelle Zijlstra.- All parameters on
NewType.__call__are now positional-only. This means that the signature oftyping_extensions.NewType.__call__now exactly matches the signature oftyping.NewType.__call__. Patch by Alex Waygood.- Fix bug with using
@deprecatedon a mixin class. Inheriting from a deprecated class now raises aDeprecationWarning. Patch by Jelle Zijlstra.
@deprecatednow gives a better error message if you pass a non-strargument to themsgparameter. Patch by Alex Waygood.
@deprecatedis now implemented as a class for better introspectability. Patch by Jelle Zijlstra.- Exclude
__match_args__fromProtocolmembers. Backport of python/cpython#110683 by Nikita Sobolev.- When creating a
typing_extensions.NamedTupleclass, ensure__set_name__is called on all objects that define__set_name__and exist in the values of theNamedTupleclass's class dictionary. Patch by Alex Waygood, backporting python/cpython#111876.- Improve the error message when trying to call
issubclass()against aProtocolthat has non-method members. Patch by Alex Waygood (backporting python/cpython#112344, by Randolph Scholz).
Changelog
Sourced from typing-extensions's changelog.
Release 4.9.0 (December 9, 2023)
This feature release adds
typing_extensions.ReadOnly, as specified by PEP 705, and makes various other improvements, especially to@typing_extensions.deprecated().There are no changes since 4.9.0rc1.
Release 4.9.0rc1 (November 29, 2023)
- Add support for PEP 705, adding
typing_extensions.ReadOnly. Patch by Jelle Zijlstra.- All parameters on
NewType.__call__are now positional-only. This means that the signature oftyping_extensions.NewType.__call__now exactly matches the signature oftyping.NewType.__call__. Patch by Alex Waygood.- Fix bug with using
@deprecatedon a mixin class. Inheriting from a deprecated class now raises aDeprecationWarning. Patch by Jelle Zijlstra.
@deprecatednow gives a better error message if you pass a non-strargument to themsgparameter. Patch by Alex Waygood.
@deprecatedis now implemented as a class for better introspectability. Patch by Jelle Zijlstra.- Exclude
__match_args__fromProtocolmembers. Backport of python/cpython#110683 by Nikita Sobolev.- When creating a
typing_extensions.NamedTupleclass, ensure__set_name__is called on all objects that define__set_name__and exist in the values of theNamedTupleclass's class dictionary. Patch by Alex Waygood, backporting python/cpython#111876.- Improve the error message when trying to call
issubclass()against aProtocolthat has non-method members. Patch by Alex Waygood (backporting python/cpython#112344, by Randolph Scholz).
Commits
- fc461d6Release 4.9.0 (#313)
- f82d636Prepare release 4.9.0rc1 (#306)
- daa7931Run typed-argument-parser tests on 3.12 in the daily workflow (#307)
- 0b0166dAdd support for PEP 705 (#284)
- db6f9b4Update- @deprecatedimplementation (#302)
- 18ae2b3Backport recent improvements to the error message when trying to call `issubc...
- e4d9d8bfix typo in- override()docstring (#305)
- 4f91502Backport recent change to- NamedTupleclasses regarding- __set_name__(#303)
- 7af82f9- @deprecated: will be in warnings, not typing (#298)
- f9f257cFix deprecating a mixin; warn when inheriting from a deprecated class (#294)
- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- @dependabot rebasewill rebase this PR
- @dependabot recreatewill recreate this PR, overwriting any edits that have been made to it
- @dependabot mergewill merge this PR after your CI passes on it
- @dependabot squash and mergewill squash and merge this PR after your CI passes on it
- @dependabot cancel mergewill cancel a previously requested merge and block automerging
- @dependabot reopenwill reopen this PR if it is closed
- @dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- @dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency
- @dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
1c5821c) 100.00% compared to head (d25a127) 100.00%.
Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2790   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          122       122           
  Lines         6564      6564           
  Branches      1556      1556           
=========================================
  Hits          6564      6564           
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Superseded by #2857.