Skip to content

Commit afc342e

Browse files
Bump exceptiongroup from 1.3.0 to 1.3.1 (#11783)
Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from 1.3.0 to 1.3.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.3.1</h2> <ul> <li>Fixed <code>AttributeError: 'TracebackException' object has no attribute 'exceptions'</code> when formatting unpickled TBEs from another Python process which did not apply the <code>exceptiongroup</code> patches (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/144">#144</a>)</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.3.1</strong></p> <ul> <li>Fixed <code>AttributeError: 'TracebackException' object has no attribute 'exceptions'</code> when formatting unpickled TBEs from another Python process which did not apply the <code>exceptiongroup</code> patches (<code>[#144](agronholm/exceptiongroup#144) &lt;https://github.com/agronholm/exceptiongroup/issues/144&gt;</code>_)</li> </ul> <p><strong>1.3.0</strong></p> <ul> <li>Added <code>**kwargs</code> to function and method signatures as appropriate to match the signatures in the standard library</li> <li>In line with the stdlib typings in typeshed, updated <code>(Base)ExceptionGroup</code> generic types to define defaults for their generic arguments (defaulting to <code>BaseExceptionGroup[BaseException]</code> and <code>ExceptionGroup[Exception]</code>) (PR by <a href="https://github.com/mikenerone"><code>@​mikenerone</code></a>)</li> <li>Changed <code>BaseExceptionGroup.__init__()</code> to directly call <code>BaseException.__init__()</code> instead of the superclass <code>__init__()</code> in order to emulate the CPython behavior (broken or not) (PR by <a href="https://github.com/cfbolz"><code>@​cfbolz</code></a>)</li> <li>Changed the <code>exceptions</code> attribute to always return the same tuple of exceptions, created from the original exceptions sequence passed to <code>BaseExceptionGroup</code> to match CPython behavior (<code>[#143](agronholm/exceptiongroup#143) &lt;https://github.com/agronholm/exceptiongroup/issues/143&gt;</code>_)</li> </ul> <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></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/agronholm/exceptiongroup/commit/ddddb6fdf8582c4ae5187dc1bd258115974229fe"><code>ddddb6f</code></a> Added the release version</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/49c5e60d9efad1416f4f42455e119375904a1d6d"><code>49c5e60</code></a> Fixed AttributeError when formatting unpickled TBEs from an unpatched process</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/1be517f553249822a8fa12a4d7520d4b3ef15acd"><code>1be517f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/152">#152</a>)</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/af0ea2fdfe218a4c2a1cb31ebd1a61dba459af6f"><code>af0ea2f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/exceptiongroup/issues/149">#149</a>)</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/7c980a88a06a72db3d796d98504b335d24274abb"><code>7c980a8</code></a> Removed pin on pyright version</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/ef853368c8b94479adbd33cc58f1cac05839e116"><code>ef85336</code></a> Fixed typing job not finding Python 3.14</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/080b3f4e925bbdb8cee70cc30c5ef2937eab2bde"><code>080b3f4</code></a> Pinned pyright version to fix typeshed related failure</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/ac660908a1987880eddbb249947c1eef6e08513b"><code>ac66090</code></a> Added Python 3.14 to the test matrix</li> <li><a href="https://github.com/agronholm/exceptiongroup/commit/a0da94dadfb39c0b52c0cd5c87ace166b00f74c1"><code>a0da94d</code></a> Fixed test failures on Python 3.14</li> <li>See full diff in <a href="https://github.com/agronholm/exceptiongroup/compare/1.3.0...1.3.1">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.3.0&new-version=1.3.1)](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>
1 parent 9c3bd51 commit afc342e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ distlib==0.4.0
6565
# via virtualenv
6666
docutils==0.21.2
6767
# via sphinx
68-
exceptiongroup==1.3.0
68+
exceptiongroup==1.3.1
6969
# via pytest
7070
execnet==2.1.2
7171
# via pytest-xdist

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ distlib==0.4.0
6363
# via virtualenv
6464
docutils==0.21.2
6565
# via sphinx
66-
exceptiongroup==1.3.0
66+
exceptiongroup==1.3.1
6767
# via pytest
6868
execnet==2.1.2
6969
# via pytest-xdist

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cryptography==46.0.3
2727
# via trustme
2828
distlib==0.4.0
2929
# via virtualenv
30-
exceptiongroup==1.3.0
30+
exceptiongroup==1.3.1
3131
# via pytest
3232
filelock==3.20.0
3333
# via virtualenv

requirements/test-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ coverage==7.11.0
2020
# pytest-cov
2121
cryptography==46.0.3
2222
# via trustme
23-
exceptiongroup==1.3.0
23+
exceptiongroup==1.3.1
2424
# via pytest
2525
execnet==2.1.2
2626
# via pytest-xdist

requirements/test-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ coverage==7.11.0
3333
# pytest-cov
3434
cryptography==46.0.3
3535
# via trustme
36-
exceptiongroup==1.3.0
36+
exceptiongroup==1.3.1
3737
# via pytest
3838
execnet==2.1.2
3939
# via pytest-xdist

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ coverage==7.11.0
3333
# pytest-cov
3434
cryptography==46.0.3
3535
# via trustme
36-
exceptiongroup==1.3.0
36+
exceptiongroup==1.3.1
3737
# via pytest
3838
execnet==2.1.2
3939
# via pytest-xdist

0 commit comments

Comments
 (0)