Skip to content

Commit

Permalink
Bump typing-extensions from 4.8.0 to 4.9.0 (#22622)
Browse files Browse the repository at this point in the history
Bumps [typing-extensions](https://github.com/python/typing_extensions)
from 4.8.0 to 4.9.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.9.0</h2>
<p>This feature release adds <code>typing_extensions.ReadOnly</code>, as
specified
by PEP 705, and makes various other improvements, especially to
<code>@typing_extensions.deprecated()</code>.</p>
<p>There are no changes since 4.9.0rc1.</p>
<h2>4.9.0rc1</h2>
<ul>
<li>Add support for PEP 705, adding
<code>typing_extensions.ReadOnly</code>. Patch
by Jelle Zijlstra.</li>
<li>All parameters on <code>NewType.__call__</code> are now
positional-only. This means that
the signature of <code>typing_extensions.NewType.__call__</code> now
exactly matches the
signature of <code>typing.NewType.__call__</code>. Patch by Alex
Waygood.</li>
<li>Fix bug with using <code>@deprecated</code> on a mixin class.
Inheriting from a
deprecated class now raises a <code>DeprecationWarning</code>. Patch by
Jelle Zijlstra.</li>
<li><code>@deprecated</code> now gives a better error message if you
pass a non-<code>str</code>
argument to the <code>msg</code> parameter. Patch by Alex Waygood.</li>
<li><code>@deprecated</code> is now implemented as a class for better
introspectability.
Patch by Jelle Zijlstra.</li>
<li>Exclude <code>__match_args__</code> from <code>Protocol</code>
members.
Backport of <a
href="https://redirect.github.com/python/cpython/pull/110683">python/cpython#110683</a>
by Nikita Sobolev.</li>
<li>When creating a <code>typing_extensions.NamedTuple</code> class,
ensure <code>__set_name__</code>
is called on all objects that define <code>__set_name__</code> and exist
in the values
of the <code>NamedTuple</code> class's class dictionary. Patch by Alex
Waygood,
backporting <a
href="https://redirect.github.com/python/cpython/pull/111876">python/cpython#111876</a>.</li>
<li>Improve the error message when trying to call
<code>issubclass()</code> against a
<code>Protocol</code> that has non-method members. Patch by Alex Waygood
(backporting
<a
href="https://redirect.github.com/python/cpython/pull/112344">python/cpython#112344</a>,
by Randolph Scholz).</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.9.0 (December 9, 2023)</h1>
<p>This feature release adds <code>typing_extensions.ReadOnly</code>, as
specified
by PEP 705, and makes various other improvements, especially to
<code>@typing_extensions.deprecated()</code>.</p>
<p>There are no changes since 4.9.0rc1.</p>
<h1>Release 4.9.0rc1 (November 29, 2023)</h1>
<ul>
<li>Add support for PEP 705, adding
<code>typing_extensions.ReadOnly</code>. Patch
by Jelle Zijlstra.</li>
<li>All parameters on <code>NewType.__call__</code> are now
positional-only. This means that
the signature of <code>typing_extensions.NewType.__call__</code> now
exactly matches the
signature of <code>typing.NewType.__call__</code>. Patch by Alex
Waygood.</li>
<li>Fix bug with using <code>@deprecated</code> on a mixin class.
Inheriting from a
deprecated class now raises a <code>DeprecationWarning</code>. Patch by
Jelle Zijlstra.</li>
<li><code>@deprecated</code> now gives a better error message if you
pass a non-<code>str</code>
argument to the <code>msg</code> parameter. Patch by Alex Waygood.</li>
<li><code>@deprecated</code> is now implemented as a class for better
introspectability.
Patch by Jelle Zijlstra.</li>
<li>Exclude <code>__match_args__</code> from <code>Protocol</code>
members.
Backport of <a
href="https://redirect.github.com/python/cpython/pull/110683">python/cpython#110683</a>
by Nikita Sobolev.</li>
<li>When creating a <code>typing_extensions.NamedTuple</code> class,
ensure <code>__set_name__</code>
is called on all objects that define <code>__set_name__</code> and exist
in the values
of the <code>NamedTuple</code> class's class dictionary. Patch by Alex
Waygood,
backporting <a
href="https://redirect.github.com/python/cpython/pull/111876">python/cpython#111876</a>.</li>
<li>Improve the error message when trying to call
<code>issubclass()</code> against a
<code>Protocol</code> that has non-method members. Patch by Alex Waygood
(backporting
<a
href="https://redirect.github.com/python/cpython/pull/112344">python/cpython#112344</a>,
by Randolph Scholz).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/typing_extensions/commit/fc461d6faf4585849b561f2e4cbb06e9db095307"><code>fc461d6</code></a>
Release 4.9.0 (<a
href="https://redirect.github.com/python/typing_extensions/issues/313">#313</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/f82d6367f3ff8f16b6291de06394ec6b9318bfc3"><code>f82d636</code></a>
Prepare release 4.9.0rc1 (<a
href="https://redirect.github.com/python/typing_extensions/issues/306">#306</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/daa793141c3d504ce0a1d19ef032ea83466ba5c2"><code>daa7931</code></a>
Run typed-argument-parser tests on 3.12 in the daily workflow (<a
href="https://redirect.github.com/python/typing_extensions/issues/307">#307</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/0b0166d649cebcb48e7e208ae5da36cfab5965fe"><code>0b0166d</code></a>
Add support for PEP 705 (<a
href="https://redirect.github.com/python/typing_extensions/issues/284">#284</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/db6f9b4a0e1c18c6269691691e72e6b80a247ebd"><code>db6f9b4</code></a>
Update <a
href="https://github.com/deprecated"><code>@​deprecated</code></a>
implementation (<a
href="https://redirect.github.com/python/typing_extensions/issues/302">#302</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/18ae2b323d5199071cc51eef342bc0ac98e1edf1"><code>18ae2b3</code></a>
Backport recent improvements to the error message when trying to call
`issubc...</li>
<li><a
href="https://github.com/python/typing_extensions/commit/e4d9d8bcb674a78ce3beb288c465d8e3648b534f"><code>e4d9d8b</code></a>
fix typo in <code>override()</code> docstring (<a
href="https://redirect.github.com/python/typing_extensions/issues/305">#305</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/4f91502281d748671c7c1dfa26726111853f1342"><code>4f91502</code></a>
Backport recent change to <code>NamedTuple</code> classes regarding
<code>__set_name__</code> (<a
href="https://redirect.github.com/python/typing_extensions/issues/303">#303</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/7af82f97686df8da7fbf0d9871f3f942d9254449"><code>7af82f9</code></a>
<a href="https://github.com/deprecated"><code>@​deprecated</code></a>:
will be in warnings, not typing (<a
href="https://redirect.github.com/python/typing_extensions/issues/298">#298</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/f9f257c6baa557658004bbe019bd38fcff3fb2b5"><code>f9f257c</code></a>
Fix deprecating a mixin; warn when inheriting from a deprecated class
(<a
href="https://redirect.github.com/python/typing_extensions/issues/294">#294</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/typing_extensions/compare/4.8.0...4.9.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.8.0&new-version=4.9.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>
  • Loading branch information
dependabot[bot] authored Dec 20, 2023
1 parent f2b0b7f commit 26641e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# 2) pip-compile --generate-hashes requirements.in

# Unittest test adapter
typing-extensions==4.8.0
typing-extensions==4.9.0

# Fallback env creator for debian
microvenv
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ tomli==2.0.1 \
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
# via -r requirements.in
typing-extensions==4.8.0 \
--hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \
--hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef
typing-extensions==4.9.0 \
--hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \
--hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd
# via -r requirements.in
zipp==3.15.0 \
--hash=sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b \
Expand Down

0 comments on commit 26641e9

Please sign in to comment.