14
0

- 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()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=21
This commit is contained in:
2024-04-20 14:09:00 +00:00
committed by Git OBS Bridge
parent cc196127b8
commit 044c974452
4 changed files with 17 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-exceptiongroup
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@
%{?sle15_python_module_pythons}
Name: python-exceptiongroup%{psuffix}
Version: 1.2.0
Version: 1.2.1
Release: 0
Summary: Backport of PEP 654 (exception groups)
License: MIT AND Python-2.0