Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python313-exceptiongroup-1.3.1-1.2 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python313-exceptiongroup Distribution: openSUSE Tumbleweed
Version: 1.3.1 Vendor: openSUSE
Release: 1.2 Build date: Wed Feb 18 08:08:36 2026
Group: Unspecified Build host: reproducible
Size: 130199 Source RPM: python-exceptiongroup-1.3.1-1.2.src.rpm
Packager: http://bugs.opensuse.org
Url: https://github.com/agronholm/exceptiongroup
Summary: Backport of PEP 654 (exception groups)
This is a backport of the ``BaseExceptionGroup`` and ``ExceptionGroup`` classes from
Python 3.11.

It contains the following:

* The  ``exceptiongroup.BaseExceptionGroup`` and ``exceptiongroup.ExceptionGroup``
  classes
* A utility function (``exceptiongroup.catch()``) for catching exceptions possibly
  nested in an exception group
* Patches to the ``TracebackException`` class that properly formats exception groups
  (installed on import)
* An exception hook that handles formatting of exception groups through
  ``TracebackException`` (installed on import)
* Special versions of some of the functions from the ``traceback`` module, modified to
  correctly handle exception groups even when monkey patching is disabled, or blocked by
  another custom exception hook:

  * ``traceback.format_exception()``
  * ``traceback.format_exception_only()``
  * ``traceback.print_exception()``
  * ``traceback.print_exc()``

If this package is imported on Python 3.11 or later, the built-in implementations of the
exception group classes are used instead, ``TracebackException`` is not monkey patched
and the exception hook won't be installed.

Provides

Requires

License

MIT AND Python-2.0

Changelog

* Wed Feb 18 2026 Daniel Garcia <daniel.garcia@suse.com>
  - Update to 1.3.1
    * Fixed AttributeError: 'TracebackException' object has no attribute
      'exceptions' when formatting unpickled TBEs from another Python
      process which did not apply the exceptiongroup patches (#144)
  - Drop upstreamed patch py314.patch
* Mon Sep 08 2025 Markéta Machová <mmachova@suse.com>
  - Update to 1.3.0
    * Added **kwargs to function and method signatures as appropriate
      to match the signatures in the standard library
    * In line with the stdlib typings in typeshed, updated
      (Base)ExceptionGroup generic types to define defaults for their
      generic arguments (defaulting to BaseExceptionGroup[BaseException]
      and ExceptionGroup[Exception])
    * Changed BaseExceptionGroup.__init__() to directly call
      BaseException.__init__() instead of the superclass __init__()
      in order to emulate the CPython behavior (broken or not)
    * Changed the exceptions attribute to always return the same tuple
      of exceptions, created from the original exceptions sequence
      passed to BaseExceptionGroup to match CPython behavior
  - Add py314.patch to fix tests on Python 3.14
* Fri Jul 26 2024 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
  - Update to 1.2.2
    * Removed an ``assert`` in ``exceptiongroup._formatting``
      that caused compatibility issues with Sentry (#123)
* Sat Apr 20 2024 Dirk Müller <dmueller@suse.com>
  - update to 1.2.1:
    * Updated the copying of __notes__ to match CPython behavior
    * 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()
* Mon Nov 27 2023 Dirk Müller <dmueller@suse.com>
  - update to 1.2.0:
    * Added special monkeypatching if `Apport
      <https://github.com/canonical/apport>`_ has
      overridden ``sys.excepthook`` so it will format exception
      groups correctly
    * 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
    * ``catch()`` now raises a ``TypeError`` if passed an async
      exception handler instead of just giving a ``RuntimeWarning``
      about the coroutine never being awaited.
    * 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
  - drop skip-test_catch_handler_raises-for-older-311.patch
    (upstream)
* Tue Jul 04 2023 Matej Cepl <mcepl@suse.com>
  - Update to 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 gh#python/cpython#103590.
  - Add skip-test_catch_handler_raises-for-older-311.patch
    (gh#agronholm/exceptiongroup#64).
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
  - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
  - Make calling of %{sle15modernpython} optional.
* Tue Mar 14 2023 Dirk Müller <dmueller@suse.com>
  - update to 1.1.1:
    * Worked around `CPython issue #98778
      ``urllib.error.HTTPError(..., fp=None)`` raises
      ``KeyError`` on unknown attribute access, on affected
      Python versions.
* Fri Dec 23 2022 Ben Greiner <code@bnavigator.de>
  - Update to 1.1.0
    * Backported upstream fix for gh-99553 (custom subclasses of
      BaseExceptionGroup that also inherit from Exception should not
      be able to wrap base exceptions)
    * Moved all initialization code to __new__() (thus matching
      Python 3.11 behavior)
  - Fix multibuild

Files

/usr/lib/python3.13/site-packages/exceptiongroup
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/METADATA
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/RECORD
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/WHEEL
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/licenses
/usr/lib/python3.13/site-packages/exceptiongroup-1.3.1.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/exceptiongroup/__init__.py
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_catch.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_catch.cpython-313.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_exceptions.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_exceptions.cpython-313.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_formatting.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_formatting.cpython-313.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_suppress.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_suppress.cpython-313.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_version.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/__pycache__/_version.cpython-313.pyc
/usr/lib/python3.13/site-packages/exceptiongroup/_catch.py
/usr/lib/python3.13/site-packages/exceptiongroup/_exceptions.py
/usr/lib/python3.13/site-packages/exceptiongroup/_formatting.py
/usr/lib/python3.13/site-packages/exceptiongroup/_suppress.py
/usr/lib/python3.13/site-packages/exceptiongroup/_version.py
/usr/lib/python3.13/site-packages/exceptiongroup/py.typed
/usr/share/doc/packages/python313-exceptiongroup
/usr/share/doc/packages/python313-exceptiongroup/README.rst
/usr/share/licenses/python313-exceptiongroup
/usr/share/licenses/python313-exceptiongroup/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Thu Mar 5 23:10:09 2026