Skip to content

Commit

Permalink
py-astroid: update to 3.1.0.
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
0-wiz-0 committed Feb 25, 2024
1 parent 0e739ac commit f25b87d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions devel/py-astroid/Makefile
Original file line number Diff line number Diff line change
@@ -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/}
Expand Down
8 changes: 4 additions & 4 deletions devel/py-astroid/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f25b87d

Please sign in to comment.