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 Feb 16 11:03:44 UTC 2026

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

Log Message:
py-astroid: update to 4.1.0.

What's New in astroid 4.1.0?

Release date: 2026-02-08

    Add support for equality constraints (==, !=) in inference.

    Ensure ast.JoinedStr nodes are Uninferable when the ast.FormattedValue is
    Uninferable. This prevents unexpected-keyword-arg messages in Pylint
    where the Uninferable string appeared in function arguments that were
    constructed dynamically.

    Add support for type constraints (isinstance(x, y)) in inference.

    Make type.__new__() raise clear errors instead of returning None

    Move object dunder methods from FunctionModel to ObjectModel to make them
    available on all object types, not just functions.

    lineno and end_lineno are now available on Arguments.

    Add helper to iterate over all annotations nodes of function arguments,
    Arguments.get_annotations().

    Skip direct parent when determining the Decorator frame.

    Add simple command line interface for astroid to output generated AST.
    Use with python -m astroid.

    Fix incorrect type inference for super().method() calls that return Self.
    Previously, astroid would infer the parent class type instead of the child class type,
    causing pylint E1101 false positives in method chaining scenarios.

    Add missing dtype and casting parameters to numpy.concatenate brain.

    Fix ability to detect .py modules inside PATH directories on Windows
    described by a UNC path with a trailing backslash (\)
        Example: modutils.modpath_from_file(filename=r"\Mac\Code\tests\test_resources.py", path=["\mac\code"]) == ['tests', 'test_resources']

    Fix random.sample inference crash when sequence contains uninferable elements.

    Fix random.sample crash when cloning ClassDef or FunctionDef nodes.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-astroid/PLIST
cvs rdiff -u -r1.96 -r1.97 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.108 pkgsrc/devel/py-astroid/Makefile:1.109
--- pkgsrc/devel/py-astroid/Makefile:1.108      Sun Feb  8 21:50:45 2026
+++ pkgsrc/devel/py-astroid/Makefile    Mon Feb 16 11:03:43 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.108 2026/02/08 21:50:45 wiz Exp $
+# $NetBSD: Makefile,v 1.109 2026/02/16 11:03:43 wiz Exp $
 
-DISTNAME=      astroid-4.0.4
+DISTNAME=      astroid-4.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}

Index: pkgsrc/devel/py-astroid/PLIST
diff -u pkgsrc/devel/py-astroid/PLIST:1.27 pkgsrc/devel/py-astroid/PLIST:1.28
--- pkgsrc/devel/py-astroid/PLIST:1.27  Fri Oct 10 09:51:51 2025
+++ pkgsrc/devel/py-astroid/PLIST       Mon Feb 16 11:03:43 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2025/10/10 09:51:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.28 2026/02/16 11:03:43 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -8,6 +8,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/astroid/__init__.py
 ${PYSITELIB}/astroid/__init__.pyc
 ${PYSITELIB}/astroid/__init__.pyo
+${PYSITELIB}/astroid/__main__.py
+${PYSITELIB}/astroid/__main__.pyc
+${PYSITELIB}/astroid/__main__.pyo
 ${PYSITELIB}/astroid/__pkginfo__.py
 ${PYSITELIB}/astroid/__pkginfo__.pyc
 ${PYSITELIB}/astroid/__pkginfo__.pyo

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.96 pkgsrc/devel/py-astroid/distinfo:1.97
--- pkgsrc/devel/py-astroid/distinfo:1.96       Sun Feb  8 21:50:45 2026
+++ pkgsrc/devel/py-astroid/distinfo    Mon Feb 16 11:03:44 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.96 2026/02/08 21:50:45 wiz Exp $
+$NetBSD: distinfo,v 1.97 2026/02/16 11:03:44 wiz Exp $
 
-BLAKE2s (astroid-4.0.4.tar.gz) = 7841f801080a148dfdd6d1979a59bdf2f97bac26c4822faea1f55a55f8ad4d33
-SHA512 (astroid-4.0.4.tar.gz) = a37977af9c12cc816bcbbccd4930e7fb66d46000c51a4c7ed284d950b19bd821e3b6ed2fdf0a010472126ed75fe0dc9f0899e4d0542b0c763ec6cc94970cc99b
-Size (astroid-4.0.4.tar.gz) = 406358 bytes
+BLAKE2s (astroid-4.1.0.tar.gz) = 8342dd584a17d436b30876958acb6710aaea6fec55ced373b7b9ecb56ef098bb
+SHA512 (astroid-4.1.0.tar.gz) = 366207acc6b892abe374fcb73ff0e75533e865c22aae8c1f6ce460a252f80a56f5432d27c0a5a5f70664c64c8805b6c631213910df95c68a70770bc48b3b24f3
+Size (astroid-4.1.0.tar.gz) = 412160 bytes



Home | Main Index | Thread Index | Old Index