- 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:
Dirk Mueller 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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8eaefb1a57cc9efcc601f346507c6daec23c5aced4691d64b0679d8728e50572
size 27368

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b59b2c0cee4423a01ca6dba773efac4dd6390e3908e36ed222d683ce827c8f3b
size 28203

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Apr 20 14:08:38 UTC 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 15:43:56 UTC 2023 - Dirk Müller <dmueller@suse.com>

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