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:           Mon Jul 18 18:57:41 UTC 2022

Modified Files:
        pkgsrc/devel/py-astroid: Makefile PLIST distinfo

Log Message:
py-astroid: updated to 2.12.2

What's New in astroid 2.12.2?
=============================

* Fixed crash in modulo operations for divisions by zero.

* Fixed crash with recursion limits during inference.

What's New in astroid 2.12.1?
=============================

* Fix a crash when inferring old-style string formatting (``%``) using tuples.

* Fix a crash when ``None`` (or a value inferred as ``None``) participates in a
  ``**`` expression.

* Fix a crash involving properties within ``if`` blocks.

What's New in astroid 2.12.0?
=============================

* Fix signal has no ``connect`` member for PySide2 5.15.2+ and PySide6

* ``astroid`` now requires Python 3.7.2 to run.

* Avoid setting a Call as a base for classes created using ``six.with_metaclass()``.

* Fix detection of builtins on ``PyPy`` 3.9.

* Fix ``re`` brain on Python ``3.11``. The flags now come from ``re._compile``.

* Build ``nodes.Module`` for frozen modules which have location information in their
  ``ModuleSpec``.

* The ``astroid.mixins`` module has been deprecated and marked for removal in 3.0.0.

* Capture and log messages emitted by C extensions when importing them.
  This prevents contaminating programmatic output, e.g. pylint's JSON reporter.

* Calls to ``str.format`` are now correctly inferred.

* ``__new__`` and ``__init__`` have been added to the ``ObjectModel`` and are now
  inferred as ``BoundMethods``.

* Old style string formatting (using ``%`` operators) is now correctly inferred.

* Adds missing enums from ``ssl`` module.

* Remove dependency on ``pkg_resources`` from ``setuptools``.

* Allowed ``AstroidManager.clear_cache`` to reload necessary brain plugins.

* Fixed incorrect inferences after rebuilding the builtins module, e.g. by calling
  ``AstroidManager.clear_cache``.

* On Python versions >= 3.9, ``astroid`` now understands subscripting
  builtin classes such as ``enumerate`` or ``staticmethod``.

* Fixed inference of ``Enums`` when they are imported under an alias.

* Rename ``ModuleSpec`` -> ``module_type`` constructor parameter to match attribute
  name and improve typing. Use ``type`` instead.

* ``ObjectModel`` and ``ClassModel`` now know about their ``__new__`` and ``__call__`` attributes.

* Fixed pylint ``not-callable`` false positive with nested-tuple assignment in a for-loop.

* Instances of builtins created with ``__new__(cls, value)`` are now inferred.

* Infer the return value of the ``.copy()`` method on ``dict``, ``list``, ``set``,
  and ``frozenset``.

* Fixed inference of elements of living container objects such as tuples and sets in the
  ``sys`` and ``ssl`` modules.

* Add ``pathlib`` brain to handle ``pathlib.PurePath.parents`` inference.

* Avoid inferring the results of ``**`` operations involving values greater than ``1e5``
  to avoid expensive computation.

* Fix test for Python ``3.11``. In some instances ``err.__traceback__`` will
  be uninferable now.

* Add brain for numpy core module ``einsumfunc``.

* Infer the ``DictUnpack`` value for ``Dict.getitem`` calls.

* Fix a crash involving properties within ``try ... except`` blocks.

* Prevent creating ``Instance`` objects that proxy other ``Instance``s when there is
  ambiguity (or user error) in calling ``__new__(cls)``.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-astroid/PLIST
cvs rdiff -u -r1.51 -r1.52 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.58 pkgsrc/devel/py-astroid/Makefile:1.59
--- pkgsrc/devel/py-astroid/Makefile:1.58       Wed Jun 15 11:21:01 2022
+++ pkgsrc/devel/py-astroid/Makefile    Mon Jul 18 18:57:41 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2022/06/15 11:21:01 adam Exp $
+# $NetBSD: Makefile,v 1.59 2022/07/18 18:57:41 adam Exp $
 
