Skip to content

Commit

Permalink
Bump typing-extensions from 4.9.0 to 4.10.0 (#8185)
Browse files Browse the repository at this point in the history
Bumps [typing-extensions](https://github.com/python/typing_extensions)
from 4.9.0 to 4.10.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.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
<a
href="https://redirect.github.com/python/cpython/pull/113401">python/cpython#113401</a>.</li>
</ul>
</blockquote>
</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.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>See full diff in <a
href="https://github.com/python/typing_extensions/commits">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.10.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Feb 26, 2024
1 parent e5e521e commit 72da244
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pycares==4.3.0
# via aiodns
pycparser==2.21
# via cffi
typing-extensions==4.9.0
typing-extensions==4.10.0
# via -r requirements/typing-extensions.in
uvloop==0.19.0 ; platform_system != "Windows" and implementation_name == "cpython"
# via -r requirements/base.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ trustme==1.1.0 ; platform_machine != "i686"
# via -r requirements/test.in
typer==0.9.0
# via python-on-whales
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/typing-extensions.in
# aioredis
Expand Down
2 changes: 1 addition & 1 deletion requirements/cython.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ cython==3.0.8
# via -r requirements/cython.in
multidict==6.0.5
# via -r requirements/multidict.in
typing-extensions==4.9.0
typing-extensions==4.10.0
# via -r requirements/typing-extensions.in
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ trustme==1.1.0 ; platform_machine != "i686"
# via -r requirements/test.in
typer==0.9.0
# via python-on-whales
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/typing-extensions.in
# aioredis
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tomli==2.0.1
# mypy
# pytest
# slotscheck
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/typing-extensions.in
# aioredis
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ trustme==1.1.0 ; platform_machine != "i686"
# via -r requirements/test.in
typer==0.9.0
# via python-on-whales
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/typing-extensions.in
# mypy
Expand Down
2 changes: 1 addition & 1 deletion requirements/typing-extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
#
# pip-compile --allow-unsafe --output-file=requirements/typing-extensions.txt --resolver=backtracking --strip-extras requirements/typing-extensions.in
#
typing-extensions==4.9.0
typing-extensions==4.10.0
# via -r requirements/typing-extensions.in

0 comments on commit 72da244

Please sign in to comment.