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: Mon Sep 28 14:58:30 UTC 2026
Modified Files:
pkgsrc/devel/py-astroid: Makefile distinfo
Log Message:
py-astroid: update to 4.3.2.
Bug Fixes
Fix a crash when a namedtuple or Enum type name or field name
contains str.format markup, as in namedtuple("{0}", "abc"). The name
is interpolated into an error message that astroid then reformats, so
building the message raised IndexError. Inference now falls back to its
default.
Closes #3199
Infer a functional TypeVar or NewType whose name is not an identifier
without splicing that name into the synthesized class source. A crafted value
such as TypeVar("T(Base): #") no longer breaks out of the identifier
position to inject bases or a body; the name is assigned to the class verbatim.
Refs #3217
Raise InferenceError instead of crashing with IndexError when a class
uses six.with_metaclass() with no positional metaclass argument, both while
building the module and when the call is inferred.
Refs #3248
ClassDef.slots() no longer crashes on a class that declares a PEP 695
type parameter literally named __slots__ (e.g. class C[__slots__]:).
The type parameter's TypeVar node was mistaken for the class's actual
__slots__ value; slots() now returns None for such classes
instead of raising AttributeError.
Refs #3258
Fix a crash when inferring an f-string or str.format() call whose c format
spec gets an out-of-range code point, such as f"{-1:c}". These now infer to
Uninferable, like the %c case fixed in #3254.
Closes #3301
The args attribute of an exception instance is now inferred as a tuple
instance of unknown contents instead of a known empty tuple, so unpacking
exc.args no longer looks unbalanced.
Closes pylint-dev/pylint#11312
To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.101 -r1.102 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.113 pkgsrc/devel/py-astroid/Makefile:1.114
--- pkgsrc/devel/py-astroid/Makefile:1.113 Tue Aug 18 18:30:15 2026
+++ pkgsrc/devel/py-astroid/Makefile Mon Sep 28 14:58:30 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.113 2026/08/18 18:30:15 adam Exp $
+# $NetBSD: Makefile,v 1.114 2026/09/28 14:58:30 wiz Exp $
-DISTNAME= astroid-4.3.1
+DISTNAME= astroid-4.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
@@ -15,8 +15,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>0:../
USE_LANGUAGES= # none
-# as of 4.3.0
-# 1 failed, 2049 passed, 88 skipped, 15 xfailed
+# as of 4.3.2
+# 1 failed, 2062 passed, 89 skipped, 15 xfailed
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.101 pkgsrc/devel/py-astroid/distinfo:1.102
--- pkgsrc/devel/py-astroid/distinfo:1.101 Tue Aug 18 18:30:15 2026
+++ pkgsrc/devel/py-astroid/distinfo Mon Sep 28 14:58:30 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.101 2026/08/18 18:30:15 adam Exp $
+$NetBSD: distinfo,v 1.102 2026/09/28 14:58:30 wiz Exp $
-BLAKE2s (astroid-4.3.1.tar.gz) = 943e03bd902f2ff82d0293e3969e69724c7894b43b80b99361f7ad08a6095bef
-SHA512 (astroid-4.3.1.tar.gz) = 48376ba2509bdb5912bfcbad8f9e12c23352839d91fcde68bcde28a4ddf55d8a80ed55db7b63db2a30823fd4cd7a1e3e26d0a7e4184730932959c7fbb710ab2a
-Size (astroid-4.3.1.tar.gz) = 439530 bytes
+BLAKE2s (astroid-4.3.2.tar.gz) = 438d8663f962cbf0d1788f9a143810145e0e54e2e1e998a56043673e45a36e17
+SHA512 (astroid-4.3.2.tar.gz) = 3ee04381a84372da64d8d6da430fe388d24d7f14b371bafb4daf0149d6a43b9aded8d005659877bd586d5e84375c444750b20c35c51355379ef4d9b503c8f901
+Size (astroid-4.3.2.tar.gz) = 441025 bytes
Home |
Main Index |
Thread Index |
Old Index