[11/15] python3-exceptiongroup: Update to version 1.2.0

Message ID 20240129134120.3269534-11-adolf.belka@ipfire.org
State Staged
Commit c60238f606a5121dcfe16323bf0d9d5aab9c1312
Headers
Series [01/15] borgbackup: Update to version 1.2.7 |

Commit Message

Adolf Belka Jan. 29, 2024, 1:41 p.m. UTC
  - Updated from version 1.1.0 to 1.2.0
- Update of rootfile
- Changelog
    1.2.0
	    Added special monkeypatching if Apport has overridden sys.excepthook so 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 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
    1.1.3
	    catch() now raises a TypeError if passed an async exception handler instead
	     of just giving a RuntimeWarning about the coroutine never being awaited.
	     (#66, PR by John Litborn)
	    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
    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 103590
    1.1.1
	    Worked around CPython issue #98778, urllib.error.HTTPError(..., fp=None)
	     raises KeyError on unknown attribute access, on affected Python versions.
	     (PR by Zac Hatfield-Dodds)

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 .../rootfiles/packages/python3-exceptiongroup   | 17 +++++++++--------
 lfs/python3-exceptiongroup                      |  8 ++++----
 2 files changed, 13 insertions(+), 12 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/python3-exceptiongroup b/config/rootfiles/packages/python3-exceptiongroup
index 0ed2ae1f5..08e10c3b9 100644
--- a/config/rootfiles/packages/python3-exceptiongroup
+++ b/config/rootfiles/packages/python3-exceptiongroup
@@ -1,15 +1,16 @@ 
 usr/lib/python3.10/site-packages/exceptiongroup
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/INSTALLER
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/LICENSE
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/METADATA
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/RECORD
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/REQUESTED
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/WHEEL
-#usr/lib/python3.10/site-packages/exceptiongroup-1.1.1.dist-info/direct_url.json
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/INSTALLER
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/LICENSE
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/METADATA
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/RECORD
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/REQUESTED
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/WHEEL
+#usr/lib/python3.10/site-packages/exceptiongroup-1.2.0.dist-info/direct_url.json
 usr/lib/python3.10/site-packages/exceptiongroup/__init__.py
 usr/lib/python3.10/site-packages/exceptiongroup/_catch.py
 usr/lib/python3.10/site-packages/exceptiongroup/_exceptions.py
 usr/lib/python3.10/site-packages/exceptiongroup/_formatting.py
+usr/lib/python3.10/site-packages/exceptiongroup/_suppress.py
 usr/lib/python3.10/site-packages/exceptiongroup/_version.py
 usr/lib/python3.10/site-packages/exceptiongroup/py.typed
diff --git a/lfs/python3-exceptiongroup b/lfs/python3-exceptiongroup
index f1de6bb6f..067b42f14 100644
--- a/lfs/python3-exceptiongroup
+++ b/lfs/python3-exceptiongroup
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.1.1
+VER        = 1.2.0
 SUMMARY    = This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11.
 
 THISAPP    = exceptiongroup-$(VER)
@@ -33,7 +33,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-exceptiongroup
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       =
 
@@ -47,7 +47,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = c396d1e1ab15265e06d76d11e6cbbff5c4e52284f890d727aab65d0ab40fcd17e3db8827ba4bba6b34d13f66606ca34ac8bcc361dd4aecf9afe624d5001de327
+$(DL_FILE)_BLAKE2 = 4f3b5505c9c6e229eae52fda1e2dc957ada9e44eb8da8f2a8c62315ee93a1e2129005d0b4a1a7f3bbc2a1448e89929fdaf6ee59a40c8aefb44104c5e330d5ac9
 
 install : $(TARGET)