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 Feb 22 09:22:05 UTC 2021

Modified Files:
        pkgsrc/devel/py-astroid: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-astroid/patches: patch-astroid_____pkginfo____.py

Log Message:
py-astroid: updated to 2.5

What's New in astroid 2.5?

* Adds `attr_fset` in the `PropertyModel` class.
* Remove support for Python 3.5.
* Remove the runtime dependency on ``six``. The ``six`` brain remains in
  astroid.
* Enrich the ``brain_collection`` module so that ``__class_getitem__`` method is added to `deque` for
  ``python`` version above 3.9.
* The ``context.path`` is now a ``dict`` and the ``context.push`` method
  returns ``True`` if the node has been visited a certain amount of times.
* Adds a brain for type object so that it is possible to write `type[int]` in annotation.
* Add ``__class_getitem__`` method to ``subprocess.Popen`` brain under Python 3.9 so that it is seen as subscriptable by pylint.
* Adds `degrees`, `radians`, which are `numpy ufunc` functions, in the `numpy` brain. Adds `random` function in the `numpy.random` brain.
* Fix deprecated importlib methods
* Fix a crash in inference caused by `Uninferable` container elements
* Add `python 3.9` support.
* The flat attribute of ``numpy.ndarray`` is now inferred as an ``numpy.ndarray`` itself.
  It should be a ``numpy.flatiter`` instance, but this class is not yet available in the numpy brain.
* Fix a bug for dunder methods inference of function objects
* Fixes a bug in the signature of the ``ndarray.__or__`` method,
  in the ``brain_numpy_ndarray.py`` module.
