How to Install and Uninstall python311-exceptiongroup Package on openSuSE Tumbleweed

Last updated: May 18,2024

1. Install "python311-exceptiongroup" package

Please follow the guidance below to install python311-exceptiongroup on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python311-exceptiongroup

2. Uninstall "python311-exceptiongroup" package

Here is a brief guide to show you how to uninstall python311-exceptiongroup on openSuSE Tumbleweed:

$ sudo zypper remove python311-exceptiongroup

3. Information about the python311-exceptiongroup package on openSuSE Tumbleweed

Information for package python311-exceptiongroup:
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-exceptiongroup
Version : 1.2.0-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 127.6 KiB
Installed : No
Status : not installed
Source package : python-exceptiongroup-1.2.0-1.4.src
Upstream URL : https://github.com/agronholm/exceptiongroup
Summary : Backport of PEP 654 (exception groups)
Description :
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.

5. The same packages on other Linux Distributions