forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 85ae999
authored
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 />
[](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 85ae999Copy full SHA for 85ae999
File tree
Expand file treeCollapse file tree
2 files changed
+4
-4
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+4
-4
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
0 commit comments