Skip to content

Commit 85ae999

Browse files
Bump typing-extensions from 4.9.0 to 4.11.0 (#23198)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.9.0 to 4.11.0. <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.11.0</h2> <h1>Release 4.11.0 (April 5, 2024)</h1> <p>This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).</p> <p>There are no changes since 4.11.0rc1.</p> <p>Changes since 4.10.0:</p> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> <h2>4.11.0rc1</h2> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> <h2>4.10.0</h2> <h1>Release 4.10.0 (February 25, 2024)</h1> <p>This feature release adds support for PEP 728 (TypedDict with extra items) and PEP 742 (<code>TypeIs</code>).</p> <p>There are no changes since 4.10.0rc1.</p> <h2>4.10.0rc1</h2> <h1>Release 4.10.0rc1 (February 17, 2024)</h1> <ul> <li>Add support for PEP 728, supporting the <code>closed</code> keyword argument and the special <code>__extra_items__</code> key for TypedDict. Patch by Zixuan James Li.</li> <li>Add support for PEP 742, adding <code>typing_extensions.TypeIs</code>. Patch by Jelle Zijlstra.</li> <li>Drop runtime error when a read-only <code>TypedDict</code> item overrides a mutable one. Type checkers should still flag this as an error. Patch by Jelle Zijlstra.</li> <li>Speedup <code>issubclass()</code> checks against simple runtime-checkable protocols by around 6% (backporting <a href="https://redirect.github.com/python/cpython/pull/112717">python/cpython#112717</a>, by Alex Waygood).</li> <li>Fix a regression in the implementation of protocols where <code>typing.Protocol</code> classes that were not marked as <code>@runtime_checkable</code> would be unnecessarily introspected, potentially causing exceptions to be raised if the protocol had problematic members. Patch by Alex Waygood, backporting</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.11.0 (April 5, 2024)</h1> <p>This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).</p> <p>There are no changes since 4.11.0rc1.</p> <h1>Release 4.11.0rc1 (March 24, 2024)</h1> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> <h1>Release 4.10.0 (February 24, 2024)</h1> <p>This feature release adds support for PEP 728 (TypedDict with extra items) and PEP 742 (<code>TypeIs</code>).</p> <p>There are no changes since 4.10.0rc1.</p> <h1>Release 4.10.0rc1 (February 17, 2024)</h1> <ul> <li>Add support for PEP 728, supporting the <code>closed</code> keyword argument and the special <code>__extra_items__</code> key for TypedDict. Patch by Zixuan James Li.</li> <li>Add support for PEP 742, adding <code>typing_extensions.TypeIs</code>. Patch by Jelle Zijlstra.</li> <li>Drop runtime error when a read-only <code>TypedDict</code> item overrides a mutable one. Type checkers should still flag this as an error. Patch by Jelle Zijlstra.</li> <li>Speedup <code>issubclass()</code> checks against simple runtime-checkable protocols by around 6% (backporting <a href="https://redirect.github.com/python/cpython/pull/112717">python/cpython#112717</a>, by Alex Waygood).</li> <li>Fix a regression in the implementation of protocols where <code>typing.Protocol</code> classes that were not marked as <code>@runtime_checkable</code> would be unnecessarily introspected, potentially causing exceptions to be raised if the protocol had problematic members. Patch by Alex Waygood, backporting <a href="https://redirect.github.com/python/cpython/pull/113401">python/cpython#113401</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/typing_extensions/commit/d4d929d44bd984350e2d17726362295f588eaace"><code>d4d929d</code></a> Prepare release 4.11.0 (<a href="https://redirect.github.com/python/typing_extensions/issues/363">#363</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/94bec447d6f7b9d3625ef0e688a0b0f9e487e951"><code>94bec44</code></a> Prepare release 4.11.0rc1 (<a href="https://redirect.github.com/python/typing_extensions/issues/362">#362</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/10648b6149e3b98cfb7d842684859318f01e940d"><code>10648b6</code></a> Fix tests on 3.13.0a5 (<a href="https://redirect.github.com/python/typing_extensions/issues/358">#358</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/8170fc7744ca1c2ca4911ce22095c907f7f58f8b"><code>8170fc7</code></a> Fix runtime behaviour of PEP 696 (<a href="https://redirect.github.com/python/typing_extensions/issues/293">#293</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/d34c389d3d1f8cce006dfd1200e203551c16418c"><code>d34c389</code></a> Try to fix GH actions syntax (<a href="https://redirect.github.com/python/typing_extensions/issues/355">#355</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/d409ec98e3889462e59c85a4b34f9f83ce40bf2c"><code>d409ec9</code></a> Run CPython test suite in our CI (<a href="https://redirect.github.com/python/typing_extensions/issues/353">#353</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/9d1689ede041302d85f41292bf25a9d13bf16a7b"><code>9d1689e</code></a> Fix indentation in TypedDict docs (<a href="https://redirect.github.com/python/typing_extensions/issues/352">#352</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/4fdc09ddb54be26580f68e26443a422c6024364c"><code>4fdc09d</code></a> Third-party tests: don't run pydantic tests on pypy (<a href="https://redirect.github.com/python/typing_extensions/issues/351">#351</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/3304a5f0045fc81ccc10c9c9fd238d378d020d94"><code>3304a5f</code></a> Stabilise third party tests (<a href="https://redirect.github.com/python/typing_extensions/issues/348">#348</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/c3dc681a298fae6f2aa3e937e20a32a446ecb58c"><code>c3dc681</code></a> Make sure that <code>ReadOnly</code> is removed when using `get_type_hints(include_extra...</li> <li>Additional commits viewable in <a href="https://github.com/python/typing_extensions/compare/4.9.0...4.11.0">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.9.0&new-version=4.11.0)](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 ccde3ae commit 85ae999

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 2) pip-compile --generate-hashes requirements.in
55

66
# Unittest test adapter
7-
typing-extensions==4.9.0
7+
typing-extensions==4.11.0
88

99
# Fallback env creator for debian
1010
microvenv

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ tomli==2.0.1 \
2020
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
2121
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
2222
# via -r requirements.in
23-
typing-extensions==4.9.0 \
24-
--hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \
25-
--hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd
23+
typing-extensions==4.11.0 \
24+
--hash=sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0 \
25+
--hash=sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a
2626
# via -r requirements.in
2727
zipp==3.15.0 \
2828
--hash=sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b \

0 commit comments

Comments
 (0)