py-astroid: update to 3.1.0.

Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(),
    allowing checkers to visit them.
    Refs pylint-dev/pylint#9193
    Add __main__ as a possible inferred value for __name__ to improve
    control flow inference around if __name__ == "__main__": guards.
    Closes #2071
    Following a deprecation period, the names arg to the Import constructor and
    the op arg to the BoolOp constructor are now required, and the doc args
    to the PartialFunction and Property constructors have been removed (call
    postinit(doc_node=...) instead.)
    Following a deprecation announced in astroid 1.5.0, the alias AstroidBuildingException is removed in favor of AstroidBuildingError.
    Include modname in AST warnings. Useful for invalid escape sequence warnings
    with Python 3.12.
    RecursionError is now trapped and logged out as UserWarning during astroid node transformations with instructions about raising the system recursion limit.
    Closes pylint-dev/pylint#8842
    Suppress SyntaxWarning for invalid escape sequences on Python 3.12 when parsing modules.
    Closes pylint-dev/pylint#9322
This commit is contained in:
wiz 2024-02-25 15:19:11 +00:00
parent 0e739acdd8
commit f25b87d22f
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.85 2024/02/06 21:49:58 adam Exp $
# $NetBSD: Makefile,v 1.86 2024/02/25 15:19:11 wiz Exp $
DISTNAME= astroid-3.0.3
DISTNAME= astroid-3.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.75 2024/02/06 21:49:58 adam Exp $
$NetBSD: distinfo,v 1.76 2024/02/25 15:19:11 wiz Exp $
BLAKE2s (astroid-3.0.3.tar.gz) = ac78ee25e7fcaa3b9b125545aa46852e1245001a9f5eaaef40c7dd853cccc76c
SHA512 (astroid-3.0.3.tar.gz) = 9bb736a48eba9312f3c876b8d435a3a2d0030baef445dd9bcd28c5f87aaa84cfa3132edd38ed22106eb1e102e051394e518b5e036d852108b6fd9cf7aeb962dc
Size (astroid-3.0.3.tar.gz) = 395183 bytes
BLAKE2s (astroid-3.1.0.tar.gz) = 3dc951c252494aa0910f1a0ad217dbd919e6329eaad3d77e14ac0eccd307142d
SHA512 (astroid-3.1.0.tar.gz) = 1343fb381d402b668f3530dde50b28db75519e10c5ee5c026078c3078def8378d3802ba1465fc6eafc19f4a767006a225fd6f5f5723d374f57558204de4017d8
Size (astroid-3.1.0.tar.gz) = 396275 bytes