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.8.4
details: https://anonhg.NetBSD.org/pkgsrc/rev/c3acc49cc333
branches: trunk
changeset: 768580:c3acc49cc333
user: adam <adam%pkgsrc.org@localhost>
date: Tue Oct 26 12:20:38 2021 +0000
description:
py-astroid: updated to 2.8.4
What's New in astroid 2.8.4?
============================
* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes.
When these nodes occur in ``Arguments``, ``Keyword`` or ``Comprehension`` nodes these
methods now correctly point to the outer-scope of the ``FunctionDef``,
``ClassDef``, or ``Comprehension``.
* Fix the ``set_local`` function for ``NamedExpr`` nodes.
When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` nodes these
nodes are now correctly added to the locals of the ``FunctionDef``,
``ClassDef``, or ``Comprehension``.
What's New in astroid 2.8.3?
============================
* Add support for wrapt 1.13
* Fixes handling of nested partial functions
* Fix regression with the import resolver
* Fix crash with invalid dataclass field call
What's New in astroid 2.8.2?
============================
Same content than 2.8.2-dev0 / 2.8.1, released in order to fix a
mistake when creating the tag.
What's New in astroid 2.8.1?
============================
* Adds support of type hints inside numpy's brains.
* Enable inference of dataclass import from pydantic.dataclasses.
This allows the dataclasses brain to recognize pydantic dataclasses.
* Fix regression on ClassDef inference
* Fix regression on Compare node inference
* Extended attrs brain to support the provisional APIs
* Astroid does not trigger it's own deprecation warning anymore.
* Improve brain for ``typing.Callable`` and ``typing.Type``.
* Fix bug with importing namespace packages with relative imports
* The ``is_typing_guard`` and ``is_sys_guard`` functions are deprecated and will
be removed in 3.0.0. They are complex meta-inference functions that are better
suited for pylint. Import them from ``pylint.checkers.utils`` instead
(requires pylint ``2.12``).
* Suppress the conditional between applied brains and dynamic import authorized
modules. (Revert the "The transforms related to a module are applied only if this
module has not been explicitly authorized to be imported" of version 2.7.3)
* Adds a brain to infer the ``numpy.ma.masked_where`` function.
What's New in astroid 2.8.0?
============================
* Add additional deprecation warnings in preparation for astroid 3.0
* Require attributes for some node classes with ``__init__`` call.
* ``name`` (``str``) for ``Name``, ``AssignName``, ``DelName``
* ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``, ``DelAttr``
* ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``, ``UnaryOp``
* ``names`` (``list[tuple[str, str | None]]``) for ``Import``
* Support pyz imports
* Add ``node_ancestors`` method to ``NodeNG`` for obtaining the ancestors of nodes.
* It's now possible to infer the value of comparison nodes
* Fixed bug in inference of dataclass field calls.
diffstat:
devel/py-astroid/Makefile | 8 ++++----
devel/py-astroid/PLIST | 8 +++++++-
devel/py-astroid/distinfo | 8 ++++----
3 files changed, 15 insertions(+), 9 deletions(-)
diffs (66 lines):
diff -r 9b8a7ad2affe -r c3acc49cc333 devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Tue Oct 26 11:33:42 2021 +0000
+++ b/devel/py-astroid/Makefile Tue Oct 26 12:20:38 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.48 2021/09/13 06:50:20 adam Exp $
+# $NetBSD: Makefile,v 1.49 2021/10/26 12:20:38 adam Exp $
-DISTNAME= astroid-2.7.3
+DISTNAME= astroid-2.8.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
@@ -16,9 +16,9 @@
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
+.if ${_PYTHON_VERSION} < 310
DEPENDS+= ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
-DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions
.endif
USE_LANGUAGES= # none
diff -r 9b8a7ad2affe -r c3acc49cc333 devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST Tue Oct 26 11:33:42 2021 +0000
+++ b/devel/py-astroid/PLIST Tue Oct 26 12:20:38 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2021/09/13 06:50:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2021/10/26 12:20:38 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -106,6 +106,9 @@
${PYSITELIB}/astroid/brain/brain_numpy_core_umath.py
${PYSITELIB}/astroid/brain/brain_numpy_core_umath.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_umath.pyo
+${PYSITELIB}/astroid/brain/brain_numpy_ma.py
+${PYSITELIB}/astroid/brain/brain_numpy_ma.pyc
+${PYSITELIB}/astroid/brain/brain_numpy_ma.pyo
${PYSITELIB}/astroid/brain/brain_numpy_ndarray.py
${PYSITELIB}/astroid/brain/brain_numpy_ndarray.pyc
${PYSITELIB}/astroid/brain/brain_numpy_ndarray.pyo
@@ -136,6 +139,9 @@
${PYSITELIB}/astroid/brain/brain_scipy_signal.py
${PYSITELIB}/astroid/brain/brain_scipy_signal.pyc
${PYSITELIB}/astroid/brain/brain_scipy_signal.pyo
+${PYSITELIB}/astroid/brain/brain_signal.py
+${PYSITELIB}/astroid/brain/brain_signal.pyc
+${PYSITELIB}/astroid/brain/brain_signal.pyo
${PYSITELIB}/astroid/brain/brain_six.py
${PYSITELIB}/astroid/brain/brain_six.pyc
${PYSITELIB}/astroid/brain/brain_six.pyo
diff -r 9b8a7ad2affe -r c3acc49cc333 devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Tue Oct 26 11:33:42 2021 +0000
+++ b/devel/py-astroid/distinfo Tue Oct 26 12:20:38 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.42 2021/10/26 10:18:10 nia Exp $
+$NetBSD: distinfo,v 1.43 2021/10/26 12:20:38 adam Exp $
-BLAKE2s (astroid-2.7.3.tar.gz) = 72992608871d90986880878ddbade6f2a500cd9a5189750601b8aa2bd0f162f2
-SHA512 (astroid-2.7.3.tar.gz) = 2a3d2df3cdd6013ae8cc874afc110270be453883464817d5174396d9605380b99ebb4658e44ae11f223407944c8a44b4633828eeecc4040e730d7efd70b9ea1d
-Size (astroid-2.7.3.tar.gz) = 195637 bytes
+RMD160 (astroid-2.8.4.tar.gz) = 103bc74bb0c0752e1f7f9afb217049128488168a
+SHA512 (astroid-2.8.4.tar.gz) = 76a278707603e104527a1f793ef2c86accb6a62f1e8718ad6b04c5e23d3af0a4f81ca825e5c984ccf7630ef71fb96834ef5af24e771a9c287e63b94940241cbd
+Size (astroid-2.8.4.tar.gz) = 200331 bytes
Home |
Main Index |
Thread Index |
Old Index