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: adam
Date: Fri Oct 10 09:51:51 UTC 2025
Modified Files:
pkgsrc/devel/py-astroid: Makefile PLIST distinfo
Log Message:
py-astroid: updated to 4.0.0
What's New in astroid 4.0.0?
Support constraints from ternary expressions in inference.
Handle deprecated bool(NotImplemented) cast in const nodes.
Add support for boolean truthiness constraints (x, not x) in inference.
Fix false positive invalid-name on attrs classes with ClassVar annotated variables.
Prevent crash when parsing deeply nested parentheses causing MemoryError in python's built-in ast.
Fix crash when inferring namedtuple with invalid field name looking like f-string formatting.
Fix false positive no-member in except * handler.
Fix crash when comparing invalid dict literal
Removed internal functions infer_numpy_member, name_looks_like_numpy_member, and
attribute_looks_like_numpy_member from astroid.brain.brain_numpy_utils.
To alleviate circular imports, the manager argument to AstroidBuilder() is now required.
Constants now have a parent of nodes.SYNTHETIC_ROOT.
Fix crashes with large positive and negative list multipliers.
Fix precedence of path arg in modpath_from_file_with_callback to be higher than sys.path
Following a deprecation period, the future argument was removed from statement() and frame().
Improve consistency of JoinedStr inference by not raising InferenceError and
returning either Uninferable or a fully resolved Const.
Fix crash when typing._alias() call is missing arguments.
Remove support for Python 3.9 (and constant PY310_PLUS).
Include subclasses of standard property classes as property decorators
Modify astroid.bases and tests.test_nodes to reflect that enum.property was added in Python 3.11, not 3.10
Fix incorrect result in _get_relative_base_path when the target directory name starts with the base path
The brain for nose was dropped. nose has been deprecated for 10 years and the brain required some maintenance.
Fix a crash when the root of a node is not a module but is unknown.
Add basic support for ast.TemplateStr and ast.Interpolationadded in Python 3.14.
Add support for type parameter defaults added in Python 3.13.
Improve as_string() representation for TypeVar, ParamSpec and TypeVarTuple nodes, as well as
type parameter in ClassDef, FuncDef and TypeAlias nodes (PEP 695).
Astroid now correctly supports the exceptions attribute of ExceptionGroup.
Deprecate importing node classes from astroid directly. This will be removed in v5.
It's recommended to import them from astroid.nodes instead.
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-astroid/PLIST
cvs rdiff -u -r1.91 -r1.92 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.103 pkgsrc/devel/py-astroid/Makefile:1.104
--- pkgsrc/devel/py-astroid/Makefile:1.103 Mon Jul 14 05:20:34 2025
+++ pkgsrc/devel/py-astroid/Makefile Fri Oct 10 09:51:51 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.103 2025/07/14 05:20:34 adam Exp $
+# $NetBSD: Makefile,v 1.104 2025/10/10 09:51:51 adam Exp $
-DISTNAME= astroid-3.3.11
+DISTNAME= astroid-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
@@ -11,6 +11,7 @@ COMMENT= Rebuild a new abstract syntax t
LICENSE= gnu-lgpl-v2.1
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>0:../../lang/py-mypy
USE_LANGUAGES= # none
Index: pkgsrc/devel/py-astroid/PLIST
diff -u pkgsrc/devel/py-astroid/PLIST:1.26 pkgsrc/devel/py-astroid/PLIST:1.27
--- pkgsrc/devel/py-astroid/PLIST:1.26 Sat Apr 12 08:22:27 2025
+++ pkgsrc/devel/py-astroid/PLIST Fri Oct 10 09:51:51 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2025/04/12 08:22:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2025/10/10 09:51:51 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -14,9 +14,6 @@ ${PYSITELIB}/astroid/__pkginfo__.pyo
${PYSITELIB}/astroid/_ast.py
${PYSITELIB}/astroid/_ast.pyc
${PYSITELIB}/astroid/_ast.pyo
-${PYSITELIB}/astroid/_backport_stdlib_names.py
-${PYSITELIB}/astroid/_backport_stdlib_names.pyc
-${PYSITELIB}/astroid/_backport_stdlib_names.pyo
${PYSITELIB}/astroid/arguments.py
${PYSITELIB}/astroid/arguments.pyc
${PYSITELIB}/astroid/arguments.pyo
@@ -89,9 +86,6 @@ ${PYSITELIB}/astroid/brain/brain_multipr
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.py
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyc
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyo
-${PYSITELIB}/astroid/brain/brain_nose.py
-${PYSITELIB}/astroid/brain/brain_nose.pyc
-${PYSITELIB}/astroid/brain/brain_nose.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_einsumfunc.py
${PYSITELIB}/astroid/brain/brain_numpy_core_einsumfunc.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_einsumfunc.pyo
@@ -164,6 +158,9 @@ ${PYSITELIB}/astroid/brain/brain_sqlalch
${PYSITELIB}/astroid/brain/brain_ssl.py
${PYSITELIB}/astroid/brain/brain_ssl.pyc
${PYSITELIB}/astroid/brain/brain_ssl.pyo
+${PYSITELIB}/astroid/brain/brain_statistics.py
+${PYSITELIB}/astroid/brain/brain_statistics.pyc
+${PYSITELIB}/astroid/brain/brain_statistics.pyo
${PYSITELIB}/astroid/brain/brain_subprocess.py
${PYSITELIB}/astroid/brain/brain_subprocess.pyc
${PYSITELIB}/astroid/brain/brain_subprocess.pyo
Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.91 pkgsrc/devel/py-astroid/distinfo:1.92
--- pkgsrc/devel/py-astroid/distinfo:1.91 Mon Jul 14 05:20:34 2025
+++ pkgsrc/devel/py-astroid/distinfo Fri Oct 10 09:51:51 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.91 2025/07/14 05:20:34 adam Exp $
+$NetBSD: distinfo,v 1.92 2025/10/10 09:51:51 adam Exp $
-BLAKE2s (astroid-3.3.11.tar.gz) = e9cddfd2d7c9a2b7ed3ce0c94a1c7097d62f7ad918237fff2a817ad2ea78ce19
-SHA512 (astroid-3.3.11.tar.gz) = 2e7b2c5a2c5388c1e3611c933eaa6bec6e35d37d35939a727974a0c9d196095727dc5e95ec7d3dbf08caddc06c436679ee63ce8e91f9e680ea6c0a5a89b2210e
-Size (astroid-3.3.11.tar.gz) = 400439 bytes
+BLAKE2s (astroid-4.0.0.tar.gz) = a2f8f013690e3101aa8c96a096ae95fb4a4af020832c6c4470b6a938e3d1eb53
+SHA512 (astroid-4.0.0.tar.gz) = 11a0603b455f7e1d94a333f2cef5b9608c92cfd89c86889096c8718894075fb1fb4fda259af3d3aa31faa19c7c4824fb8a646442549fc94765d8280d61d5b85e
+Size (astroid-4.0.0.tar.gz) = 405051 bytes
Home |
Main Index |
Thread Index |
Old Index