thread
thread copied to clipboard
chore(deps): bump typing-extensions from 4.12.2 to 4.13.1
Bumps typing-extensions from 4.12.2 to 4.13.1.
Release notes
Sourced from typing-extensions's releases.
4.13.1
This is a bugfix release fixing two edge cases that appear on old bugfix releases of CPython.
Bugfixes:
- Fix regression in 4.13.0 on Python 3.10.2 causing a
TypeErrorwhen usingConcatenate. Patch by Daraan.- Fix
TypeErrorwhen usingevaluate_forward_refon Python 3.10.1-2 and 3.9.8-10. Patch by Daraan.4.13.0
New features:
- Add
typing_extensions.TypeFormfrom PEP 747. Patch by Jelle Zijlstra.- Add
typing_extensions.get_annotations, a backport ofinspect.get_annotationsthat adds features specified by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.- Backport
evaluate_forward_reffrom CPython PR #119891 to evaluateForwardRefs. Patch by Daraan, backporting a CPython PR by Jelle Zijlstra.Bugfixes and changed features:
- Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle Zijlstra.
- Copy the coroutine status of functions and methods wrapped with
@typing_extensions.deprecated. Patch by Sebastian Rittau.- Fix bug where
TypeAliasTypeinstances could be subscripted even where they were not generic. Patch by Daraan.- Fix bug where a subscripted
TypeAliasTypeinstance did not have all attributes of the originalTypeAliasTypeinstance on older Python versions. Patch by Daraan and Alex Waygood.- Fix bug where subscripted
TypeAliasTypeinstances (and some other subscripted objects) had wrong parameters if they were directly subscripted with anUnpackobject. Patch by Daraan.- Backport to Python 3.10 the ability to substitute
...in genericCallablealiases that have aConcatenatespecial form as their argument. Patch by Daraan.- Extended the
Concatenatebackport for Python 3.8-3.10 to now acceptEllipsisas an argument. Patch by Daraan.- Fix backport of
get_type_hintsto reflect Python 3.11+ behavior which does not addUnion[..., NoneType]to annotations that have aNonedefault value anymore. This fixes wrapping ofAnnotatedin an unwantedOptionalin such cases. Patch by Daraan.- Fix error in subscription of
Unpackaliases causing nested Unpacks to not be resolved correctly. Patch by Daraan.- Backport CPython PR #124795: fix
TypeAliasTypenot raising an error on non-tuple inputs fortype_params. Patch by Daraan.- Fix that lists and
...could not be used for parameter expressions forTypeAliasType
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
Release 4.13.1 (April 3, 2025)
Bugfixes:
- Fix regression in 4.13.0 on Python 3.10.2 causing a
TypeErrorwhen usingConcatenate. Patch by Daraan.- Fix
TypeErrorwhen usingevaluate_forward_refon Python 3.10.1-2 and 3.9.8-10. Patch by Daraan.Release 4.13.0 (March 25, 2025)
No user-facing changes since 4.13.0rc1.
Release 4.13.0rc1 (March 18, 2025)
New features:
- Add
typing_extensions.TypeFormfrom PEP 747. Patch by Jelle Zijlstra.- Add
typing_extensions.get_annotations, a backport ofinspect.get_annotationsthat adds features specified by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.- Backport
evaluate_forward_reffrom CPython PR #119891 to evaluateForwardRefs. Patch by Daraan, backporting a CPython PR by Jelle Zijlstra.Bugfixes and changed features:
- Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle Zijlstra.
- Copy the coroutine status of functions and methods wrapped with
@typing_extensions.deprecated. Patch by Sebastian Rittau.- Fix bug where
TypeAliasTypeinstances could be subscripted even where they were not generic. Patch by Daraan.- Fix bug where a subscripted
TypeAliasTypeinstance did not have all attributes of the originalTypeAliasTypeinstance on older Python versions. Patch by Daraan and Alex Waygood.- Fix bug where subscripted
TypeAliasTypeinstances (and some other subscripted objects) had wrong parameters if they were directly subscripted with anUnpackobject. Patch by Daraan.- Backport to Python 3.10 the ability to substitute
...in genericCallablealiases that have aConcatenatespecial form as their argument. Patch by Daraan.- Extended the
Concatenatebackport for Python 3.8-3.10 to now acceptEllipsisas an argument. Patch by Daraan.- Fix backport of
get_type_hintsto reflect Python 3.11+ behavior which does not addUnion[..., NoneType]to annotations that have aNonedefault value anymore. This fixes wrapping ofAnnotatedin an unwantedOptionalin such cases. Patch by Daraan.- Fix error in subscription of
Unpackaliases causing nested Unpacks to not be resolved correctly. Patch by Daraan.
... (truncated)
Commits
45a8847Prepare release 4.13.1 (#573)f264e58Move CI to "ubuntu-latest" (round 2) (#570)5ce0e69Fix TypeError with evaluate_forward_ref on some 3.10 and 3.9 versions (#558)304f5cbAdd SQLAlchemy to third-party daily tests (#561)ebe2b94Fix duplicated keywords for typing._ConcatenateGenericAlias in 3.10.2 (#557)9f93d6fAdd intersphinx links for 3.13 typing features (#550)c893401Prepare release 4.13.0 (#555)6239d86Use latest Python docs as intersphinx base rather than 3.12 docs (#549)671a337Fix 'Test and lint' workflow running on forks (#551)e77e8e2Disable pyanalyze tests for now (#554)- 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 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)