Skip to content

Commit 6530284

Browse files
Bump typing-extensions from 4.12.2 to 4.13.1 (#10691)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.12.2 to 4.13.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/releases">typing-extensions's releases</a>.</em></p> <blockquote> <h2>4.13.1</h2> <p>This is a bugfix release fixing two edge cases that appear on old bugfix releases of CPython.</p> <p>Bugfixes:</p> <ul> <li>Fix regression in 4.13.0 on Python 3.10.2 causing a <code>TypeError</code> when using <code>Concatenate</code>. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix <code>TypeError</code> when using <code>evaluate_forward_ref</code> on Python 3.10.1-2 and 3.9.8-10. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> </ul> <h2>4.13.0</h2> <p>New features:</p> <ul> <li>Add <code>typing_extensions.TypeForm</code> from PEP 747. Patch by Jelle Zijlstra.</li> <li>Add <code>typing_extensions.get_annotations</code>, a backport of <code>inspect.get_annotations</code> that adds features specified by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.</li> <li>Backport <code>evaluate_forward_ref</code> from CPython PR <a href="https://redirect.github.com/python/cpython/pull/119891">#119891</a> to evaluate <code>ForwardRef</code>s. Patch by <a href="https://github.com/Daraan">Daraan</a>, backporting a CPython PR by Jelle Zijlstra.</li> </ul> <p>Bugfixes and changed features:</p> <ul> <li>Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle Zijlstra.</li> <li>Copy the coroutine status of functions and methods wrapped with <code>@typing_extensions.deprecated</code>. Patch by Sebastian Rittau.</li> <li>Fix bug where <code>TypeAliasType</code> instances could be subscripted even where they were not generic. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix bug where a subscripted <code>TypeAliasType</code> instance did not have all attributes of the original <code>TypeAliasType</code> instance on older Python versions. Patch by <a href="https://github.com/Daraan">Daraan</a> and Alex Waygood.</li> <li>Fix bug where subscripted <code>TypeAliasType</code> instances (and some other subscripted objects) had wrong parameters if they were directly subscripted with an <code>Unpack</code> object. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Backport to Python 3.10 the ability to substitute <code>...</code> in generic <code>Callable</code> aliases that have a <code>Concatenate</code> special form as their argument. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Extended the <code>Concatenate</code> backport for Python 3.8-3.10 to now accept <code>Ellipsis</code> as an argument. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix backport of <code>get_type_hints</code> to reflect Python 3.11+ behavior which does not add <code>Union[..., NoneType]</code> to annotations that have a <code>None</code> default value anymore. This fixes wrapping of <code>Annotated</code> in an unwanted <code>Optional</code> in such cases. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix error in subscription of <code>Unpack</code> aliases causing nested Unpacks to not be resolved correctly. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Backport CPython PR <a href="https://redirect.github.com/python/cpython/pull/124795">#124795</a>: fix <code>TypeAliasType</code> not raising an error on non-tuple inputs for <code>type_params</code>. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix that lists and <code>...</code> could not be used for parameter expressions for <code>TypeAliasType</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/blob/main/CHANGELOG.md">typing-extensions's changelog</a>.</em></p> <blockquote> <h1>Release 4.13.1 (April 3, 2025)</h1> <p>Bugfixes:</p> <ul> <li>Fix regression in 4.13.0 on Python 3.10.2 causing a <code>TypeError</code> when using <code>Concatenate</code>. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix <code>TypeError</code> when using <code>evaluate_forward_ref</code> on Python 3.10.1-2 and 3.9.8-10. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> </ul> <h1>Release 4.13.0 (March 25, 2025)</h1> <p>No user-facing changes since 4.13.0rc1.</p> <h1>Release 4.13.0rc1 (March 18, 2025)</h1> <p>New features:</p> <ul> <li>Add <code>typing_extensions.TypeForm</code> from PEP 747. Patch by Jelle Zijlstra.</li> <li>Add <code>typing_extensions.get_annotations</code>, a backport of <code>inspect.get_annotations</code> that adds features specified by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.</li> <li>Backport <code>evaluate_forward_ref</code> from CPython PR <a href="https://redirect.github.com/python/cpython/pull/119891">#119891</a> to evaluate <code>ForwardRef</code>s. Patch by <a href="https://github.com/Daraan">Daraan</a>, backporting a CPython PR by Jelle Zijlstra.</li> </ul> <p>Bugfixes and changed features:</p> <ul> <li>Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle Zijlstra.</li> <li>Copy the coroutine status of functions and methods wrapped with <code>@typing_extensions.deprecated</code>. Patch by Sebastian Rittau.</li> <li>Fix bug where <code>TypeAliasType</code> instances could be subscripted even where they were not generic. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix bug where a subscripted <code>TypeAliasType</code> instance did not have all attributes of the original <code>TypeAliasType</code> instance on older Python versions. Patch by <a href="https://github.com/Daraan">Daraan</a> and Alex Waygood.</li> <li>Fix bug where subscripted <code>TypeAliasType</code> instances (and some other subscripted objects) had wrong parameters if they were directly subscripted with an <code>Unpack</code> object. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Backport to Python 3.10 the ability to substitute <code>...</code> in generic <code>Callable</code> aliases that have a <code>Concatenate</code> special form as their argument. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Extended the <code>Concatenate</code> backport for Python 3.8-3.10 to now accept <code>Ellipsis</code> as an argument. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix backport of <code>get_type_hints</code> to reflect Python 3.11+ behavior which does not add <code>Union[..., NoneType]</code> to annotations that have a <code>None</code> default value anymore. This fixes wrapping of <code>Annotated</code> in an unwanted <code>Optional</code> in such cases. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> <li>Fix error in subscription of <code>Unpack</code> aliases causing nested Unpacks to not be resolved correctly. Patch by <a href="https://github.com/Daraan">Daraan</a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/typing_extensions/commit/45a8847aad979d2f1f7dff075ac52df5df7b7adb"><code>45a8847</code></a> Prepare release 4.13.1 (<a href="https://redirect.github.com/python/typing_extensions/issues/573">#573</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/f264e58146479d2d8456dd6e660d785dc07d6f26"><code>f264e58</code></a> Move CI to &quot;ubuntu-latest&quot; (round 2) (<a href="https://redirect.github.com/python/typing_extensions/issues/570">#570</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/5ce0e69b20992f8bf410849a31381cd656e3eb6b"><code>5ce0e69</code></a> Fix TypeError with evaluate_forward_ref on some 3.10 and 3.9 versions (<a href="https://redirect.github.com/python/typing_extensions/issues/558">#558</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/304f5cb17d709950ece3e9c84a76174bf7405b90"><code>304f5cb</code></a> Add SQLAlchemy to third-party daily tests (<a href="https://redirect.github.com/python/typing_extensions/issues/561">#561</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/ebe2b9405c493749429de6c82c8daddd1107c9e2"><code>ebe2b94</code></a> Fix duplicated keywords for typing._ConcatenateGenericAlias in 3.10.2 (<a href="https://redirect.github.com/python/typing_extensions/issues/557">#557</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/9f93d6fb752698504d80b1ed0c73b0a2a9d0cff6"><code>9f93d6f</code></a> Add intersphinx links for 3.13 typing features (<a href="https://redirect.github.com/python/typing_extensions/issues/550">#550</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/c8934015b7e2feb65dc461fef202ef69611d7d0e"><code>c893401</code></a> Prepare release 4.13.0 (<a href="https://redirect.github.com/python/typing_extensions/issues/555">#555</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/6239d868113cbf60c3db359775bb5f5c948c6978"><code>6239d86</code></a> Use latest Python docs as intersphinx base rather than 3.12 docs (<a href="https://redirect.github.com/python/typing_extensions/issues/549">#549</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/671a337a3231b90f7cd979300f9af9fa25cdd35f"><code>671a337</code></a> Fix 'Test and lint' workflow running on forks (<a href="https://redirect.github.com/python/typing_extensions/issues/551">#551</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/e77e8e2dbdab9d7edf3d88c9493c26f759a25978"><code>e77e8e2</code></a> Disable pyanalyze tests for now (<a href="https://redirect.github.com/python/typing_extensions/issues/554">#554</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/typing_extensions/compare/4.12.2...4.13.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typing-extensions&package-manager=pip&previous-version=4.12.2&new-version=4.13.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent eff1dd7 commit 6530284

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pycares==4.5.0
3838
# via aiodns
3939
pycparser==2.22
4040
# via cffi
41-
typing-extensions==4.12.2
41+
typing-extensions==4.13.1
4242
# via multidict
4343
uvloop==0.21.0 ; platform_system != "Windows" and implementation_name == "cpython"
4444
# via -r requirements/base.in

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ trustme==1.2.1 ; platform_machine != "i686"
255255
# via
256256
# -r requirements/lint.in
257257
# -r requirements/test.in
258-
typing-extensions==4.12.2
258+
typing-extensions==4.13.1
259259
# via
260260
# multidict
261261
# mypy

requirements/cython.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ cython==3.0.12
88
# via -r requirements/cython.in
99
multidict==6.3.1
1010
# via -r requirements/multidict.in
11-
typing-extensions==4.12.2
11+
typing-extensions==4.13.1
1212
# via multidict

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ trustme==1.2.1 ; platform_machine != "i686"
246246
# via
247247
# -r requirements/lint.in
248248
# -r requirements/test.in
249-
typing-extensions==4.12.2
249+
typing-extensions==4.13.1
250250
# via
251251
# multidict
252252
# mypy

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ tomli==2.2.1
9797
# slotscheck
9898
trustme==1.2.1
9999
# via -r requirements/lint.in
100-
typing-extensions==4.12.2
100+
typing-extensions==4.13.1
101101
# via
102102
# mypy
103103
# pydantic

requirements/multidict.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
#
77
multidict==6.3.1
88
# via -r requirements/multidict.in
9-
typing-extensions==4.12.2
9+
typing-extensions==4.13.1
1010
# via multidict

requirements/runtime-deps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pycares==4.5.0
3434
# via aiodns
3535
pycparser==2.22
3636
# via cffi
37-
typing-extensions==4.12.2
37+
typing-extensions==4.13.1
3838
# via multidict
3939
yarl==1.18.3
4040
# via -r requirements/runtime-deps.in

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ tomli==2.2.1
117117
# pytest
118118
trustme==1.2.1 ; platform_machine != "i686"
119119
# via -r requirements/test.in
120-
typing-extensions==4.12.2
120+
typing-extensions==4.13.1
121121
# via
122122
# multidict
123123
# mypy

0 commit comments

Comments
 (0)