Skip to content

Commit

Permalink
Bump exceptiongroup from 1.1.2 to 1.2.2 (#8861)
Browse files Browse the repository at this point in the history
Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from
1.1.2 to 1.2.2.
<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.2</h2>
<ul>
<li>Removed an <code>assert</code> in
<code>exceptiongroup._formatting</code> that caused compatibility issues
with Sentry (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/123">#123</a>)</li>
</ul>
<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 &lt; 3.10 and the type annotation of
<code>suppress()</code> (PR by John Litborn)</li>
</ul>
<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.2</strong></p>
<ul>
<li>Removed an <code>assert</code> in
<code>exceptiongroup._formatting</code> that caused compatibility
issues with Sentry
(<code>[#123](agronholm/exceptiongroup#123)
&lt;https://github.com/agronholm/exceptiongroup/issues/123&gt;</code>_)</li>
</ul>
<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 &lt; 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
&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</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/2399d5474325017229c93e210df735bc1209ef6b"><code>2399d54</code></a>
Added the release version</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/bec9651b6ed54f12e5fd0aa02d8e8652a45dc96b"><code>bec9651</code></a>
Removed problematic assert that caused compatibility issues</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/f3f0ff6a362f760bc784ff57b625a602511cd018"><code>f3f0ff6</code></a>
Updated Ruff configuration</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/bb43ee0f7293b8ce46a142f8f4bf5e728c7f1045"><code>bb43ee0</code></a>
Fixed formatting tests failing on Python 3.13</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/eb8fbbcfc9b647241448ad87e3e6822fdfc549ad"><code>eb8fbbc</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/129">#129</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/6ff8300b5f6c53872007ff37d2a668cae85958e2"><code>6ff8300</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/128">#128</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/761933fdc3a8bfa718132bc4981cd285f5de2f4c"><code>761933f</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/127">#127</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/1b43294bb35e899880371b6dc9d1347057acb6d1"><code>1b43294</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/125">#125</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/dd8701802e22c281fd798984e8d37c4acce6a948"><code>dd87018</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/124">#124</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/54d8b8d9208bfc8f1e89c052e45e89328491ca06"><code>54d8b8d</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/121">#121</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/agronholm/exceptiongroup/compare/1.1.2...1.2.2">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.2&new-version=1.2.2)](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 Aug 23, 2024
1 parent 5319115 commit 4cdbf01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ distlib==0.3.8
# via virtualenv
docutils==0.20.1
# via sphinx
exceptiongroup==1.1.2
exceptiongroup==1.2.2
# via pytest
filelock==3.15.4
# via virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ distlib==0.3.8
# via virtualenv
docutils==0.20.1
# via sphinx
exceptiongroup==1.1.2
exceptiongroup==1.2.2
# via pytest
filelock==3.12.2
# via virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cryptography==43.0.0
# via trustme
distlib==0.3.8
# via virtualenv
exceptiongroup==1.1.2
exceptiongroup==1.2.2
# via pytest
filelock==3.12.2
# via virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ coverage==7.6.1
# pytest-cov
cryptography==43.0.0
# via trustme
exceptiongroup==1.1.2
exceptiongroup==1.2.2
# via pytest
freezegun==1.5.1
# via -r requirements/test.in
Expand Down

0 comments on commit 4cdbf01

Please sign in to comment.