forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Bump typing-extensions from 4.9.0 to 4.11.0 #23198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.9.0 to 4.11.0. - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](python/typing_extensions@4.9.0...4.11.0) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
karthiknadig
approved these changes
Apr 10, 2024
wesm
pushed a commit
to posit-dev/positron
that referenced
this pull request
May 10, 2024
…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 /> [](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>
seeM
pushed a commit
to posit-dev/positron
that referenced
this pull request
May 12, 2024
…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 /> [](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>
wesm
pushed a commit
to posit-dev/positron
that referenced
this pull request
May 13, 2024
…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 /> [](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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps typing-extensions from 4.9.0 to 4.11.0.
Release notes
Sourced from typing-extensions's releases.
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
Commits
d4d929d
Prepare release 4.11.0 (#363)94bec44
Prepare release 4.11.0rc1 (#362)10648b6
Fix tests on 3.13.0a5 (#358)8170fc7
Fix runtime behaviour of PEP 696 (#293)d34c389
Try to fix GH actions syntax (#355)d409ec9
Run CPython test suite in our CI (#353)9d1689e
Fix indentation in TypedDict docs (#352)4fdc09d
Third-party tests: don't run pydantic tests on pypy (#351)3304a5f
Stabilise third party tests (#348)c3dc681
Make sure thatReadOnly
is removed when using `get_type_hints(include_extra...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 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)