pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-astroid py-astroid: updated to 2.6.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a7817bdf381
branches: trunk
changeset: 455206:9a7817bdf381
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jun 30 05:59:28 2021 +0000
description:
py-astroid: updated to 2.6.1
What's New in astroid 2.6.1?
============================
Release date: 2021-06-29
* Fix issue with ``TypedDict`` for Python 3.9+
What's New in astroid 2.6.0?
============================
Release date: 2021-06-22
* Appveyor and travis are no longer used in the continuous integration
* ``setuptools_scm`` has been removed and replaced by ``tbump`` in order to not
have hidden runtime dependencies to setuptools
* ``NodeNg``, the base node class, is now accessible from ``astroid`` or
``astroid.nodes`` as it can be used for typing.
* Update enum brain to improve inference of .name and .value dynamic class
attributes
* Removed ``Repr``, ``Exec``, and ``Print`` nodes as the ``ast`` nodes
they represented have been removed with the change to Python 3
* Deprecate ``Ellipsis`` node. It will be removed with the next minor release.
Checkers that already support Python 3.8+ work without issues. It's only
necessary to remove all references to the ``astroid.Ellipsis`` node.
This changes will make development of checkers easier as the resulting tree for Ellipsis
will no longer depend on the python version. **Background**: With Python 3.8 the
``ast.Ellipsis`` node, along with ``ast.Str``, ``ast.Bytes``, ``ast.Num``,
and ``ast.NamedConstant`` were merged into ``ast.Constant``.
* Deprecated ``Index`` and ``ExtSlice`` nodes. They will be removed with the
next minor release. Both are now part of the ``Subscript`` node.
Checkers that already support Python 3.9+ work without issues.
It's only necessary to remove all references to the ``astroid.Index`` and
``astroid.ExtSlice`` nodes. This change will make development of checkers
easier as the resulting tree for ``ast.Subscript`` nodes will no longer
depend on the python version. **Background**: With Python 3.9 ``ast.Index``
and ``ast.ExtSlice`` were merged into the ``ast.Subscript`` node.
* Updated all Match nodes to be internally consistent.
* Add ``Pattern`` base class.
What's New in astroid 2.5.8?
============================
Release date: 2021-06-07
* Improve support for Pattern Matching
* Add lineno and col_offset for ``Keyword`` nodes and Python 3.9+
* Add global inference cache to speed up inference of long statement blocks
* Add a limit to the total number of nodes inferred indirectly as a result
of inferring some node
diffstat:
devel/py-astroid/Makefile | 5 ++---
devel/py-astroid/PLIST | 14 +++++++++++++-
devel/py-astroid/distinfo | 10 +++++-----
3 files changed, 20 insertions(+), 9 deletions(-)
diffs (80 lines):
diff -r 995df4bc9467 -r 9a7817bdf381 devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Tue Jun 29 17:32:52 2021 +0000
+++ b/devel/py-astroid/Makefile Wed Jun 30 05:59:28 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2021/06/01 05:14:56 adam Exp $
+# $NetBSD: Makefile,v 1.44 2021/06/30 05:59:28 adam Exp $
-DISTNAME= astroid-2.5.7
+DISTNAME= astroid-2.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
@@ -10,7 +10,6 @@
COMMENT= Rebuild a new abstract syntax tree from Python's ast
LICENSE= gnu-lgpl-v2.1
-BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-lazy-object-proxy>=1.4.0:../../devel/py-lazy-object-proxy
DEPENDS+= ${PYPKGPREFIX}-wrapt>=1.11:../../devel/py-wrapt
diff -r 995df4bc9467 -r 9a7817bdf381 devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST Tue Jun 29 17:32:52 2021 +0000
+++ b/devel/py-astroid/PLIST Wed Jun 30 05:59:28 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2021/04/26 12:58:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2021/06/30 05:59:28 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -19,6 +19,9 @@
${PYSITELIB}/astroid/as_string.py
${PYSITELIB}/astroid/as_string.pyc
${PYSITELIB}/astroid/as_string.pyo
+${PYSITELIB}/astroid/astroid_manager.py
+${PYSITELIB}/astroid/astroid_manager.pyc
+${PYSITELIB}/astroid/astroid_manager.pyo
${PYSITELIB}/astroid/bases.py
${PYSITELIB}/astroid/bases.pyc
${PYSITELIB}/astroid/bases.pyo
@@ -157,9 +160,15 @@
${PYSITELIB}/astroid/brain/brain_uuid.py
${PYSITELIB}/astroid/brain/brain_uuid.pyc
${PYSITELIB}/astroid/brain/brain_uuid.pyo
+${PYSITELIB}/astroid/brain/helpers.py
+${PYSITELIB}/astroid/brain/helpers.pyc
+${PYSITELIB}/astroid/brain/helpers.pyo
${PYSITELIB}/astroid/builder.py
${PYSITELIB}/astroid/builder.pyc
${PYSITELIB}/astroid/builder.pyo
+${PYSITELIB}/astroid/const.py
+${PYSITELIB}/astroid/const.pyc
+${PYSITELIB}/astroid/const.pyo
${PYSITELIB}/astroid/context.py
${PYSITELIB}/astroid/context.pyc
${PYSITELIB}/astroid/context.pyo
@@ -175,6 +184,9 @@
${PYSITELIB}/astroid/inference.py
${PYSITELIB}/astroid/inference.pyc
${PYSITELIB}/astroid/inference.pyo
+${PYSITELIB}/astroid/inference_tip.py
+${PYSITELIB}/astroid/inference_tip.pyc
+${PYSITELIB}/astroid/inference_tip.pyo
${PYSITELIB}/astroid/interpreter/__init__.py
${PYSITELIB}/astroid/interpreter/__init__.pyc
${PYSITELIB}/astroid/interpreter/__init__.pyo
diff -r 995df4bc9467 -r 9a7817bdf381 devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Tue Jun 29 17:32:52 2021 +0000
+++ b/devel/py-astroid/distinfo Wed Jun 30 05:59:28 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.35 2021/06/01 05:14:56 adam Exp $
+$NetBSD: distinfo,v 1.36 2021/06/30 05:59:28 adam Exp $
-SHA1 (astroid-2.5.7.tar.gz) = f2c6fcdee28db4a21cb11b8c9fa6e6b6eb453556
-RMD160 (astroid-2.5.7.tar.gz) = 657ec2ccb9e1153deaebfaa5e77e60fe6c199bb8
-SHA512 (astroid-2.5.7.tar.gz) = e9f77ceac0d918e2ff8a123c4894e460a4fb574e92db9d9936b51b8f732d3103766ca87bba0d85c86d8eb6ce7a2ffa699ffee6345bf67ed26fea571b9e869ea2
-Size (astroid-2.5.7.tar.gz) = 183983 bytes
+SHA1 (astroid-2.6.1.tar.gz) = 67cc2322b0c502a5f83bd7f7cf99a7a22d8c85fd
+RMD160 (astroid-2.6.1.tar.gz) = e393e5d9aba9ac9b4810dd993850e9a6c5155ad1
+SHA512 (astroid-2.6.1.tar.gz) = f28c0725818947c4279ff56ef3051af48abbbca61dea3b59ea4e263863bb10699e093e345abec519a292f395b1599bb91769893956aea2c444ce7899d9795371
+Size (astroid-2.6.1.tar.gz) = 187335 bytes
Home |
Main Index |
Thread Index |
Old Index