diff --git a/astroid-3.0.2-gh.tar.gz b/astroid-3.0.2-gh.tar.gz deleted file mode 100644 index 02f01eb..0000000 --- a/astroid-3.0.2-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6c40778700e01135a5e7d30ec2af607150a234fbf5c02f20a7c4df29322e593 -size 461786 diff --git a/astroid-3.1.0-gh.tar.gz b/astroid-3.1.0-gh.tar.gz new file mode 100644 index 0000000..6eeaec7 --- /dev/null +++ b/astroid-3.1.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ba572a3faeabdd72ec79965b38867d1ce159ebec1281ba833928842b36cca32 +size 463675 diff --git a/python-astroid.changes b/python-astroid.changes index 819c700..963b611 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Fri Mar 22 19:54:17 UTC 2024 - Dirk Müller + +- update to 3.1.0: + * Include PEP 695 (Python 3.12) generic type syntax nodes in + ``get_children()``, allowing checkers to visit them. + * Add ``__main__`` as a possible inferred value for + ``__name__`` to improve control flow inference around + ``if __name__ == "__main__":`` guards. + * 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. + * Suppress ``SyntaxWarning`` for invalid escape sequences on + Python 3.12 when parsing modules. + ------------------------------------------------------------------- Wed Dec 27 09:42:24 UTC 2023 - Dirk Müller diff --git a/python-astroid.spec b/python-astroid.spec index ef98a77..555d6c1 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -1,7 +1,7 @@ # # spec file for package python-astroid # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-astroid -Version: 3.0.2 +Version: 3.1.0 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later