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.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dac994f951ee
branches:  trunk
changeset: 315534:dac994f951ee
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 26 09:00:52 2018 +0000

description:
py-astroid: updated to 2.1.0

What's New in astroid 2.1.0?

* threading.Lock.acquire has the timeout parameter now.

* Pass parameters by keyword name when inferring sequences.

* Correct line numbering for f-strings for complex embedded expressions

  When a f-string contained a complex expression, such as an attribute access,
  we weren't cloning all the subtree of the f-string expression for attaching the correct
  line number. This problem is coming from the builtin AST parser which gives for the f-string
  and for its underlying elements the line number 1, but this is causing all sorts of bugs and
  problems in pylint, which expects correct line numbering.

* Add support for argparse.Namespace

* async functions are now inferred as AsyncGenerator when inferring their call result.

* Filter out Uninferable when inferring the call result result of a class with an uninferable __call__ method.

* Make compatible with AST changes in Python 3.8.

* Subscript inference (e.g. "a[i]") now pays attention to multiple inferred values for value
  (e.g. "a") and slice (e.g. "i")

diffstat:

 devel/py-astroid/Makefile |   4 ++--
 devel/py-astroid/PLIST    |   5 ++++-
 devel/py-astroid/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 6b72ae275670 -r dac994f951ee devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Mon Nov 26 07:12:39 2018 +0000
+++ b/devel/py-astroid/Makefile Mon Nov 26 09:00:52 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2018/08/10 12:16:23 adam Exp $
+# $NetBSD: Makefile,v 1.22 2018/11/26 09:00:52 adam Exp $
 
-DISTNAME=      astroid-2.0.4
+DISTNAME=      astroid-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
diff -r 6b72ae275670 -r dac994f951ee devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST    Mon Nov 26 07:12:39 2018 +0000
+++ b/devel/py-astroid/PLIST    Mon Nov 26 09:00:52 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2018/07/17 10:05:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/11/26 09:00:52 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,6 +22,9 @@
 ${PYSITELIB}/astroid/bases.py
 ${PYSITELIB}/astroid/bases.pyc
 ${PYSITELIB}/astroid/bases.pyo
+${PYSITELIB}/astroid/brain/brain_argparse.py
+${PYSITELIB}/astroid/brain/brain_argparse.pyc
+${PYSITELIB}/astroid/brain/brain_argparse.pyo
 ${PYSITELIB}/astroid/brain/brain_attrs.py
 ${PYSITELIB}/astroid/brain/brain_attrs.pyc
 ${PYSITELIB}/astroid/brain/brain_attrs.pyo
diff -r 6b72ae275670 -r dac994f951ee devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Mon Nov 26 07:12:39 2018 +0000
+++ b/devel/py-astroid/distinfo Mon Nov 26 09:00:52 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2018/08/10 12:16:23 adam Exp $
+$NetBSD: distinfo,v 1.16 2018/11/26 09:00:52 adam Exp $
 
-SHA1 (astroid-2.0.4.tar.gz) = d06c88f278df392176968df5594c324f7e8ed9b9
-RMD160 (astroid-2.0.4.tar.gz) = 4f525192794b7c408c719e4d9731801c2a697b96
-SHA512 (astroid-2.0.4.tar.gz) = 20e9f0230ce520e60d74e7ddf24906e7a4ab7b04c0d3199674cd09f9d6406bbc73225d1a49f07c7f947deeee8c71924df227d4d6c7e34633643f81bdde677894
-Size (astroid-2.0.4.tar.gz) = 273871 bytes
+SHA1 (astroid-2.1.0.tar.gz) = ac519ddec365cf36ca26e175999e5c92b9c1eda6
+RMD160 (astroid-2.1.0.tar.gz) = d44ca4b42d075d31d45512c7ef7f8897a80c6d98
+SHA512 (astroid-2.1.0.tar.gz) = ca200d51613782a85c3f164e9ef55bac1de288c45e7662645ef080cc84a88e34499b2a924b130e9215418842c25352bb948c02d569ac45c251ac37bc57f0dcd8
+Size (astroid-2.1.0.tar.gz) = 276196 bytes



Home | Main Index | Thread Index | Old Index