* Fixes a to-list cast bug in ``starred_assigned_stmts`` method,
  in the ``protocols.py` module.
* Added a brain for ``hypothesis.strategies.composite``
* The transpose of a ``numpy.ndarray`` is also a ``numpy.ndarray``
* Added a brain for ``sqlalchemy.orm.session``
* Separate string and bytes classes patching
* Prevent recursion error for self referential length calls
* Added missing methods to the brain for ``mechanize``, to fix pylint false positives
* Added more supported parameters to ``subprocess.check_output``
* Fix recursion errors with pandas
* Added exception inference for `UnicodeDecodeError`
* `FunctionDef.is_generator` properly handles `yield` nodes in `If` tests
* Fixed exception-chaining error messages.
* Fix failure to infer base class type with multiple inheritance and qualified names
* Fix interpretation of ``six.with_metaclass`` class definitions.
* Reduce memory usage of astroid's module cache.
* Remove dependency on `imp`.
* Do not crash when encountering starred assignments in enums.
* Fix a crash in functools.partial inference when the arguments cannot be determined
* Fix a crash caused by a lookup of a monkey-patched method
* ``is_generator`` correctly considers `Yield` nodes in `AugAssign` nodes
  This fixes a false positive with the `assignment-from-no-return` pylint check.
* Corrected the parent of function type comment nodes.
  These nodes used to be parented to their original ast.FunctionDef parent
  but are now correctly parented to their astroid.FunctionDef parent.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-astroid/PLIST
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-astroid/distinfo
cvs rdiff -u -r1.5 -r0 \
    pkgsrc/devel/py-astroid/patches/patch-astroid_____pkginfo____.py

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.36 pkgsrc/devel/py-astroid/Makefile:1.37
--- pkgsrc/devel/py-astroid/Makefile:1.36       Mon Jun  8 16:08:01 2020
+++ pkgsrc/devel/py-astroid/Makefile    Mon Feb 22 09:22:05 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2020/06/08 16:08:01 adam Exp $
+# $NetBSD: Makefile,v 1.37 2021/02/22 09:22:05 adam Exp $
 
-DISTNAME=      astroid-2.4.2
+DISTNAME=      astroid-2.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -11,9 +11,8 @@ COMMENT=      Rebuild a new abstract syntax t
 LICENSE=       gnu-lgpl-v3
 
 DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy>=1.4.0:../../devel/py-lazy-object-proxy
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-typed-ast-[0-9]*:../../devel/py-typed-ast
-DEPENDS+=      ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
+DEPENDS+=      ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
+DEPENDS+=      ${PYPKGPREFIX}-wrapt>=1.11:../../devel/py-wrapt
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 

Index: pkgsrc/devel/py-astroid/PLIST
diff -u pkgsrc/devel/py-astroid/PLIST:1.11 pkgsrc/devel/py-astroid/PLIST:1.12
--- pkgsrc/devel/py-astroid/PLIST:1.11  Tue May  5 18:18:55 2020
+++ pkgsrc/devel/py-astroid/PLIST       Mon Feb 22 09:22:05 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2020/05/05 18:18:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/02/22 09:22:05 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -64,6 +64,9 @@ ${PYSITELIB}/astroid/brain/brain_hashlib
 ${PYSITELIB}/astroid/brain/brain_http.py
 ${PYSITELIB}/astroid/brain/brain_http.pyc
 ${PYSITELIB}/astroid/brain/brain_http.pyo
+${PYSITELIB}/astroid/brain/brain_hypothesis.py
+${PYSITELIB}/astroid/brain/brain_hypothesis.pyc
+${PYSITELIB}/astroid/brain/brain_hypothesis.pyo
 ${PYSITELIB}/astroid/brain/brain_io.py
 ${PYSITELIB}/astroid/brain/brain_io.pyc
 ${PYSITELIB}/astroid/brain/brain_io.pyo
@@ -130,6 +133,9 @@ ${PYSITELIB}/astroid/brain/brain_scipy_s
 ${PYSITELIB}/astroid/brain/brain_six.py
 ${PYSITELIB}/astroid/brain/brain_six.pyc
 ${PYSITELIB}/astroid/brain/brain_six.pyo
+${PYSITELIB}/astroid/brain/brain_sqlalchemy.py
+${PYSITELIB}/astroid/brain/brain_sqlalchemy.pyc
+${PYSITELIB}/astroid/brain/brain_sqlalchemy.pyo
 ${PYSITELIB}/astroid/brain/brain_ssl.py
 ${PYSITELIB}/astroid/brain/brain_ssl.pyc
 ${PYSITELIB}/astroid/brain/brain_ssl.pyo
@@ -139,6 +145,9 @@ ${PYSITELIB}/astroid/brain/brain_subproc
 ${PYSITELIB}/astroid/brain/brain_threading.py
 ${PYSITELIB}/astroid/brain/brain_threading.pyc
 ${PYSITELIB}/astroid/brain/brain_threading.pyo
+${PYSITELIB}/astroid/brain/brain_type.py
+${PYSITELIB}/astroid/brain/brain_type.pyc
+${PYSITELIB}/astroid/brain/brain_type.pyo
 ${PYSITELIB}/astroid/brain/brain_typing.py
 ${PYSITELIB}/astroid/brain/brain_typing.pyc
 ${PYSITELIB}/astroid/brain/brain_typing.pyo

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.29 pkgsrc/devel/py-astroid/distinfo:1.30
--- pkgsrc/devel/py-astroid/distinfo:1.29       Wed Jul 15 09:19:05 2020
+++ pkgsrc/devel/py-astroid/distinfo    Mon Feb 22 09:22:05 2021
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.29 2020/07/15 09:19:05 adam Exp $
+$NetBSD: distinfo,v 1.30 2021/02/22 09:22:05 adam Exp $
 
-SHA1 (astroid-2.4.2.tar.gz) = 488a4ff893effa9fa8e72a38b968895a31c6b46d
-RMD160 (astroid-2.4.2.tar.gz) = 0ea44ae5243e5e8abad79672d53b71c1521613f7
-SHA512 (astroid-2.4.2.tar.gz) = f5d759c07a13e06d3d071faacff2dc775924566aaef8bdb6e526c4ebf723b6b561f5824b711b33e33a2a69df0a2ff4cbf0f4302c9a0d55610e031e81c4a4be91
-Size (astroid-2.4.2.tar.gz) = 310972 bytes
-SHA1 (patch-astroid_____pkginfo____.py) = 2f76a7a12e845ce36aeee4688b6eb8bb550a8f75
+SHA1 (astroid-2.5.tar.gz) = b8a5adbcda56ede1d1827fb5b4e7c9e475efbaaf
+RMD160 (astroid-2.5.tar.gz) = 65094b603f4a92a2154b443a1d4fa9a7b26a2189
+SHA512 (astroid-2.5.tar.gz) = eba7e757a12f89a74bff579731a157fda3c8d8dd1b5a4369791d47f7f6e321b23e167260d0988d389428222c8c98929e66ad26f379ff937e274dcd1abdb3b3d2
+Size (astroid-2.5.tar.gz) = 304788 bytes



Home | Main Index | Thread Index | Old Index