pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-exceptiongroup
Module Name: pkgsrc
Committed By: adam
Date: Wed Nov 25 14:02:37 UTC 2026
Modified Files:
pkgsrc/devel/py-exceptiongroup: Makefile distinfo
Log Message:
py-exceptiongroup: updated to 1.3.2
1.3.2
- Fixed the ``repr()`` of exception groups being affected by mutation of the
original exception sequence after construction
- Fixed traceback limits being ignored for exceptions nested inside exception groups
- Fixed ``catch()`` overwriting earlier handlers when distinct mapping keys normalize
to the same exception types
- Fixed ``catch()`` flattening exception groups raised by handlers when they were
not the original matched group. Such groups are now propagated as-is, like with
native ``except*``, so code that previously received the bare exception(s) from
such a group will now receive the exception group itself
- Fixed ``catch()`` overwriting the ``__cause__`` and ``__context__`` of exceptions
propagating out of it, to match native ``except*``. Exceptions raised by handlers
now keep the chaining they were raised with (e.g. ``raise ... from None``) instead
of inheriting the original group's ``__cause__``, and re-raised exceptions now keep
the original group's ``__context__``
- Fixed ``catch()`` dropping exceptions that no handler matched when a handler raises
an exception. Such exceptions are now propagated along with the handler's
exception, like with native ``except*``, so code that previously received only the
handler's exception will now receive an exception group containing both
- Fixed the ``subgroup()`` method returning the original group rather than a newly
derived group when all the nested exceptions matched the condition
- Fixed ``catch()`` overwriting handler exception chaining when the original exception
is not an exception group
- Fixed ``subgroup()`` and ``split()`` taking any class as the condition, so
``subgroup(bool)`` matched every exception instead of raising ``TypeError`` the way
native exception groups do
- Fixed ``EXCEPTIONGROUP_NO_PATCH=1`` not preventing the monkey patching on
Python < 3.11
- Fixed ``subgroup()`` and ``split()`` not checking the return value of
``derive()``, so a subclass with a broken override made them raise
``AttributeError`` or return something that wasn't an exception group at all.
They now raise ``TypeError``, like native exception groups do
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-exceptiongroup/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-exceptiongroup/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-exceptiongroup/Makefile
diff -u pkgsrc/devel/py-exceptiongroup/Makefile:1.17 pkgsrc/devel/py-exceptiongroup/Makefile:1.18
--- pkgsrc/devel/py-exceptiongroup/Makefile:1.17 Sat Nov 22 19:51:55 2025
+++ pkgsrc/devel/py-exceptiongroup/Makefile Wed Nov 25 14:02:37 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2025/11/22 19:51:55 adam Exp $
+# $NetBSD: Makefile,v 1.18 2026/11/25 14:02:37 adam Exp $
-DISTNAME= exceptiongroup-1.3.1
+DISTNAME= exceptiongroup-1.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=e/exceptiongroup/}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/agronholm/e
COMMENT= Backport of PEP 654 (exception groups)
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_scm-[0-9]*:../../devel/py-flit_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_scm>=0:../../devel/py-flit_scm
USE_LANGUAGES= # none
Index: pkgsrc/devel/py-exceptiongroup/distinfo
diff -u pkgsrc/devel/py-exceptiongroup/distinfo:1.15 pkgsrc/devel/py-exceptiongroup/distinfo:1.16
--- pkgsrc/devel/py-exceptiongroup/distinfo:1.15 Sat Nov 22 19:51:55 2025
+++ pkgsrc/devel/py-exceptiongroup/distinfo Wed Nov 25 14:02:37 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2025/11/22 19:51:55 adam Exp $
+$NetBSD: distinfo,v 1.16 2026/11/25 14:02:37 adam Exp $
-BLAKE2s (exceptiongroup-1.3.1.tar.gz) = 2839c1eddecefbce45d1c6d31ac69b419bc6c440d7d23ceb949ed9027e3470d0
-SHA512 (exceptiongroup-1.3.1.tar.gz) = 5252b8be9f86bfda89ca2cc8d5ac31503729f3135cc7fc880919b60d91d50ae1e183ec7afdc1cd0b5007809ddf0f394c3a1ce09c0ef71286a14aad91d1876ca0
-Size (exceptiongroup-1.3.1.tar.gz) = 30371 bytes
+BLAKE2s (exceptiongroup-1.3.2.tar.gz) = 5dd7adf3fa16690137efd1f2ef9fea0311b125432b0c68c0511135853ecf9db9
+SHA512 (exceptiongroup-1.3.2.tar.gz) = cc87f43d4c8b8e60df92de6a6d0571a78bc45e97ae2a3b0fb24e4968913dcfd2fef3b5f9a45608495ef00e06b84f78a0330f4cd30e3ed73298b648735d7f27f4
+Size (exceptiongroup-1.3.2.tar.gz) = 34687 bytes
Home |
Main Index |
Thread Index |
Old Index