tiny-api-client
tiny-api-client copied to clipboard
Bump exceptiongroup from 1.2.2 to 1.3.0
Bumps exceptiongroup from 1.2.2 to 1.3.0.
Release notes
Sourced from exceptiongroup's releases.
1.3.0
- Added
**kwargsto function and method signatures as appropriate to match the signatures in the standard library- In line with the stdlib typings in typeshed, updated
(Base)ExceptionGroupgeneric types to define defaults for their generic arguments (defaulting toBaseExceptionGroup[BaseException]andExceptionGroup[Exception]) (PR by@mikenerone)- Changed
BaseExceptionGroup.__init__()to directly callBaseException.__init__()instead of the superclass__init__()in order to emulate the CPython behavior (broken or not) (PR by@cfbolz)- Changed the
exceptionsattribute to always return the same tuple of exceptions, created from the original exceptions sequence passed toBaseExceptionGroupto match CPython behavior (#143)
Changelog
Sourced from exceptiongroup's changelog.
Version history
This library adheres to
Semantic Versioning 2.0 <http://semver.org/>_.1.3.0
- Added
**kwargsto function and method signatures as appropriate to match the signatures in the standard library- In line with the stdlib typings in typeshed, updated
(Base)ExceptionGroupgeneric types to define defaults for their generic arguments (defaulting toBaseExceptionGroup[BaseException]andExceptionGroup[Exception]) (PR by@mikenerone)- Changed
BaseExceptionGroup.__init__()to directly callBaseException.__init__()instead of the superclass__init__()in order to emulate the CPython behavior (broken or not) (PR by@cfbolz)- Changed the
exceptionsattribute to always return the same tuple of exceptions, created from the original exceptions sequence passed toBaseExceptionGroupto match CPython behavior ([#143](https://github.com/agronholm/exceptiongroup/issues/143) <https://github.com/agronholm/exceptiongroup/issues/143>_)1.2.2
- Removed an
assertinexceptiongroup._formattingthat caused compatibility issues with Sentry ([#123](https://github.com/agronholm/exceptiongroup/issues/123) <https://github.com/agronholm/exceptiongroup/issues/123>_)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
BaseExceptionGroupinstead ofBaseException- 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 overriddensys.excepthookso 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
raisein a handler reraising the original naked exception rather than an exception group which is what is raised when you do araisein anexcept*handler1.1.3
catch()now raises aTypeErrorif passed an async exception handler instead of just giving aRuntimeWarningabout the coroutine never being awaited. (#66, PR by John Litborn)
... (truncated)
Commits
77fba8aAdded the release version5e153aaRevert "Migrated test dependencies to dependency groups"5000bfeMigrated tox configuration to native TOML427220dUpdated pytest options4ca264fMigrated test dependencies to dependency groups163c3a8Marked test_exceptions_mutate_original_sequence as xfail on pypy3.11a176574Always create the exceptions tuple at init and return it from the exceptions ...550b796Added BaseExceptionGroup.init, following CPython (#142)2a84dfdAdded typevar defaults to (Base)ExceptionGroup (#147)fb9133b[pre-commit.ci] pre-commit autoupdate (#145)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.