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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edcb7687c73f
branches:  trunk
changeset: 453636:edcb7687c73f
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jun 01 05:14:56 2021 +0000

description:
py-astroid: updated to 2.5.7

What's New in astroid 2.5.7?

* Fix six.with_metaclass transformation so it doesn't break user defined transformations.
* Fix detection of relative imports.
* Fix inference of instance attributes defined in base classes
* Update `infer_named_tuple` brain to reject namedtuple definitions
  that would raise ValueError
* Do not set instance attributes on builtin object()
* Fix some spurious cycles detected in ``context.path`` leading to more cases
  that can now be inferred
* Add ``kind`` field to ``Const`` nodes, matching the structure of the built-in ast Const.
  The kind field is "u" if the literal is a u-prefixed string, and ``None`` otherwise.
* Fix property inference in class contexts for properties defined on the metaclass
* Update enum brain to fix definition of __members__ for subclass-defined Enums
* Update random brain to fix a crash with inference of some sequence elements
* Fix inference of attributes defined in a base class that is an inner class
* Allow inferring a return value of None for non-abstract empty functions and
  functions with no return statements (implicitly returning None)
* scm_setuptools has been added to the packaging.
* Astroid's tags are now the standard form ``vX.Y.Z`` and not ``astroid-X.Y.Z`` anymore.
* Add initial support for Pattern Matching in Python 3.10

diffstat:

 devel/py-astroid/Makefile |   6 ++++--
 devel/py-astroid/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (43 lines):

diff -r 96d2674b44c2 -r edcb7687c73f devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Tue Jun 01 05:10:05 2021 +0000
+++ b/devel/py-astroid/Makefile Tue Jun 01 05:14:56 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2021/04/26 12:58:24 adam Exp $
+# $NetBSD: Makefile,v 1.43 2021/06/01 05:14:56 adam Exp $
 
-DISTNAME=      astroid-2.5.6
+DISTNAME=      astroid-2.5.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -10,6 +10,7 @@
 COMMENT=       Rebuild a new abstract syntax tree from Python's ast
 LICENSE=       gnu-lgpl-v2.1
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy>=1.4.0:../../devel/py-lazy-object-proxy
 DEPENDS+=      ${PYPKGPREFIX}-wrapt>=1.11:../../devel/py-wrapt
 
@@ -18,6 +19,7 @@
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} < 38
 DEPENDS+=      ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
 .endif
 
 USE_LANGUAGES= # none
diff -r 96d2674b44c2 -r edcb7687c73f devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Tue Jun 01 05:10:05 2021 +0000
+++ b/devel/py-astroid/distinfo Tue Jun 01 05:14:56 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.34 2021/04/26 12:58:24 adam Exp $
+$NetBSD: distinfo,v 1.35 2021/06/01 05:14:56 adam Exp $
 
-SHA1 (astroid-2.5.6.tar.gz) = 2ba28a0ed97e8746362698a7e6411213bb18125a
-RMD160 (astroid-2.5.6.tar.gz) = 78b9142845906811e17aa7b337b38dc437fc2008
-SHA512 (astroid-2.5.6.tar.gz) = f622e0a1d76a2b85ff95751c663a2d057164ee1ad3543483e12910444fd447428cb57fe79c3484fe6c99f6c762eaf2933f1dec0bed1531116d157c1d45560e22
-Size (astroid-2.5.6.tar.gz) = 181541 bytes
+SHA1 (astroid-2.5.7.tar.gz) = f2c6fcdee28db4a21cb11b8c9fa6e6b6eb453556
+RMD160 (astroid-2.5.7.tar.gz) = 657ec2ccb9e1153deaebfaa5e77e60fe6c199bb8
+SHA512 (astroid-2.5.7.tar.gz) = e9f77ceac0d918e2ff8a123c4894e460a4fb574e92db9d9936b51b8f732d3103766ca87bba0d85c86d8eb6ce7a2ffa699ffee6345bf67ed26fea571b9e869ea2
+Size (astroid-2.5.7.tar.gz) = 183983 bytes



Home | Main Index | Thread Index | Old Index