Skip to content

Chore(deps-dev): bump exceptiongroup from 1.2.0 to 1.2.1

HIFIS Bot requested to merge dependabot-pip-exceptiongroup-1.2.1 into main

Bumps exceptiongroup from 1.2.0 to 1.2.1.

Release notes

Sourced from exceptiongroup's releases.

1.2.1

  • Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick)
  • Corrected the type annotation of the exception handler callback to accept a BaseExceptionGroup instead of BaseException
  • Fixed type errors on Python < 3.10 and the type annotation of suppress() (PR by John Litborn)
Changelog

Sourced from exceptiongroup's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

1.2.1

  • Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick)
  • Corrected the type annotation of the exception handler callback to accept a BaseExceptionGroup instead of BaseException
  • Fixed type errors on Python < 3.10 and the type annotation of suppress() (PR by John Litborn)

1.2.0

  • Added special monkeypatching if Apport <https://github.com/canonical/apport>_ has overridden sys.excepthook so it will format exception groups correctly (PR by John Litborn)
  • Added a backport of contextlib.suppress() from Python 3.12.1 which also handles suppressing exceptions inside exception groups
  • Fixed bare raise in a handler reraising the original naked exception rather than an exception group which is what is raised when you do a raise in an except* handler

1.1.3

  • catch() now raises a TypeError if passed an async exception handler instead of just giving a RuntimeWarning about the coroutine never being awaited. (#66, PR by John Litborn)
  • Fixed plain raise statement in an exception handler callback to work like a raise in an except* block
  • Fixed new exception group not being chained to the original exception when raising an exception group from exceptions raised in handler callbacks
  • Fixed type annotations of the derive(), subgroup() and split() methods to match the ones in typeshed

1.1.2

  • Changed handling of exceptions in exception group handler callbacks to not wrap a single exception in an exception group, as per CPython issue 103590 <https://github.com/python/cpython/issues/103590>_

1.1.1

  • Worked around CPython issue [#98778](https://github.com/agronholm/exceptiongroup/issues/98778) <https://github.com/python/cpython/issues/98778>_, urllib.error.HTTPError(..., fp=None) raises KeyError on unknown attribute access, on affected Python versions. (PR by Zac Hatfield-Dodds)

1.1.0

... (truncated)

Commits
  • b91b7a3 Added the release version
  • 521f02f Fixed type errors, added type tests (#118)
  • 4639b1e Fixed test failure on Python 3.12.3
  • 684b79a Have tox install the package in editable mode
  • 9ebe9f5 Updated GitHub actions
  • e57b07f [pre-commit.ci] pre-commit autoupdate (#115)
  • 8d2f627 [pre-commit.ci] pre-commit autoupdate (#113)
  • ee53e9f BaseExceptionGroup.derive should not copy notes (#112)
  • 2f23259 Corrected the type annotation for the exception handler callback (#109)
  • 0c89199 [pre-commit.ci] pre-commit autoupdate (#110)
  • Additional commits viewable in compare view

Merge request reports