-
Notifications
You must be signed in to change notification settings - Fork 90
Commit b78b726
Merge #953
953: Bump exceptiongroup from 1.2.0 to 1.2.1 r=sanders41 a=dependabot[bot]
Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from 1.2.0 to 1.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/agronholm/exceptiongroup/releases">exceptiongroup's releases</a>.</em></p>
<blockquote>
<h2>1.2.1</h2>
<ul>
<li>Updated the copying of <code>__notes__</code> to match CPython behavior (PR by CF Bolz-Tereick)</li>
<li>Corrected the type annotation of the exception handler callback to accept a <code>BaseExceptionGroup</code> instead of <code>BaseException</code></li>
<li>Fixed type errors on Python < 3.10 and the type annotation of <code>suppress()</code> (PR by John Litborn)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/agronholm/exceptiongroup/blob/main/CHANGES.rst">exceptiongroup's changelog</a>.</em></p>
<blockquote>
<h1>Version history</h1>
<p>This library adheres to <code>Semantic Versioning 2.0 <http://semver.org/></code>_.</p>
<p><strong>1.2.1</strong></p>
<ul>
<li>Updated the copying of <code>__notes__</code> to match CPython behavior (PR by CF Bolz-Tereick)</li>
<li>Corrected the type annotation of the exception handler callback to accept a
<code>BaseExceptionGroup</code> instead of <code>BaseException</code></li>
<li>Fixed type errors on Python < 3.10 and the type annotation of <code>suppress()</code>
(PR by John Litborn)</li>
</ul>
<p><strong>1.2.0</strong></p>
<ul>
<li>Added special monkeypatching if <code>Apport <https://github.com/canonical/apport></code>_ has
overridden <code>sys.excepthook</code> so it will format exception groups correctly
(PR by John Litborn)</li>
<li>Added a backport of <code>contextlib.suppress()</code> from Python 3.12.1 which also handles
suppressing exceptions inside exception groups</li>
<li>Fixed bare <code>raise</code> in a handler reraising the original naked exception rather than
an exception group which is what is raised when you do a <code>raise</code> in an <code>except*</code>
handler</li>
</ul>
<p><strong>1.1.3</strong></p>
<ul>
<li><code>catch()</code> now raises a <code>TypeError</code> if passed an async exception handler instead of
just giving a <code>RuntimeWarning</code> about the coroutine never being awaited. (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/66">#66</a>, PR by
John Litborn)</li>
<li>Fixed plain <code>raise</code> statement in an exception handler callback to work like a
<code>raise</code> in an <code>except*</code> block</li>
<li>Fixed new exception group not being chained to the original exception when raising an
exception group from exceptions raised in handler callbacks</li>
<li>Fixed type annotations of the <code>derive()</code>, <code>subgroup()</code> and <code>split()</code> methods to
match the ones in typeshed</li>
</ul>
<p><strong>1.1.2</strong></p>
<ul>
<li>Changed handling of exceptions in exception group handler callbacks to not wrap a
single exception in an exception group, as per
<code>CPython issue 103590 <https://github.com/python/cpython/issues/103590></code>_</li>
</ul>
<p><strong>1.1.1</strong></p>
<ul>
<li>Worked around
<code>CPython issue [#98778](https://github.com/agronholm/exceptiongroup/issues/98778) <https://github.com/python/cpython/issues/98778></code>_,
<code>urllib.error.HTTPError(..., fp=None)</code> raises <code>KeyError</code> on unknown attribute
access, on affected Python versions. (PR by Zac Hatfield-Dodds)</li>
</ul>
<p><strong>1.1.0</strong></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/b91b7a34a0c688fe4bb06edcb2a0befffa21ca5f"><code>b91b7a3</code></a> Added the release version</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/521f02f7b1282ea3aaba20f450beb6d6283a5037"><code>521f02f</code></a> Fixed type errors, added type tests (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/118">#118</a>)</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/4639b1e4cc3b6078d97280487790340ecd38e604"><code>4639b1e</code></a> Fixed test failure on Python 3.12.3</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/684b79a6f2211d39aea823db6e3c300e2a5157b0"><code>684b79a</code></a> Have tox install the package in editable mode</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/9ebe9f5b358ef1ced3d5914b3f170083acf76328"><code>9ebe9f5</code></a> Updated GitHub actions</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/e57b07fed419522020e75da6851076f511deb736"><code>e57b07f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/115">#115</a>)</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/8d2f6273ffe94b0f805f001d20f8e4fadae0b58f"><code>8d2f627</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/113">#113</a>)</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/ee53e9fbab93406e1f4f546346a40421f86b47a6"><code>ee53e9f</code></a> BaseExceptionGroup.derive should not copy <strong>notes</strong> (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/112">#112</a>)</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/2f23259bdd968bb0a3aa3cf5a5c24a9449cd921e"><code>2f23259</code></a> Corrected the type annotation for the exception handler callback (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/109">#109</a>)</li>
<li><a href="https://github.com/agronholm/exceptiongroup/commit/0c89199f96974ddef5da6b4e65b0f33aa7c9a80c"><code>0c89199</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/110">#110</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/agronholm/exceptiongroup/compare/1.2.0...1.2.1">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 file changed
+4
-4
lines changed+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments