Skip to content

Commit

Permalink
Bump typing-extensions from 4.5.0 to 4.6.3 (#21358)
Browse files Browse the repository at this point in the history
Bumps [typing-extensions](https://github.com/python/typing_extensions)
from 4.5.0 to 4.6.3.
<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.6.3 (June 1, 2023)</h1>
<ul>
<li>Fix a regression introduced in v4.6.0 in the implementation of
runtime-checkable protocols. The regression meant
that doing <code>class Foo(X, typing_extensions.Protocol)</code>, where
<code>X</code> was a class that
had <code>abc.ABCMeta</code> as its metaclass, would then cause
subsequent
<code>isinstance(1, X)</code> calls to erroneously raise
<code>TypeError</code>. Patch by
Alex Waygood (backporting the CPython PR
<a
href="https://github.com/python/cpython/pull/105152">python/cpython#105152</a>).</li>
<li>Sync the repository's LICENSE file with that of CPython.
<code>typing_extensions</code> is distributed under the same license as
CPython itself.</li>
<li>Skip a problematic test on Python 3.12.0b1. The test fails on
3.12.0b1 due to
a bug in CPython, which will be fixed in 3.12.0b2. The
<code>typing_extensions</code> test suite now passes on 3.12.0b1.</li>
</ul>
<h1>Release 4.6.2 (May 25, 2023)</h1>
<ul>
<li>Fix use of <code>@deprecated</code> on classes with
<code>__new__</code> but no <code>__init__</code>.
Patch by Jelle Zijlstra.</li>
<li>Fix regression in version 4.6.1 where comparing a generic class
against a
runtime-checkable protocol using <code>isinstance()</code> would cause
<code>AttributeError</code>
to be raised if using Python 3.7.</li>
</ul>
<h1>Release 4.6.1 (May 23, 2023)</h1>
<ul>
<li>Change deprecated <code>@runtime</code> to formal API
<code>@runtime_checkable</code> in the error
message. Patch by Xuehai Pan.</li>
<li>Fix regression in 4.6.0 where attempting to define a
<code>Protocol</code> that was
generic over a <code>ParamSpec</code> or a <code>TypeVarTuple</code>
would cause <code>TypeError</code> to be
raised. Patch by Alex Waygood.</li>
</ul>
<h1>Release 4.6.0 (May 22, 2023)</h1>
<ul>
<li>
<p><code>typing_extensions</code> is now documented at
<a
href="https://typing-extensions.readthedocs.io/en/latest/">https://typing-extensions.readthedocs.io/en/latest/</a>.
Patch by Jelle Zijlstra.</p>
</li>
<li>
<p>Add <code>typing_extensions.Buffer</code>, a marker class for buffer
types, as proposed
by PEP 688. Equivalent to <code>collections.abc.Buffer</code> in Python
3.12. Patch by
Jelle Zijlstra.</p>
</li>
<li>
<p>Backport two CPython PRs fixing various issues with
<code>typing.Literal</code>:
<a
href="https://github.com/python/cpython/pull/23294">python/cpython#23294</a>
and
<a
href="https://github.com/python/cpython/pull/23383">python/cpython#23383</a>.
Both CPython PRs were
originally by Yurii Karabas, and both were backported to Python
&gt;=3.9.1, but
no earlier. Patch by Alex Waygood.</p>
<p>A side effect of one of the changes is that equality comparisons of
<code>Literal</code>
objects will now raise a <code>TypeError</code> if one of the
<code>Literal</code> objects being
compared has a mutable parameter. (Using mutable parameters with
<code>Literal</code> is
not supported by PEP 586 or by any major static type checkers.)</p>
</li>
<li>
<p><code>Literal</code> is now reimplemented on all Python versions
&lt;= 3.10.0. The</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/typing_extensions/commit/c57333b77603298e2d79fdaf7632e09e40d11f54"><code>c57333b</code></a>
Update version to 4.6.3</li>
<li><a
href="https://github.com/python/typing_extensions/commit/22c0e70f34e9feffc0c04b8cb213a5d3f4dbbdec"><code>22c0e70</code></a>
Backport CPython PR 105152 (<a
href="https://github.com/python/typing_extensions/issues/208">#208</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/b8a2ece6c09ed72e962b5b4a2166262c5b3190d2"><code>b8a2ece</code></a>
Third-party tests: cattrs has switched to pdm (<a
href="https://github.com/python/typing_extensions/issues/209">#209</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/b0be88cdede662b1404e7ba52d6a55d1bf1fefff"><code>b0be88c</code></a>
Add a cron job for testing third-party users of typing_extensions (<a
href="https://github.com/python/typing_extensions/issues/206">#206</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/32887d3315326a6cfeb7b710f379328345209cec"><code>32887d3</code></a>
Sync LICENSE with CPython (<a
href="https://github.com/python/typing_extensions/issues/205">#205</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/252a4a4f52d498019774f0cedd21bccaa19d0d65"><code>252a4a4</code></a>
Add more detailed versioning policy (<a
href="https://github.com/python/typing_extensions/issues/197">#197</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/3c630b92b2a0ef1aa2910a0b7b496e9093f1241b"><code>3c630b9</code></a>
Backport some new protocol tests from CPython (<a
href="https://github.com/python/typing_extensions/issues/202">#202</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/06f73609ffea80780c9418af24daa624427a837d"><code>06f7360</code></a>
Minor improvements to CI workflows (<a
href="https://github.com/python/typing_extensions/issues/201">#201</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/5d51455cf9edfa06d629269274b2f128741300b4"><code>5d51455</code></a>
Skip a problematic test on CPython 3.12.0b1 (<a
href="https://github.com/python/typing_extensions/issues/200">#200</a>)</li>
<li><a
href="https://github.com/python/typing_extensions/commit/e84f909f6a9e8e03ef444a3a3c7e506e8e3b19e4"><code>e84f909</code></a>
Prepare release 4.6.2 (<a
href="https://github.com/python/typing_extensions/issues/195">#195</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/typing_extensions/compare/4.5.0...4.6.3">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.5.0&new-version=4.6.3)](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 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] authored Jun 6, 2023
1 parent 479a577 commit aef6e37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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.5.0
typing-extensions==4.6.3

# Fallback env creator for debian
microvenv
Expand Down
10 changes: 4 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ tomli==2.0.1 \
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
# via -r requirements.in
typing-extensions==4.5.0 \
--hash=sha256:5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb \
--hash=sha256:fb33085c39dd998ac16d1431ebc293a8b3eedd00fd4a32de0ff79002c19511b4
# via
# -r requirements.in
# importlib-metadata
typing-extensions==4.6.3 \
--hash=sha256:88a4153d8505aabbb4e13aacb7c486c2b4a33ca3b3f807914a9b4c844c471c26 \
--hash=sha256:d91d5919357fe7f681a9f2b5b4cb2a5f1ef0a1e9f59c4d8ff0d3491e05c0ffd5
# via -r requirements.in
zipp==3.15.0 \
--hash=sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b \
--hash=sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556
Expand Down

0 comments on commit aef6e37

Please sign in to comment.