pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-astroid



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar 29 17:38:30 UTC 2026

Modified Files:
        pkgsrc/devel/py-astroid: Makefile distinfo

Log Message:
py-astroid: update to 4.1.2.

Fix crash accessing property fset in generic classes with type annotations.

Fix infinite recursion caused by cyclic inference in Constraint.

Fix RecursionError in _compute_mro() when circular class hierarchies
are created through runtime name rebinding. Circular bases are now resolved
to the original class instead of recursing.

Fix DuplicateBasesError crash in dataclass transform when a class has
duplicate bases in its MRO (e.g., Protocol appearing both directly and
indirectly). Catch MroError at .mro() call sites in
brain_dataclasses.py, consistent with the existing pattern elsewhere.

Fix FunctionModel returning descriptor attributes for builtin functions.

Catch MemoryError when inferring f-strings with extremely large format
widths (e.g. f'{0:11111111111}') so that inference yields Uninferable
instead of crashing.

Fix ValueError in __str__/repr and error messages when nodes have
extreme values (very long identifiers or large integers). Clamp pprint width
to a minimum of 1 and truncate oversized values in error messages.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.98 -r1.99 pkgsrc/devel/py-astroid/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-astroid/Makefile
diff -u pkgsrc/devel/py-astroid/Makefile:1.110 pkgsrc/devel/py-astroid/Makefile:1.111
--- pkgsrc/devel/py-astroid/Makefile:1.110      Mon Feb 23 10:09:19 2026
+++ pkgsrc/devel/py-astroid/Makefile    Sun Mar 29 17:38:30 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.110 2026/02/23 10:09:19 adam Exp $
+# $NetBSD: Makefile,v 1.111 2026/03/29 17:38:30 wiz Exp $
 
-DISTNAME=      astroid-4.1.1
+DISTNAME=      astroid-4.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -15,6 +15,9 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-mypy>0:../
 
 USE_LANGUAGES= # none
 
+# as of 4.1.2
+# 1 failed, 1929 passed, 80 skipped, 15 xfailed
+
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4:../../devel/py-typing-extensions

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.98 pkgsrc/devel/py-astroid/distinfo:1.99
--- pkgsrc/devel/py-astroid/distinfo:1.98       Mon Feb 23 10:09:19 2026
+++ pkgsrc/devel/py-astroid/distinfo    Sun Mar 29 17:38:30 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.98 2026/02/23 10:09:19 adam Exp $
+$NetBSD: distinfo,v 1.99 2026/03/29 17:38:30 wiz Exp $
 
-BLAKE2s (astroid-4.1.1.tar.gz) = c2abeb3e6e945b8908c15411cd3a03d4eb4c45c86844bfcf95f8e3bdf464f7ab
-SHA512 (astroid-4.1.1.tar.gz) = 80ff3a9dd3c848faf6654d346c68537e3d9c62fdb07499642a4a844ee79bd00969177d74c238f82689572644d5ec436cc0d7e57f246a239125d4535e864b8fbb
-Size (astroid-4.1.1.tar.gz) = 412522 bytes
+BLAKE2s (astroid-4.1.2.tar.gz) = d8b41207a4c00a1d24eaaf674e2948a0b4fa60943e439c170173971e67eb1567
+SHA512 (astroid-4.1.2.tar.gz) = 92569b277033085c0a622f5a702daeda99a96d293c74ceb47ffec070408868508893d892eb3131b119b2339f8e5e6fc0d4b694065b68f7fded4857f03fc0b35d
+Size (astroid-4.1.2.tar.gz) = 414896 bytes



Home | Main Index | Thread Index | Old Index