commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2023-10-02 20:04:52 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.28202 (New) Package is "python-typed-ast" Mon Oct 2 20:04:52 2023 rev:22 rq:1114754 version:1.5.5 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2023-05-09 13:09:18.053722023 +0200 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.28202/python-typed-ast.changes 2023-10-02 20:06:17.546429054 +0200 @@ -1,0 +2,7 @@ +Mon Oct 2 08:20:43 UTC 2023 - Dirk Müller + +- update to 1.5.5: + * update project to be end of life + * set dev status to inactive + +--- Old: typed_ast-1.5.4.tar.gz New: typed_ast-1.5.5.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.lD2UWf/_old 2023-10-02 20:06:18.758472642 +0200 +++ /var/tmp/diff_new_pack.lD2UWf/_new 2023-10-02 20:06:18.762472785 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-typed-ast -Version:1.5.4 +Version:1.5.5 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 ++ typed_ast-1.5.4.tar.gz -> typed_ast-1.5.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.4/PKG-INFO new/typed_ast-1.5.5/PKG-INFO --- old/typed_ast-1.5.4/PKG-INFO2022-05-21 23:11:36.865009800 +0200 +++ new/typed_ast-1.5.5/PKG-INFO2023-07-04 00:56:33.786288300 +0200 @@ -1,13 +1,13 @@ Metadata-Version: 2.1 Name: typed_ast -Version: 1.5.4 +Version: 1.5.5 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher License: Apache License 2.0 Platform: POSIX Platform: Windows -Classifier: Development Status :: 5 - Production/Stable +Classifier: Development Status :: 7 - Inactive Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: Operating System :: POSIX @@ -17,10 +17,24 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Software Development Requires-Python: >=3.6 License-File: LICENSE +=== +End of life +=== + +This project is no longer maintained. + +Use the standard library `ast` module instead. +See https://github.com/python/typed_ast/issues/179. + +=== +Description +=== + `typed_ast` is a Python 3 package that provides a Python 2.7 and Python 3 parser similar to the standard `ast` library. Unlike `ast` below Python 3.8, the parsers in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.4/README.md new/typed_ast-1.5.5/README.md --- old/typed_ast-1.5.4/README.md 2022-05-21 23:11:28.0 +0200 +++ new/typed_ast-1.5.5/README.md 2023-07-04 00:56:26.0 +0200 @@ -1,3 +1,10 @@ +# End of life + +This project is no longer maintained. + +Use the standard library `ast` module instead. +See https://github.com/python/typed_ast/issues/179. + # Typed AST [![Build Status](https://travis-ci.org/python/typed_ast.svg?branch=master)](https://travis-ci.org/python/typed_ast) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.4/setup.py new/typed_ast-1.5.5/setup.py --- old/typed_ast-1.5.4/setup.py2022-05-21 23:11:28.0 +0200 +++ new/typed_ast-1.5.5/setup.py2023-07-04 00:56:27.0 +0200 @@ -82,6 +82,19 @@ ]) long_description = """ +=== +End of life +=== + +This project is no longer maintained. + +Use the standard library `ast` module instead. +See https://github.com/python/typed_ast/issues/179. + +=== +Description +=== + `typed_ast` is a Python 3 package that provides a Python 2.7 and Python 3 parser similar to the standard `ast` library. Unlike `ast` below Python 3.8, the parsers in @@ -111,7 +124,7 @@ license='Apache License 2.0', platforms = ['POSIX', 'Windows'], classifiers = [ - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 7 - Inactive', 'Environment :: Console', 'Intended Audience :: Developers', 'Operating System :: POSIX', @@ -121,6 +134,7
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2023-05-09 13:09:11 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.1533 (New) Package is "python-typed-ast" Tue May 9 13:09:11 2023 rev:21 rq:1085637 version:1.5.4 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2022-05-30 12:42:15.688255665 +0200 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.1533/python-typed-ast.changes 2023-05-09 13:09:18.053722023 +0200 @@ -1,0 +2,5 @@ +Tue May 9 04:58:48 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +--- Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.XAx2n6/_old 2023-05-09 13:09:18.613725356 +0200 +++ /var/tmp/diff_new_pack.XAx2n6/_new 2023-05-09 13:09:18.621725403 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-typed-ast # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-typed-ast Version:1.5.4 Release:0
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2022-05-30 12:42:03 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.2254 (New) Package is "python-typed-ast" Mon May 30 12:42:03 2022 rev:20 rq:979649 version:1.5.4 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2022-04-28 23:07:12.588637911 +0200 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.2254/python-typed-ast.changes 2022-05-30 12:42:15.688255665 +0200 @@ -1,0 +2,20 @@ +Sun May 22 10:12:24 UTC 2022 - Sebastian Wagner + +- Release version 1.5.4 (#189) + - Do not include now private code.h (#188) + As of https://github.com/python/cpython/pull/32385 the header + code.h is private but directly included into Python.h + - Fix Python 3.11 support (#187) + The compilation error on master is: + ``` + ast3/Parser/tokenizer.c:1991:10: error: implicit declaration of function '_Py_dup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] + fd = _Py_dup(fd); +^ + 1 error generated. + ``` + Probably as a result of https://github.com/python/cpython/pull/30484 + Just declaring it seems to fix things. + Add a (slightly) hacky way of testing Python 3.11 in CI prior to manylinux / cibuildwheel support. + - Bump version to 1.5.4.dev0 (#186) + +--- @@ -4 +24 @@ -- - Release version 1.5.3 (#185) +- Release version 1.5.3 (#185) @@ -9,14 +28,0 @@ - - Release version 1.5.2 - - Add support for building aarch64 wheels (#182) - Co-authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com> - - Remove update process document (#177) - typed_ast will not be updated to support syntax past Python 3.8 as - Python 3.8's ast module now incorporates the features of typed_ast. - - Bump version to 1.5.2.dev0 - - Release version 1.5.1 (#181) - Co-authored-by: hauntsaninja <> - - Fix #167: Port ast27 to Python 3.11 (#176) - Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in - ast27/Python/mystrtoul.c. The symbol has been removed from the public - Python 3.11 C API. - - Bump version to 1.5.1.dev0 @@ -27 +33 @@ -- - Release version 1.5.2 +- Release version 1.5.2 @@ -34,7 +39,0 @@ - - Release version 1.5.1 (#181) - Co-authored-by: hauntsaninja <> - - Fix #167: Port ast27 to Python 3.11 (#176) - Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in - ast27/Python/mystrtoul.c. The symbol has been removed from the public - Python 3.11 C API. - - Bump version to 1.5.1.dev0 @@ -45,2 +44 @@ -- - Release version 1.5.1 (#181) - Co-authored-by: hauntsaninja <> +- Release version 1.5.1 (#181) Old: typed_ast-1.5.3.tar.gz New: typed_ast-1.5.4.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.65zCVg/_old 2022-05-30 12:42:16.280256453 +0200 +++ /var/tmp/diff_new_pack.65zCVg/_new 2022-05-30 12:42:16.284256458 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-typed-ast -Version:1.5.3 +Version:1.5.4 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 ++ typed_ast-1.5.3.tar.gz -> typed_ast-1.5.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.3/PKG-INFO new/typed_ast-1.5.4/PKG-INFO --- old/typed_ast-1.5.3/PKG-INFO2022-04-16 02:21:14.778506000 +0200 +++ new/typed_ast-1.5.4/PKG-INFO2022-05-21 23:11:36.865009800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: typed_ast -Version: 1.5.3 +Version: 1.5.4 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher @@ -33,4 +33,3 @@ `typed_ast` does not support parsing code that uses syntax introduced in Python 3.8 onwards. We recommend using `ast` on Python 3.8 or above. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.3/ast27/Include/compile.h new/typed_ast-1.5.4/ast27/Include/compile.h --- old/typed_ast-1.5.3/ast27/Include/compile.h 2022-04-16 02:21:05.0 +0200 +++ new/typed_ast-1.5.4/ast27/Include/compile.h 2022-05-21 23:11:28.0 +0200 @@ -2,7 +2,7 @@ #ifndef Ta27_COMPILE_H #define Ta27_COMPILE_H -#include "code.h" +#include "Python.h" #ifdef __cplusplus extern "C" { diff -urN '--exclude=CVS'
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2022-04-28 23:07:09 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.1538 (New) Package is "python-typed-ast" Thu Apr 28 23:07:09 2022 rev:19 rq:972928 version:1.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2022-02-06 23:53:58.798941192 +0100 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.1538/python-typed-ast.changes 2022-04-28 23:07:12.588637911 +0200 @@ -1,0 +2,23 @@ +Tue Apr 19 14:31:59 UTC 2022 - Sebastian Wagner + +- - Release version 1.5.3 (#185) + - FIX: Account form stdbool.h being included in Python.h (#184) + As of CPython 3.11 (via https://github.com/python/cpython/pull/29883) stdbool.h + is now included in Python.h so do attempt to redefine bool/true/false. + - Bump version to 1.5.3.dev0 + - Release version 1.5.2 + - Add support for building aarch64 wheels (#182) + Co-authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com> + - Remove update process document (#177) + typed_ast will not be updated to support syntax past Python 3.8 as + Python 3.8's ast module now incorporates the features of typed_ast. + - Bump version to 1.5.2.dev0 + - Release version 1.5.1 (#181) + Co-authored-by: hauntsaninja <> + - Fix #167: Port ast27 to Python 3.11 (#176) + Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in + ast27/Python/mystrtoul.c. The symbol has been removed from the public + Python 3.11 C API. + - Bump version to 1.5.1.dev0 + +--- Old: typed_ast-1.5.2.tar.gz New: typed_ast-1.5.3.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.fEfIJa/_old 2022-04-28 23:07:13.196638573 +0200 +++ /var/tmp/diff_new_pack.fEfIJa/_new 2022-04-28 23:07:13.200638578 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-typed-ast -Version:1.5.2 +Version:1.5.3 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 ++ typed_ast-1.5.2.tar.gz -> typed_ast-1.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.2/PKG-INFO new/typed_ast-1.5.3/PKG-INFO --- old/typed_ast-1.5.2/PKG-INFO2022-01-24 02:23:27.576296600 +0100 +++ new/typed_ast-1.5.3/PKG-INFO2022-04-16 02:21:14.778506000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: typed_ast -Version: 1.5.2 +Version: 1.5.3 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.2/ast27/Include/asdl.h new/typed_ast-1.5.3/ast27/Include/asdl.h --- old/typed_ast-1.5.2/ast27/Include/asdl.h2022-01-24 02:23:20.0 +0100 +++ new/typed_ast-1.5.3/ast27/Include/asdl.h2022-04-16 02:21:05.0 +0200 @@ -8,8 +8,10 @@ typedef PyObject * object; #ifndef __cplusplus +#ifndef __bool_true_false_are_defined typedef enum {false, true} bool; #endif +#endif /* It would be nice if the code generated by asdl_c.py was completely independent of Python, but it is a goal the requires too much work diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.2/ast3/Python/ast.c new/typed_ast-1.5.3/ast3/Python/ast.c --- old/typed_ast-1.5.2/ast3/Python/ast.c 2022-01-24 02:23:20.0 +0100 +++ new/typed_ast-1.5.3/ast3/Python/ast.c 2022-04-16 02:21:05.0 +0200 @@ -13,9 +13,12 @@ #include // VS 2010 doesn't have ... +#ifndef __bool_true_false_are_defined typedef int bool; #define false 0 #define true 1 +#endif + #if PY_MINOR_VERSION < 6 static PyObject * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.2/typed_ast/__init__.py new/typed_ast-1.5.3/typed_ast/__init__.py --- old/typed_ast-1.5.2/typed_ast/__init__.py 2022-01-24 02:23:20.0 +0100 +++ new/typed_ast-1.5.3/typed_ast/__init__.py 2022-04-16 02:21:05.0 +0200 @@ -1 +1 @@ -__version__ = "1.5.2" +__version__ = "1.5.3" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.2/typed_ast.egg-info/PKG-INFO new/typed_ast-1.5.3/typed_ast.egg-info/PKG-INFO ---
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2022-02-06 23:53:35 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.1898 (New) Package is "python-typed-ast" Sun Feb 6 23:53:35 2022 rev:18 rq:951374 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2021-12-13 20:46:33.296500944 +0100 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.1898/python-typed-ast.changes 2022-02-06 23:53:58.798941192 +0100 @@ -1,0 +2,18 @@ +Thu Jan 27 19:26:57 UTC 2022 - Sebastian Wagner + +- - Release version 1.5.2 + - Add support for building aarch64 wheels (#182) + Co-authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com> + - Remove update process document (#177) + typed_ast will not be updated to support syntax past Python 3.8 as + Python 3.8's ast module now incorporates the features of typed_ast. + - Bump version to 1.5.2.dev0 + - Release version 1.5.1 (#181) + Co-authored-by: hauntsaninja <> + - Fix #167: Port ast27 to Python 3.11 (#176) + Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in + ast27/Python/mystrtoul.c. The symbol has been removed from the public + Python 3.11 C API. + - Bump version to 1.5.1.dev0 + +--- Old: typed_ast-1.5.1.tar.gz New: typed_ast-1.5.2.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.rE291w/_old 2022-02-06 23:53:59.622935698 +0100 +++ /var/tmp/diff_new_pack.rE291w/_new 2022-02-06 23:53:59.626935671 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-typed-ast # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-typed-ast -Version:1.5.1 +Version:1.5.2 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 ++ typed_ast-1.5.1.tar.gz -> typed_ast-1.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.1/PKG-INFO new/typed_ast-1.5.2/PKG-INFO --- old/typed_ast-1.5.1/PKG-INFO2021-12-03 23:17:10.093644000 +0100 +++ new/typed_ast-1.5.2/PKG-INFO2022-01-24 02:23:27.576296600 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: typed_ast -Version: 1.5.1 +Version: 1.5.2 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.1/README.md new/typed_ast-1.5.2/README.md --- old/typed_ast-1.5.1/README.md 2021-12-03 23:17:04.0 +0100 +++ new/typed_ast-1.5.2/README.md 2022-01-24 02:23:20.0 +0100 @@ -69,7 +69,6 @@ Note: as these parsers consider type comments part of the grammar, incorrectly placed type comments are considered syntax errors. -## Updates and Releases -To update `typed_ast` for new major Python releases, see [`update_process.md`](update_process.md). +## Releases To make a new `typed_ast` release, see [`release_process.md`](release_process.md). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.1/typed_ast/__init__.py new/typed_ast-1.5.2/typed_ast/__init__.py --- old/typed_ast-1.5.1/typed_ast/__init__.py 2021-12-03 23:17:04.0 +0100 +++ new/typed_ast-1.5.2/typed_ast/__init__.py 2022-01-24 02:23:20.0 +0100 @@ -1 +1 @@ -__version__ = "1.5.1" +__version__ = "1.5.2" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.1/typed_ast.egg-info/PKG-INFO new/typed_ast-1.5.2/typed_ast.egg-info/PKG-INFO --- old/typed_ast-1.5.1/typed_ast.egg-info/PKG-INFO 2021-12-03 23:17:10.0 +0100 +++ new/typed_ast-1.5.2/typed_ast.egg-info/PKG-INFO 2022-01-24 02:23:27.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: typed-ast -Version: 1.5.1 +Version: 1.5.2 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2021-12-13 20:41:52 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.2520 (New) Package is "python-typed-ast" Mon Dec 13 20:41:52 2021 rev:17 rq:940057 version:1.5.1 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2021-11-21 23:52:08.302261393 +0100 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.2520/python-typed-ast.changes 2021-12-13 20:46:33.296500944 +0100 @@ -1,0 +2,11 @@ +Sun Dec 5 07:44:32 UTC 2021 - Sebastian Wagner + +- - Release version 1.5.1 (#181) + Co-authored-by: hauntsaninja <> + - Fix #167: Port ast27 to Python 3.11 (#176) + Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in + ast27/Python/mystrtoul.c. The symbol has been removed from the public + Python 3.11 C API. + - Bump version to 1.5.1.dev0 + +--- Old: typed_ast-1.5.0.tar.gz New: typed_ast-1.5.1.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.H0yw2V/_old 2021-12-13 20:46:33.892501017 +0100 +++ /var/tmp/diff_new_pack.H0yw2V/_new 2021-12-13 20:46:33.920501020 +0100 @@ -19,13 +19,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-typed-ast -Version:1.5.0 +Version:1.5.1 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 Group: Development/Languages/Python URL:https://github.com/python/typed_ast Source0: https://files.pythonhosted.org/packages/source/t/typed_ast/typed_ast-%{version}.tar.gz +# PATCH-FIX-UPSTREAM use-PyUnicode_DecodeUnicodeEscape.patch gh#python/typed_ast#172 mc...@suse.com +# Use PyUnicode_DecodeUnicodeEscape directly Patch0: use-PyUnicode_DecodeUnicodeEscape.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} ++ typed_ast-1.5.0.tar.gz -> typed_ast-1.5.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.0/PKG-INFO new/typed_ast-1.5.1/PKG-INFO --- old/typed_ast-1.5.0/PKG-INFO2021-11-12 00:51:28.188297000 +0100 +++ new/typed_ast-1.5.1/PKG-INFO2021-12-03 23:17:10.093644000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: typed_ast -Version: 1.5.0 +Version: 1.5.1 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.0/ast27/Python/mystrtoul.c new/typed_ast-1.5.1/ast27/Python/mystrtoul.c --- old/typed_ast-1.5.0/ast27/Python/mystrtoul.c2021-11-12 00:51:19.0 +0100 +++ new/typed_ast-1.5.1/ast27/Python/mystrtoul.c2021-12-03 23:17:04.0 +0100 @@ -78,6 +78,32 @@ #error "Need table for SIZEOF_LONG" #endif +/* Table of digit values for 8-bit string -> integer conversion. + * '0' maps to 0, ..., '9' maps to 9. + * 'a' and 'A' map to 10, ..., 'z' and 'Z' map to 35. + * All other indices map to 37. + * Note that when converting a base B string, a char c is a legitimate + * base B digit iff digitvalue[Py_CHARPyLong_MASK(c)] < B. + */ +unsigned char digitvalue[256] = { +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 37, 37, 37, 37, 37, 37, +37, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, +25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 37, 37, 37, 37, +37, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, +25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, +}; + /* ** strtoul ** This is a
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2021-11-21 23:51:45 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.1895 (New) Package is "python-typed-ast" Sun Nov 21 23:51:45 2021 rev:16 rq:932053 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2021-11-15 15:28:00.121850411 +0100 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.1895/python-typed-ast.changes 2021-11-21 23:52:08.302261393 +0100 @@ -1,0 +2,6 @@ +Thu Nov 18 07:30:17 UTC 2021 - Steve Kowalik + +- Add patch use-PyUnicode_DecodeUnicodeEscape.patch: + * Use PyUnicode_DecodeUnicodeEscape directly, rather than wrapping it. + +--- New: use-PyUnicode_DecodeUnicodeEscape.patch Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.3mbJ86/_old 2021-11-21 23:52:08.762259910 +0100 +++ /var/tmp/diff_new_pack.3mbJ86/_new 2021-11-21 23:52:08.762259910 +0100 @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL:https://github.com/python/typed_ast Source0: https://files.pythonhosted.org/packages/source/t/typed_ast/typed_ast-%{version}.tar.gz +Patch0: use-PyUnicode_DecodeUnicodeEscape.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -45,6 +46,7 @@ %prep %setup -q -n typed_ast-%{version} +%autopatch -p1 %build export CFLAGS="%{optflags}" ++ use-PyUnicode_DecodeUnicodeEscape.patch ++ >From 3ba83b4933dcebc886e67aa40d51c0a1678c93e9 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 10 Nov 2021 19:19:14 +0100 Subject: [PATCH] Use PyUnicode_DecodeUnicodeEscape directly --- ast3/Python/ast.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/ast3/Python/ast.c b/ast3/Python/ast.c index 60b8fdd..eb7d764 100644 --- a/ast3/Python/ast.c +++ b/ast3/Python/ast.c @@ -58,16 +58,6 @@ _PyBytes_DecodeEscape(const char *s, #endif -PyObject * -_PyUnicode_DecodeUnicodeEscape(const char *s, - Py_ssize_t size, - const char *errors, - const char **first_invalid_escape) -{ -*first_invalid_escape = NULL; -return PyUnicode_DecodeUnicodeEscape(s, size, errors); -} - static int validate_stmts(asdl_seq *); static int validate_exprs(asdl_seq *, expr_context_ty, int); static int validate_nonempty_seq(asdl_seq *, const char *, const char *); @@ -4461,7 +4451,6 @@ decode_unicode_with_escapes(struct compiling *c, const node *n, const char *s, char *buf; char *p; const char *end; -const char *first_invalid_escape; /* check for integer overflow */ if (len > SIZE_MAX / 6) @@ -4511,17 +4500,8 @@ decode_unicode_with_escapes(struct compiling *c, const node *n, const char *s, len = p - buf; s = buf; -v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, _invalid_escape); +v = PyUnicode_DecodeUnicodeEscape(s, len, NULL); -if (v != NULL && first_invalid_escape != NULL) { -if (warn_invalid_escape_sequence(c, n, *first_invalid_escape) < 0) { -/* We have not decref u before because first_invalid_escape points - inside u. */ -Py_XDECREF(u); -Py_DECREF(v); -return NULL; -} -} Py_XDECREF(u); return v; }
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2021-11-15 15:26:22 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.1890 (New) Package is "python-typed-ast" Mon Nov 15 15:26:22 2021 rev:15 rq:931291 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2021-04-26 16:38:22.221955869 +0200 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.1890/python-typed-ast.changes 2021-11-15 15:28:00.121850411 +0100 @@ -1,0 +2,8 @@ +Sat Nov 13 20:40:12 UTC 2021 - Dirk M??ller + +- update to 1.5.0: + * Drop python 3.5 support + * Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+ + * Recommend ast on Python 3.8+ + +--- Old: typed_ast-1.4.3.tar.gz New: typed_ast-1.5.0.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.f2uLL5/_old 2021-11-15 15:28:00.673850566 +0100 +++ /var/tmp/diff_new_pack.f2uLL5/_new 2021-11-15 15:28:00.677850567 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-typed-ast -Version:1.4.3 +Version:1.5.0 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 ++ typed_ast-1.4.3.tar.gz -> typed_ast-1.5.0.tar.gz ++ 5096 lines of diff (skipped)
commit python-typed-ast for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2021-04-26 16:38:16 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.12324 (New) Package is "python-typed-ast" Mon Apr 26 16:38:16 2021 rev:14 rq:887094 version:1.4.3 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2021-01-08 17:34:18.809136444 +0100 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.12324/python-typed-ast.changes 2021-04-26 16:38:22.221955869 +0200 @@ -1,0 +2,18 @@ +Tue Apr 13 20:20:04 UTC 2021 - Sebastian Wagner + +- update to version 1.4.3: + - Download wheels for 3.9 as well + - Download aarch64 wheels (#154) + - Allow compilation on python 3.10.0a6 (#155) + Closes #156. (Except for Apple Silicon.) + - Fix compilation on python 3.10.0a7 (#158) + - PyArena was removed from the public api in python/cpython#25007 + - This commit adds two new files (a copy of each for ast27 and ast3): + * pycore_pyarena.h: Taken from the cpython source code with minimal + changes + * pyarena.h: Maps the new, underscored function names to the old + function names, allowing the code to work on both python 3.10 and + older versions + - Add Python 3.10 classifier (#160) + +--- Old: typed_ast-1.4.2.tar.gz New: typed_ast-1.4.3.tar.gz Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.DRhszH/_old 2021-04-26 16:38:22.673956588 +0200 +++ /var/tmp/diff_new_pack.DRhszH/_new 2021-04-26 16:38:22.677956594 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-typed-ast # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-typed-ast -Version:1.4.2 +Version:1.4.3 Release:0 Summary:A fork of Python 2 and 3 ast modules with type comment support License:Apache-2.0 ++ typed_ast-1.4.2.tar.gz -> typed_ast-1.4.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.4.2/PKG-INFO new/typed_ast-1.4.3/PKG-INFO --- old/typed_ast-1.4.2/PKG-INFO2020-12-30 23:48:18.493282300 +0100 +++ new/typed_ast-1.4.3/PKG-INFO2021-04-12 01:27:55.162923300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: typed_ast -Version: 1.4.2 +Version: 1.4.3 Summary: a fork of Python 2 and 3 ast modules with type comment support Home-page: https://github.com/python/typed_ast Author: David Fisher @@ -24,4 +24,5 @@ Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 Classifier: Topic :: Software Development diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.4.2/ast27/Include/asdl.h new/typed_ast-1.4.3/ast27/Include/asdl.h --- old/typed_ast-1.4.2/ast27/Include/asdl.h2020-12-30 23:37:54.0 +0100 +++ new/typed_ast-1.4.3/ast27/Include/asdl.h2021-04-11 23:36:46.0 +0200 @@ -1,6 +1,8 @@ #ifndef Ta27_ASDL_H #define Ta27_ASDL_H +#include "../Include/pyarena.h" + typedef PyObject * identifier; typedef PyObject * string; typedef PyObject * object; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.4.2/ast27/Include/pyarena.h new/typed_ast-1.4.3/ast27/Include/pyarena.h --- old/typed_ast-1.4.2/ast27/Include/pyarena.h 1970-01-01 01:00:00.0 +0100 +++ new/typed_ast-1.4.3/ast27/Include/pyarena.h 2021-04-11 23:36:46.0 +0200 @@ -0,0 +1,16 @@ +/* An arena-like memory interface for the compiler. + */ + +#ifndef Ta27_PYARENA_H +#define Ta27_PYARENA_H + +#if PY_MINOR_VERSION >= 10 +#include "../Include/pycore_pyarena.h" + +#define PyArena_New _PyArena_New +#define PyArena_Free _PyArena_Free +#define PyArena_Malloc _PyArena_Malloc +#define PyArena_AddPyObject _PyArena_AddPyObject +#endif + +#endif /* !Ta27_PYARENA_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.4.2/ast27/Include/pycore_pyarena.h new/typed_ast-1.4.3/ast27/Include/pycore_pyarena.h --- old/typed_ast-1.4.2/ast27/Include/pycore_pyarena.h 1970-01-01 01:00:00.0 +0100 +++
commit python-typed-ast for openSUSE:Factory
Hello community, here is the log from the commit of package python-typed-ast for openSUSE:Factory checked in at 2020-12-05 20:35:36 Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old) and /work/SRC/openSUSE:Factory/.python-typed-ast.new.5913 (New) Package is "python-typed-ast" Sat Dec 5 20:35:36 2020 rev:11 rq:853096 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes 2020-05-28 09:07:59.707820606 +0200 +++ /work/SRC/openSUSE:Factory/.python-typed-ast.new.5913/python-typed-ast.changes 2020-12-05 20:35:45.422621973 +0100 @@ -1,0 +2,7 @@ +Fri Dec 4 11:40:59 UTC 2020 - Benjamin Greiner + +- Use (fixed in the meantime) pytest_arch macro in order to ignore + the _build directories from multiple python3 flavors + gh#openSUSE/python-rpm-macros#66 + +--- Other differences: -- ++ python-typed-ast.spec ++ --- /var/tmp/diff_new_pack.rU2ywV/_old 2020-12-05 20:35:45.966622525 +0100 +++ /var/tmp/diff_new_pack.rU2ywV/_new 2020-12-05 20:35:45.970622529 +0100 @@ -55,12 +55,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# using expand here instead of %%pytest_arch as the macro does not do export on the PYTHONPATH, see https://github.com/openSUSE/python-rpm-macros/issues/43 -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -PYTHONDONTWRITEBYTECODE=1 # disable tests 'test_ignores' and 'test_convert_strs' because of bsc#1171573, failing on ppc64. -py.test-%{$python_bin_suffix} -v -k 'not test_ignores and not test_convert_strs' -} +%pytest_arch -k 'not test_ignores and not test_convert_strs' + %files %{python_files} %license LICENSE ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org