py-astroid: updated to 2.7.3

What's New in astroid 2.7.3?
============================
* The transforms related to a module are applied only if this module has not been explicitly authorized to be imported
  (i.e is not in AstroidManager.extension_package_whitelist). Solves the following issues if numpy is authorized to be imported
  through the `extension-pkg-allow-list` option.
* Fixed bug in attribute inference from inside method calls.
* Fixed bug in inference for superclass instance methods called
  from the class rather than an instance.
* Fixed bug in inference of chained attributes where a subclass
  had an attribute that was an instance of its superclass.
* Adds a brain for the ctypes module.
* When processing dataclass attributes, exclude the same type hints from abc.collections
  as from typing.
* Apply dataclass inference to pydantic's dataclasses.


What's New in astroid 2.7.2?
============================
* ``BaseContainer`` is now public, and will replace ``_BaseContainer`` completely in astroid 3.0.
* The call cache used by inference functions produced by ``inference_tip``
  can now be cleared via ``clear_inference_tip_cache``.
* ``astroid.const.BUILTINS`` and ``astroid.bases.BUILTINS`` are not used internally anymore
  and will be removed in astroid 3.0. Simply replace this by the string 'builtins' for better
  performances and clarity.
* Add inference for dataclass initializer method.


What's New in astroid 2.7.1?
============================
* When processing dataclass attributes, only do typing inference on collection types.
  Support for instantiating other typing types is left for the future, if desired.
* Fixed LookupMixIn missing from ``astroid.node_classes``.


What's New in astroid 2.7.0?
============================
* Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of
  ``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0.
* Add support for arbitrary Enum subclass hierachies
* Add inference tips for dataclass attributes, including dataclasses.field calls.
  Also add support for InitVar.
* Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module.
This commit is contained in:
adam 2021-09-13 06:50:20 +00:00
parent 61349ecd07
commit 36cb80e076
3 changed files with 32 additions and 14 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.47 2021/08/04 09:07:38 adam Exp $
# $NetBSD: Makefile,v 1.48 2021/09/13 06:50:20 adam Exp $
DISTNAME= astroid-2.6.6
DISTNAME= astroid-2.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.14 2021/06/30 05:59:28 adam Exp $
@comment $NetBSD: PLIST,v 1.15 2021/09/13 06:50:20 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -16,9 +16,6 @@ ${PYSITELIB}/astroid/_ast.pyo
${PYSITELIB}/astroid/arguments.py
${PYSITELIB}/astroid/arguments.pyc
${PYSITELIB}/astroid/arguments.pyo
${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
@ -46,6 +43,9 @@ ${PYSITELIB}/astroid/brain/brain_collections.pyo
${PYSITELIB}/astroid/brain/brain_crypt.py
${PYSITELIB}/astroid/brain/brain_crypt.pyc
${PYSITELIB}/astroid/brain/brain_crypt.pyo
${PYSITELIB}/astroid/brain/brain_ctypes.py
${PYSITELIB}/astroid/brain/brain_ctypes.pyc
${PYSITELIB}/astroid/brain/brain_ctypes.pyo
${PYSITELIB}/astroid/brain/brain_curses.py
${PYSITELIB}/astroid/brain/brain_curses.pyc
${PYSITELIB}/astroid/brain/brain_curses.pyo
@ -157,6 +157,9 @@ ${PYSITELIB}/astroid/brain/brain_type.pyo
${PYSITELIB}/astroid/brain/brain_typing.py
${PYSITELIB}/astroid/brain/brain_typing.pyc
${PYSITELIB}/astroid/brain/brain_typing.pyo
${PYSITELIB}/astroid/brain/brain_unittest.py
${PYSITELIB}/astroid/brain/brain_unittest.pyc
${PYSITELIB}/astroid/brain/brain_unittest.pyo
${PYSITELIB}/astroid/brain/brain_uuid.py
${PYSITELIB}/astroid/brain/brain_uuid.pyc
${PYSITELIB}/astroid/brain/brain_uuid.pyo
@ -217,9 +220,24 @@ ${PYSITELIB}/astroid/modutils.pyo
${PYSITELIB}/astroid/node_classes.py
${PYSITELIB}/astroid/node_classes.pyc
${PYSITELIB}/astroid/node_classes.pyo
${PYSITELIB}/astroid/nodes.py
${PYSITELIB}/astroid/nodes.pyc
${PYSITELIB}/astroid/nodes.pyo
${PYSITELIB}/astroid/nodes/__init__.py
${PYSITELIB}/astroid/nodes/__init__.pyc
${PYSITELIB}/astroid/nodes/__init__.pyo
${PYSITELIB}/astroid/nodes/as_string.py
${PYSITELIB}/astroid/nodes/as_string.pyc
${PYSITELIB}/astroid/nodes/as_string.pyo
${PYSITELIB}/astroid/nodes/const.py
${PYSITELIB}/astroid/nodes/const.pyc
${PYSITELIB}/astroid/nodes/const.pyo
${PYSITELIB}/astroid/nodes/node_classes.py
${PYSITELIB}/astroid/nodes/node_classes.pyc
${PYSITELIB}/astroid/nodes/node_classes.pyo
${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/objects.py
${PYSITELIB}/astroid/objects.pyc
${PYSITELIB}/astroid/objects.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.39 2021/08/04 09:07:38 adam Exp $
$NetBSD: distinfo,v 1.40 2021/09/13 06:50:20 adam Exp $
SHA1 (astroid-2.6.6.tar.gz) = d4209486ab95e9a6d8b5dd3e86c88cdf0b0d5675
RMD160 (astroid-2.6.6.tar.gz) = 1be1b8c13ba28ae630b434dca79718388689f583
SHA512 (astroid-2.6.6.tar.gz) = cdafeb085e4242e53029bd34c1e96a682ffe0ef62ef042c6a866a992af552068fee23a2daa6f1ae63e31cd43f53bb8f08e18f9eb0b1ffa616da84ea0e9288fad
Size (astroid-2.6.6.tar.gz) = 190240 bytes
SHA1 (astroid-2.7.3.tar.gz) = d7c88a2550bf6dd5591e752622a033d0564ab683
RMD160 (astroid-2.7.3.tar.gz) = 99b3eeb8f3043e9566bdb220fe15134db3b54c50
SHA512 (astroid-2.7.3.tar.gz) = 2a3d2df3cdd6013ae8cc874afc110270be453883464817d5174396d9605380b99ebb4658e44ae11f223407944c8a44b4633828eeecc4040e730d7efd70b9ea1d
Size (astroid-2.7.3.tar.gz) = 195637 bytes