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 <sebix+novell....@sebix.at> + +- 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-INFO 2022-04-16 02:21:14.778506000 +0200 +++ new/typed_ast-1.5.4/PKG-INFO 2022-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.000000000 +0200 +++ new/typed_ast-1.5.4/ast27/Include/compile.h 2022-05-21 23:11:28.000000000 +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' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.3/ast3/Parser/tokenizer.c new/typed_ast-1.5.4/ast3/Parser/tokenizer.c --- old/typed_ast-1.5.3/ast3/Parser/tokenizer.c 2022-04-16 02:21:05.000000000 +0200 +++ new/typed_ast-1.5.4/ast3/Parser/tokenizer.c 2022-05-21 23:11:28.000000000 +0200 @@ -1980,6 +1980,8 @@ The char* returned is malloc'ed via PyMem_MALLOC() and thus must be freed by the caller. */ +PyAPI_FUNC(int) _Py_dup(int fd); + char * Ta3Tokenizer_FindEncodingFilename(int fd, PyObject *filename) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.3/typed_ast/__init__.py new/typed_ast-1.5.4/typed_ast/__init__.py --- old/typed_ast-1.5.3/typed_ast/__init__.py 2022-04-16 02:21:05.000000000 +0200 +++ new/typed_ast-1.5.4/typed_ast/__init__.py 2022-05-21 23:11:28.000000000 +0200 @@ -1 +1 @@ -__version__ = "1.5.3" +__version__ = "1.5.4" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typed_ast-1.5.3/typed_ast.egg-info/PKG-INFO new/typed_ast-1.5.4/typed_ast.egg-info/PKG-INFO --- old/typed_ast-1.5.3/typed_ast.egg-info/PKG-INFO 2022-04-16 02:21:14.000000000 +0200 +++ new/typed_ast-1.5.4/typed_ast.egg-info/PKG-INFO 2022-05-21 23:11:36.000000000 +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. -