-DISTNAME=      astroid-2.11.6
+DISTNAME=      astroid-2.12.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}

Index: pkgsrc/devel/py-astroid/PLIST
diff -u pkgsrc/devel/py-astroid/PLIST:1.18 pkgsrc/devel/py-astroid/PLIST:1.19
--- pkgsrc/devel/py-astroid/PLIST:1.18  Wed Apr 20 10:42:10 2022
+++ pkgsrc/devel/py-astroid/PLIST       Mon Jul 18 18:57:41 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2022/04/20 10:42:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/07/18 18:57:41 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -88,6 +88,9 @@ ${PYSITELIB}/astroid/brain/brain_namedtu
 ${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
 ${PYSITELIB}/astroid/brain/brain_numpy_core_fromnumeric.py
 ${PYSITELIB}/astroid/brain/brain_numpy_core_fromnumeric.pyc
 ${PYSITELIB}/astroid/brain/brain_numpy_core_fromnumeric.pyo
@@ -118,6 +121,9 @@ ${PYSITELIB}/astroid/brain/brain_numpy_r
 ${PYSITELIB}/astroid/brain/brain_numpy_utils.py
 ${PYSITELIB}/astroid/brain/brain_numpy_utils.pyc
 ${PYSITELIB}/astroid/brain/brain_numpy_utils.pyo
+${PYSITELIB}/astroid/brain/brain_pathlib.py
+${PYSITELIB}/astroid/brain/brain_pathlib.pyc
+${PYSITELIB}/astroid/brain/brain_pathlib.pyo
 ${PYSITELIB}/astroid/brain/brain_pkg_resources.py
 ${PYSITELIB}/astroid/brain/brain_pkg_resources.pyc
 ${PYSITELIB}/astroid/brain/brain_pkg_resources.pyo
@@ -232,6 +238,9 @@ ${PYSITELIB}/astroid/node_classes.pyo
 ${PYSITELIB}/astroid/nodes/__init__.py
 ${PYSITELIB}/astroid/nodes/__init__.pyc
 ${PYSITELIB}/astroid/nodes/__init__.pyo
+${PYSITELIB}/astroid/nodes/_base_nodes.py
+${PYSITELIB}/astroid/nodes/_base_nodes.pyc
+${PYSITELIB}/astroid/nodes/_base_nodes.pyo
 ${PYSITELIB}/astroid/nodes/as_string.py
 ${PYSITELIB}/astroid/nodes/as_string.pyc
 ${PYSITELIB}/astroid/nodes/as_string.pyo

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.51 pkgsrc/devel/py-astroid/distinfo:1.52
--- pkgsrc/devel/py-astroid/distinfo:1.51       Wed Jun 15 11:21:01 2022
+++ pkgsrc/devel/py-astroid/distinfo    Mon Jul 18 18:57:41 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.51 2022/06/15 11:21:01 adam Exp $
+$NetBSD: distinfo,v 1.52 2022/07/18 18:57:41 adam Exp $
 
-BLAKE2s (astroid-2.11.6.tar.gz) = 5e6ebe7ee2078eac8b7ec94dce996462e696538ef5520d50e16801198fb5a4b0
-SHA512 (astroid-2.11.6.tar.gz) = 6e6ff9755a9868414cd4d668ede75fe0f768103d53853bf8e8678ad26689dacc3b12a4650bc904c8f2b1fa0fedf21cb0c38a12ee8c3320b8afd05b165c7d12b0
-Size (astroid-2.11.6.tar.gz) = 205923 bytes
+BLAKE2s (astroid-2.12.2.tar.gz) = 14058c44e6963b36cdcafeae8f2f5f58c74db15cd3c38f7c8b913f139373f8f4
+SHA512 (astroid-2.12.2.tar.gz) = d0c425209b8b9cd3011a52554d799d29fc68bc042a91d69c5fe07e726fe96e6252963112a1f3b3f088f72d9e49bab6892ca325595c538b312b5a37ab794693cc
+Size (astroid-2.12.2.tar.gz) = 215145 bytes



Home | Main Index | Thread Index | Old Index