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.9.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/261d142c91df
branches: trunk
changeset: 371243:261d142c91df
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jan 07 17:13:30 2022 +0000
description:
py-astroid: updated to 2.9.2
What's New in astroid 2.9.2?
============================
Release date: 2022-01-04
* Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass``
was not accessible anymore.
What's New in astroid 2.9.1?
============================
Release date: 2021-12-31
* ``NodeNG.frame()`` and ``NodeNG.statement()`` will start raising ``ParentMissingError``
instead of ``AttributeError`` in astroid 3.0. This behaviour can already be triggered
by passing ``future=True`` to a ``frame()`` or ``statement()`` call.
* Prefer the module loader get_source() method in AstroidBuilder's
module_build() when possible to avoid assumptions about source
code being available on a filesystem. Otherwise the source cannot
be found and application behavior changes when running within an
embedded hermetic interpreter environment (pyoxidizer, etc.).
* Require Python 3.6.2 to use astroid.
* Removed custom ``distutils`` handling for resolving paths to submodules.
* Fix ``deque.insert()`` signature in ``collections`` brain.
* Fix ``Module`` nodes not having a ``col_offset``, ``end_lineno``, and ``end_col_offset``
attributes.
* Fix typing and update explanation for ``Arguments.args`` being ``None``.
* Fix crash if a variable named ``type`` is subscripted in a generator expression.
* Enable inference of dataclass import from marshmallow_dataclass.
This allows the dataclasses brain to recognize dataclasses annotated by marshmallow_dataclass.
* Resolve symlinks in the import path
Fixes inference error when the import path includes symlinks (e.g. Python
installed on macOS via Homebrew).
diffstat:
devel/py-astroid/Makefile | 5 ++---
devel/py-astroid/PLIST | 14 ++++++++++----
devel/py-astroid/distinfo | 8 ++++----
3 files changed, 16 insertions(+), 11 deletions(-)
diffs (62 lines):
diff -r eb9876e6eb74 -r 261d142c91df devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Fri Jan 07 17:04:31 2022 +0000
+++ b/devel/py-astroid/Makefile Fri Jan 07 17:13:30 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2022/01/04 20:52:50 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2022/01/07 17:13:30 adam Exp $
-DISTNAME= astroid-2.9.0
+DISTNAME= astroid-2.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
diff -r eb9876e6eb74 -r 261d142c91df devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST Fri Jan 07 17:04:31 2022 +0000
+++ b/devel/py-astroid/PLIST Fri Jan 07 17:13:30 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2021/10/26 12:20:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2022/01/07 17:13:30 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -187,6 +187,9 @@
${PYSITELIB}/astroid/exceptions.py
${PYSITELIB}/astroid/exceptions.pyc
${PYSITELIB}/astroid/exceptions.pyo
+${PYSITELIB}/astroid/filter_statements.py
+${PYSITELIB}/astroid/filter_statements.pyc
+${PYSITELIB}/astroid/filter_statements.pyo
${PYSITELIB}/astroid/helpers.py
${PYSITELIB}/astroid/helpers.pyc
${PYSITELIB}/astroid/helpers.pyo
@@ -241,9 +244,12 @@
${PYSITELIB}/astroid/nodes/node_ng.py
${PYSITELIB}/astroid/nodes/node_ng.pyc
${PYSITELIB}/astroid/nodes/node_ng.pyo
-${PYSITELIB}/astroid/nodes/scoped_nodes.py
-${PYSITELIB}/astroid/nodes/scoped_nodes.pyc
-${PYSITELIB}/astroid/nodes/scoped_nodes.pyo
+${PYSITELIB}/astroid/nodes/scoped_nodes/__init__.py
+${PYSITELIB}/astroid/nodes/scoped_nodes/__init__.pyc
+${PYSITELIB}/astroid/nodes/scoped_nodes/__init__.pyo
+${PYSITELIB}/astroid/nodes/scoped_nodes/scoped_nodes.py
+${PYSITELIB}/astroid/nodes/scoped_nodes/scoped_nodes.pyc
+${PYSITELIB}/astroid/nodes/scoped_nodes/scoped_nodes.pyo
${PYSITELIB}/astroid/objects.py
${PYSITELIB}/astroid/objects.pyc
${PYSITELIB}/astroid/objects.pyo
diff -r eb9876e6eb74 -r 261d142c91df devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Fri Jan 07 17:04:31 2022 +0000
+++ b/devel/py-astroid/distinfo Fri Jan 07 17:13:30 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.45 2021/12/08 16:21:21 adam Exp $
+$NetBSD: distinfo,v 1.46 2022/01/07 17:13:30 adam Exp $
-BLAKE2s (astroid-2.9.0.tar.gz) = 1b1ac656fa1b99d3381f0d52c77479db569604ea2f67aed25563e4111a6afffd
-SHA512 (astroid-2.9.0.tar.gz) = 930ab01ccf9fc539e2af9e8bae0f3598b4bbea13abbf8c3a7ae9cf760d0611e8feeaa375c0b3b2dc477f1a7ca56a164e3561bcebc0b668578c1e46e7e0818b78
-Size (astroid-2.9.0.tar.gz) = 204443 bytes
+BLAKE2s (astroid-2.9.2.tar.gz) = d2cd6047b6760d8a7040ee8c85f37e20d85d88953270b3797db239dd0d3a3186
+SHA512 (astroid-2.9.2.tar.gz) = 7076d566f881f5512c2965899355971ea45e929a3161e4c72adc73d610a91414cd98c76f7316dae5a38a546479831138cb4322f819b196d166e2be86749d73b4
+Size (astroid-2.9.2.tar.gz) = 207420 bytes
Home |
Main Index |
Thread Index |
Old Index