-
Notifications
You must be signed in to change notification settings - Fork 7
Commit 8b13fa4
authored
Bump exceptiongroup from 1.2.2 to 1.3.0 (#300)
Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from
1.2.2 to 1.3.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.3.0</h2>
<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 (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/143">#143</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
<http://semver.org/></code>_.</p>
<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)
<https://github.com/agronholm/exceptiongroup/issues/143></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)
<https://github.com/agronholm/exceptiongroup/issues/123></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 < 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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/77fba8a871408ff2c48f536e5e73b1918239ba5f"><code>77fba8a</code></a>
Added the release version</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/5e153aa379ac53af79cc7f5e287f77929cb4d0dc"><code>5e153aa</code></a>
Revert "Migrated test dependencies to dependency groups"</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/5000bfea208ad59e3a20e2fb91a513ad559711b1"><code>5000bfe</code></a>
Migrated tox configuration to native TOML</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/427220d67a52585e98575103b090b5fdaf87a899"><code>427220d</code></a>
Updated pytest options</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/4ca264fa3605d52067c20b351a0d3b947fa1f363"><code>4ca264f</code></a>
Migrated test dependencies to dependency groups</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/163c3a8cb27f8a5325258b5a83e7cf8fc002c3b7"><code>163c3a8</code></a>
Marked test_exceptions_mutate_original_sequence as xfail on
pypy3.11</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/a1765740db2d55d1eb91d67a8fbbb355caf7881b"><code>a176574</code></a>
Always create the exceptions tuple at init and return it from the
exceptions ...</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/550b79621cc35892413fa91903a1d6c7951d0449"><code>550b796</code></a>
Added BaseExceptionGroup.<strong>init</strong>, following CPython (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/142">#142</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/2a84dfd5599bca0c653143f0f4252d38afac9867"><code>2a84dfd</code></a>
Added typevar defaults to (Base)ExceptionGroup (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/147">#147</a>)</li>
<li><a
href="https://github.com/agronholm/exceptiongroup/commit/fb9133b495fc82bc2907e8cfbdff6c6dc3087e2f"><code>fb9133b</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/agronholm/exceptiongroup/issues/145">#145</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/agronholm/exceptiongroup/compare/1.2.2...1.3.0">compare
view</a></li>
</ul>
</details>
<br />
[](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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent f16e61d commit 8b13fa4Copy full SHA for 8b13fa4
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changed+3-3Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments