Skip to content

Commit 226f14d

Browse files
Merge #893
893: Bump exceptiongroup from 1.1.3 to 1.2.0 r=sanders41 a=dependabot[bot] Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from 1.1.3 to 1.2.0. <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.0</h2> <ul> <li>Added special monkeypatching if <a href="https://github.com/canonical/apport">Apport</a> 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> </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 &lt;http://semver.org/&gt;</code>_.</p> <p><strong>1.2.0</strong></p> <ul> <li>Added special monkeypatching if <code>Apport &lt;https://github.com/canonical/apport&gt;</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 &lt;https://github.com/python/cpython/issues/103590&gt;</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) &lt;https://github.com/python/cpython/issues/98778&gt;</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> <ul> <li>Backported upstream fix for <a href="https://redirect.github.com/agronholm/exceptiongroup/issues/99553">gh-99553</a> (custom subclasses of <code>BaseExceptionGroup</code> that also inherit from <code>Exception</code> should not be able to wrap base exceptions)</li> <li>Moved all initialization code to <code>__new__()</code> (thus matching Python 3.11 behavior)</li> </ul> <p><strong>1.0.4</strong></p> <ul> <li>Fixed regression introduced in v1.0.3 where the code computing the suggestions would</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/agronholm/exceptiongroup/commit/4e2df2190d3c61a2e7940d6908b32658dfadab3f"><code>4e2df21</code></a> Added the release version</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/f7c00cf9b45199935cc5f3730e9010d3b8123595"><code>f7c00cf</code></a> Backported <code>contextlib.suppress</code> from Python 3.12.1 (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/95">#95</a>)</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/1ede26fbb1d6924de09fc1528a9a29d3093fdad2"><code>1ede26f</code></a> Enabled pyupgrade ruff rules</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/767e62bbd77d1c71742f88ef7f3e28deedb7029c"><code>767e62b</code></a> Eliminated pyupgrade and black in favor of ruff/ruff-format</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/d0252696636e180af30488485d97aa231c6c9975"><code>d025269</code></a> Fixed bare <code>raise</code> in a handler not raising an exception group</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/4357e114ab9acbe499d654a953f09ae0e1291dfb"><code>4357e11</code></a> Updated the checkout action to the latest version</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/e29916759ef5d04fe8a2866739af3b406a986047"><code>e299167</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/94">#94</a>)</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/4e4e87991f77cf5f0c9cf0c1d9aac804ebcf9b0c"><code>4e4e879</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/92">#92</a>)</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/27a296363bc4e527b3d7271c3cfd08e61130d311"><code>27a2963</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/90">#90</a>)</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/fae9d9a6ff0fb0467eb6492ad21f39b11a69f3e0"><code>fae9d9a</code></a> Monkeypatch Apport excepthook (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/88">#88</a>)</li> <li>Additional commits viewable in <a href="https://github.com/agronholm/exceptiongroup/compare/1.1.3...1.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=exceptiongroup&package-manager=pip&previous-version=1.1.3&new-version=1.2.0)](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>
2 parents 92f768a + 07fa2bf commit 226f14d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Pipfile.lock

+5-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)