Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id E27A11A921F for ; Wed, 20 Apr 2022 10:42:12 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 0715684EA3; Wed, 20 Apr 2022 10:42:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 42A7C84D8C for ; Wed, 20 Apr 2022 10:42:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id zeAayhSI0ZnZ for ; Wed, 20 Apr 2022 10:42:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5680284D6B for ; Wed, 20 Apr 2022 10:42:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4C4DBFB1A; Wed, 20 Apr 2022 10:42:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_165045133029870" MIME-Version: 1.0 Date: Wed, 20 Apr 2022 10:42:10 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-astroid To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20220420104210.4C4DBFB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_165045133029870 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Wed Apr 20 10:42:10 UTC 2022 Modified Files: pkgsrc/devel/py-astroid: Makefile PLIST distinfo Log Message: py-astroid: updated to 2.11.3 What's New in astroid 2.11.3? ============================= * Fixed an error in the Qt brain when building ``instance_attrs``. * Fixed a crash in the ``gi`` brain. What's New in astroid 2.11.2? ============================= * Avoided adding the name of a parent namedtuple to its child's locals. What's New in astroid 2.11.1? ============================= * Promoted ``getattr()`` from ``astroid.scoped_nodes.FunctionDef`` to its parent ``astroid.scoped_nodes.Lambda``. * Fixed crash on direct inference via ``nodes.FunctionDef._infer``. What's New in astroid 2.11.0? ============================= * Add new (optional) ``doc_node`` attribute to ``nodes.Module``, ``nodes.ClassDef``, and ``nodes.FunctionDef``. * Accessing the ``doc`` attribute of ``nodes.Module``, ``nodes.ClassDef``, and ``nodes.FunctionDef`` has been deprecated in favour of the ``doc_node`` attribute. Note: ``doc_node`` is an (optional) ``nodes.Const`` whereas ``doc`` was an (optional) ``str``. * Passing the ``doc`` argument to the ``__init__`` of ``nodes.Module``, ``nodes.ClassDef``, and ``nodes.FunctionDef`` has been deprecated in favour of the ``postinit`` ``doc_node`` attribute. Note: ``doc_node`` is an (optional) ``nodes.Const`` whereas ``doc`` was an (optional) ``str``. * Replace custom ``cachedproperty`` with ``functools.cached_property`` and deprecate it for Python 3.8+. * Set ``end_lineno`` and ``end_col_offset`` attributes to ``None`` for all nodes with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead to unexpected errors. Overwriting them with ``None`` will cause a fallback to the already supported way of PyPy 3.7. * Add missing ``shape`` parameter to numpy ``zeros_like``, ``ones_like``, and ``full_like`` methods. * Only pin ``wrapt`` on the major version. What's New in astroid 2.10.0? ============================= * Fixed inference of ``self`` in binary operations in which ``self`` is part of a list or tuple. * Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which resulted in instance arguments missing on these nodes. * Fixed a crash on ``Super.getattr`` when the attribute was previously uninferable due to a cache limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the ``__init__`` attribute) is very large. * Inlcude names of keyword-only arguments in ``astroid.scoped_nodes.Lambda.argnames``. * Fixed a crash inferring on a ``NewType`` named with an f-string. * Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which added a new `attrs` module alongside the existing `attr`. * Use the ``end_lineno`` attribute for the ``NodeNG.tolineno`` property when it is available. * Add ``is_dataclass`` attribute to ``ClassDef`` nodes. * Use ``sysconfig`` instead of ``distutils`` to determine the location of python stdlib files and packages. * Fixed crash with recursion error for inference of class attributes that referenced the class itself. * Fixed crash when trying to infer ``items()`` on the ``__dict__`` attribute of an imported module. * Add optional ``NodeNG.position`` attribute. Used for block nodes to highlight position of keyword(s) and name in cases where the AST doesn't provide good enough positional information. E.g. ``nodes.ClassDef``, ``nodes.FunctionDef``. * Fix ``ClassDef.fromlineno``. For Python < 3.8 the ``lineno`` attribute includes decorators. ``fromlineno`` should return the line of the ``class`` statement itself. * Performance improvements. Only run expensive decorator functions when non-default Deprecation warnings are enabled, eg. during a Pytest run. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/py-astroid/Makefile cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-astroid/PLIST cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/py-astroid/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_165045133029870 Content-Disposition: inline Content-Length: 3345 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-astroid/Makefile diff -u pkgsrc/devel/py-astroid/Makefile:1.54 pkgsrc/devel/py-astroid/Makefile:1.55 --- pkgsrc/devel/py-astroid/Makefile:1.54 Mon Jan 10 11:31:00 2022 +++ pkgsrc/devel/py-astroid/Makefile Wed Apr 20 10:42:10 2022 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.54 2022/01/10 11:31:00 adam Exp $ +# $NetBSD: Makefile,v 1.55 2022/04/20 10:42:10 adam Exp $ -DISTNAME= astroid-2.9.3 +DISTNAME= astroid-2.11.3 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.17 pkgsrc/devel/py-astroid/PLIST:1.18 --- pkgsrc/devel/py-astroid/PLIST:1.17 Fri Jan 7 17:13:30 2022 +++ pkgsrc/devel/py-astroid/PLIST Wed Apr 20 10:42:10 2022 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.17 2022/01/07 17:13:30 adam Exp $ +@comment $NetBSD: PLIST,v 1.18 2022/04/20 10:42:10 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -247,9 +247,18 @@ ${PYSITELIB}/astroid/nodes/node_ng.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/mixin.py +${PYSITELIB}/astroid/nodes/scoped_nodes/mixin.pyc +${PYSITELIB}/astroid/nodes/scoped_nodes/mixin.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/nodes/scoped_nodes/utils.py +${PYSITELIB}/astroid/nodes/scoped_nodes/utils.pyc +${PYSITELIB}/astroid/nodes/scoped_nodes/utils.pyo +${PYSITELIB}/astroid/nodes/utils.py +${PYSITELIB}/astroid/nodes/utils.pyc +${PYSITELIB}/astroid/nodes/utils.pyo ${PYSITELIB}/astroid/objects.py ${PYSITELIB}/astroid/objects.pyc ${PYSITELIB}/astroid/objects.pyo @@ -271,6 +280,9 @@ ${PYSITELIB}/astroid/test_utils.pyo ${PYSITELIB}/astroid/transforms.py ${PYSITELIB}/astroid/transforms.pyc ${PYSITELIB}/astroid/transforms.pyo +${PYSITELIB}/astroid/typing.py +${PYSITELIB}/astroid/typing.pyc +${PYSITELIB}/astroid/typing.pyo ${PYSITELIB}/astroid/util.py ${PYSITELIB}/astroid/util.pyc ${PYSITELIB}/astroid/util.pyo Index: pkgsrc/devel/py-astroid/distinfo diff -u pkgsrc/devel/py-astroid/distinfo:1.47 pkgsrc/devel/py-astroid/distinfo:1.48 --- pkgsrc/devel/py-astroid/distinfo:1.47 Mon Jan 10 11:31:00 2022 +++ pkgsrc/devel/py-astroid/distinfo Wed Apr 20 10:42:10 2022 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.47 2022/01/10 11:31:00 adam Exp $ +$NetBSD: distinfo,v 1.48 2022/04/20 10:42:10 adam Exp $ -BLAKE2s (astroid-2.9.3.tar.gz) = 9df19f356914eb01ffb21073c454bacb7f78cf6f372a5f7da680b0d8b320ee5a -SHA512 (astroid-2.9.3.tar.gz) = 66dbbbb11beb534661ba03ef94bbaabdb903422c34d4589a3e1e1196eed640fa6fbbd70980402475fcd76543b68fd9cae321c49ed3510044451439486a9ed444 -Size (astroid-2.9.3.tar.gz) = 207480 bytes +BLAKE2s (astroid-2.11.3.tar.gz) = 6f5308562abd408a840a765a9a86242a0c42465a019cb171c25b3c71bc4499b4 +SHA512 (astroid-2.11.3.tar.gz) = 728f74f5e2789f31539eba82dbccac4b1da8a7d1f10cb254f78efabec42b8e85f53b0cce04e8de76d92e4b4dd209b12433da567cf329280f2b34679d33cffa7d +Size (astroid-2.11.3.tar.gz) = 205673 bytes --_----------=_165045133029870--