v2023.11.11581008
dependabot
tagged this
06 Jun 23:27
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://redirect.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://redirect.github.com/python/cpython/pull/23294">python/cpython#23294</a> and <a href="https://redirect.github.com/python/cpython/pull/23383">python/cpython#23383</a>. Both CPython PRs were originally by Yurii Karabas, and both were backported to Python >=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 <= 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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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>