Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Cython for openSUSE:Factory checked in at 2022-01-07 12:44:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Cython (Old) and /work/SRC/openSUSE:Factory/.python-Cython.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Cython" Fri Jan 7 12:44:34 2022 rev:62 rq:943796 version:0.29.26 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Cython/python-Cython.changes 2021-12-09 19:45:34.553132291 +0100 +++ /work/SRC/openSUSE:Factory/.python-Cython.new.1896/python-Cython.changes 2022-01-07 12:45:00.323788134 +0100 @@ -1,0 +2,10 @@ +Tue Jan 4 15:59:48 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 0.29.26: + * An incompatibility with CPython 3.11.0a3 was resolved. + * The ``in`` operator failed on literal lists with starred + expressions. + * A C compiler warning in PyPy about a missing struct field + initialisation was resolved. + +------------------------------------------------------------------- Old: ---- Cython-0.29.25.tar.gz New: ---- Cython-0.29.26.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Cython.spec ++++++ --- /var/tmp/diff_new_pack.uhYiaU/_old 2022-01-07 12:45:01.111788681 +0100 +++ /var/tmp/diff_new_pack.uhYiaU/_new 2022-01-07 12:45:01.115788684 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Cython # -# 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 oldpython python Name: python-Cython -Version: 0.29.25 +Version: 0.29.26 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 ++++++ Cython-0.29.25.tar.gz -> Cython-0.29.26.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/.gitrev new/Cython-0.29.26/.gitrev --- old/Cython-0.29.25/.gitrev 2021-12-06 12:56:18.318490000 +0100 +++ new/Cython-0.29.26/.gitrev 2021-12-16 10:21:21.237250800 +0100 @@ -1 +1 @@ -488e21a34259258210f0be92c58618e1ea8a928f +3028e8c7ac296bc848d996e397c3354b3dbbd431 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/CHANGES.rst new/Cython-0.29.26/CHANGES.rst --- old/Cython-0.29.25/CHANGES.rst 2021-12-06 12:56:12.682530200 +0100 +++ new/Cython-0.29.26/CHANGES.rst 2021-12-16 10:21:18.501220200 +0100 @@ -2,7 +2,22 @@ Cython Changelog ================ -0.29.25 (2021-12-05) +0.29.26 (2021-12-16) +==================== + +Bugs fixed +---------- + +* An incompatibility with CPython 3.11.0a3 was resolved. + (Github issue #4499) + +* The ``in`` operator failed on literal lists with starred expressions. + Patch by Arvind Natarajan. (Github issue #3938) + +* A C compiler warning in PyPy about a missing struct field initialisation was resolved. + + +0.29.25 (2021-12-06) ==================== Bugs fixed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Cython/Compiler/Optimize.py new/Cython-0.29.26/Cython/Compiler/Optimize.py --- old/Cython-0.29.25/Cython/Compiler/Optimize.py 2021-12-06 12:56:12.694530000 +0100 +++ new/Cython-0.29.26/Cython/Compiler/Optimize.py 2021-12-16 10:21:18.509220100 +0100 @@ -1347,6 +1347,10 @@ # note: lhs may have side effects return node + if any([arg.is_starred for arg in args]): + # Starred arguments do not directly translate to comparisons or "in" tests. + return node + lhs = UtilNodes.ResultRefNode(node.operand1) conds = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Cython/Compiler/TypeSlots.py new/Cython-0.29.26/Cython/Compiler/TypeSlots.py --- old/Cython-0.29.25/Cython/Compiler/TypeSlots.py 2021-12-06 12:56:12.698530000 +0100 +++ new/Cython-0.29.26/Cython/Compiler/TypeSlots.py 2021-12-16 10:21:18.513220300 +0100 @@ -890,7 +890,8 @@ EmptySlot("tp_finalize", ifdef="PY_VERSION_HEX >= 0x030400a1"), EmptySlot("tp_vectorcall", ifdef="PY_VERSION_HEX >= 0x030800b1"), EmptySlot("tp_print", ifdef="PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000"), - EmptySlot("tp_inline_values_offset", ifdef="PY_VERSION_HEX >= 0x030B00A2"), + # PyPy specific extension - only here to avoid C compiler warnings. + EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000"), ) #------------------------------------------------------------------------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Cython/Shadow.py new/Cython-0.29.26/Cython/Shadow.py --- old/Cython-0.29.25/Cython/Shadow.py 2021-12-06 12:56:12.710529800 +0100 +++ new/Cython-0.29.26/Cython/Shadow.py 2021-12-16 10:21:18.521220400 +0100 @@ -1,7 +1,7 @@ # cython.* namespace for pure mode. from __future__ import absolute_import -__version__ = "0.29.25" +__version__ = "0.29.26" try: from __builtin__ import basestring diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Cython/Utility/AsyncGen.c new/Cython-0.29.26/Cython/Utility/AsyncGen.c --- old/Cython-0.29.25/Cython/Utility/AsyncGen.c 2021-12-06 12:56:12.714530000 +0100 +++ new/Cython-0.29.26/Cython/Utility/AsyncGen.c 2021-12-16 10:21:18.525220400 +0100 @@ -364,11 +364,11 @@ 0, /* tp_getattr */ 0, /* tp_setattr */ #if CYTHON_USE_ASYNC_SLOTS - &__Pyx_async_gen_as_async, /* tp_as_async */ + &__Pyx_async_gen_as_async, /* tp_as_async */ #else 0, /*tp_reserved*/ #endif - (reprfunc)__Pyx_async_gen_repr, /* tp_repr */ + (reprfunc)__Pyx_async_gen_repr, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ 0, /* tp_as_mapping */ @@ -381,20 +381,20 @@ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_HAVE_FINALIZE, /* tp_flags */ 0, /* tp_doc */ - (traverseproc)__Pyx_async_gen_traverse, /* tp_traverse */ + (traverseproc)__Pyx_async_gen_traverse, /* tp_traverse */ 0, /* tp_clear */ #if CYTHON_USE_ASYNC_SLOTS && CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 && PY_VERSION_HEX < 0x030500B1 // in order to (mis-)use tp_reserved above, we must also implement tp_richcompare - __Pyx_Coroutine_compare, /*tp_richcompare*/ + __Pyx_Coroutine_compare, /*tp_richcompare*/ #else - 0, /*tp_richcompare*/ + 0, /*tp_richcompare*/ #endif offsetof(__pyx_CoroutineObject, gi_weakreflist), /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - __Pyx_async_gen_methods, /* tp_methods */ - __Pyx_async_gen_memberlist, /* tp_members */ - __Pyx_async_gen_getsetlist, /* tp_getset */ + __Pyx_async_gen_methods, /* tp_methods */ + __Pyx_async_gen_memberlist, /* tp_members */ + __Pyx_async_gen_getsetlist, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ 0, /* tp_descr_get */ @@ -411,9 +411,9 @@ 0, /* tp_subclasses */ 0, /* tp_weaklist */ #if CYTHON_USE_TP_FINALIZE - 0, /*tp_del*/ + 0, /*tp_del*/ #else - __Pyx_Coroutine_del, /*tp_del*/ + __Pyx_Coroutine_del, /*tp_del*/ #endif 0, /* tp_version_tag */ #if CYTHON_USE_TP_FINALIZE @@ -427,8 +427,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -601,15 +601,15 @@ static PyTypeObject __pyx__PyAsyncGenASendType_type = { PyVarObject_HEAD_INIT(0, 0) "async_generator_asend", /* tp_name */ - sizeof(__pyx_PyAsyncGenASend), /* tp_basicsize */ + sizeof(__pyx_PyAsyncGenASend), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - (destructor)__Pyx_async_gen_asend_dealloc, /* tp_dealloc */ + (destructor)__Pyx_async_gen_asend_dealloc, /* tp_dealloc */ 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ #if CYTHON_USE_ASYNC_SLOTS - &__Pyx_async_gen_asend_as_async, /* tp_as_async */ + &__Pyx_async_gen_asend_as_async, /* tp_as_async */ #else 0, /*tp_reserved*/ #endif @@ -665,8 +665,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -783,8 +783,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -1008,14 +1008,14 @@ static PyTypeObject __pyx__PyAsyncGenAThrowType_type = { PyVarObject_HEAD_INIT(0, 0) "async_generator_athrow", /* tp_name */ - sizeof(__pyx_PyAsyncGenAThrow), /* tp_basicsize */ + sizeof(__pyx_PyAsyncGenAThrow), /* tp_basicsize */ 0, /* tp_itemsize */ - (destructor)__Pyx_async_gen_athrow_dealloc, /* tp_dealloc */ + (destructor)__Pyx_async_gen_athrow_dealloc, /* tp_dealloc */ 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ #if CYTHON_USE_ASYNC_SLOTS - &__Pyx_async_gen_athrow_as_async, /* tp_as_async */ + &__Pyx_async_gen_athrow_as_async, /* tp_as_async */ #else 0, /*tp_reserved*/ #endif @@ -1035,14 +1035,14 @@ 0, /* tp_clear */ #if CYTHON_USE_ASYNC_SLOTS && CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 && PY_VERSION_HEX < 0x030500B1 // in order to (mis-)use tp_reserved above, we must also implement tp_richcompare - __Pyx_Coroutine_compare, /*tp_richcompare*/ + __Pyx_Coroutine_compare, /*tp_richcompare*/ #else - 0, /*tp_richcompare*/ + 0, /*tp_richcompare*/ #endif 0, /* tp_weaklistoffset */ PyObject_SelfIter, /* tp_iter */ (iternextfunc)__Pyx_async_gen_athrow_iternext, /* tp_iternext */ - __Pyx_async_gen_athrow_methods, /* tp_methods */ + __Pyx_async_gen_athrow_methods, /* tp_methods */ 0, /* tp_members */ 0, /* tp_getset */ 0, /* tp_base */ @@ -1071,8 +1071,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Cython/Utility/Coroutine.c new/Cython-0.29.26/Cython/Utility/Coroutine.c --- old/Cython-0.29.25/Cython/Utility/Coroutine.c 2021-12-06 12:56:12.714530000 +0100 +++ new/Cython-0.29.26/Cython/Utility/Coroutine.c 2021-12-16 10:21:18.525220400 +0100 @@ -1563,8 +1563,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -1723,8 +1723,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -1837,8 +1837,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -1948,8 +1948,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -2347,8 +2347,8 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Cython/Utility/CythonFunction.c new/Cython-0.29.26/Cython/Utility/CythonFunction.c --- old/Cython-0.29.25/Cython/Utility/CythonFunction.c 2021-12-06 12:56:12.714530000 +0100 +++ new/Cython-0.29.26/Cython/Utility/CythonFunction.c 2021-12-16 10:21:18.525220400 +0100 @@ -736,8 +736,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; @@ -1268,8 +1268,8 @@ #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif -#if PY_VERSION_HEX >= 0x030B00A2 - 0, /*tp_inline_values_offset*/ +#if CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM+0 >= 0x06000000 + 0, /*tp_pypy_flags*/ #endif }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/Makefile new/Cython-0.29.26/Makefile --- old/Cython-0.29.25/Makefile 2021-12-06 12:56:12.722530000 +0100 +++ new/Cython-0.29.26/Makefile 2021-12-16 10:21:18.529220300 +0100 @@ -5,7 +5,7 @@ VERSION?=$(shell sed -ne 's|^__version__\s*=\s*"\([^"]*\)".*|\1|p' Cython/Shadow.py) MANYLINUX_CFLAGS=-O3 -g0 -mtune=generic -pipe -fPIC -MANYLINUX_LDFLAGS=-flto +MANYLINUX_LDFLAGS= MANYLINUX_IMAGES= \ manylinux1_x86_64 \ manylinux1_i686 \ @@ -79,8 +79,8 @@ mkdir -p wheelhouse_$(subst wheel_,,$@) time docker run --rm -t \ -v $(shell pwd):/io \ - -e CFLAGS="$(MANYLINUX_CFLAGS) $(if $(patsubst %aarch64,,$@),-march=core2,-march=armv8-a -mtune=cortex-a72)" \ - -e LDFLAGS="$(LDFLAGS) -fPIC" \ + -e CFLAGS="$(MANYLINUX_CFLAGS)" \ + -e LDFLAGS="$(MANYLINUX_LDFLAGS) -fPIC" \ -e WHEELHOUSE=wheelhouse$(subst wheel_musllinux,,$(subst wheel_manylinux,,$@)) \ quay.io/pypa/$(subst wheel_,,$@) \ bash -c 'for PYBIN in /opt/python/cp*/bin; do \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/PKG-INFO new/Cython-0.29.26/PKG-INFO --- old/Cython-0.29.25/PKG-INFO 2021-12-06 12:56:26.022435200 +0100 +++ new/Cython-0.29.26/PKG-INFO 2021-12-16 10:21:26.557086700 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Cython -Version: 0.29.25 +Version: 0.29.26 Summary: The Cython compiler for writing C extensions for the Python language. Home-page: http://cython.org/ Author: Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cython-0.29.25/tests/run/pep448_extended_unpacking.pyx new/Cython-0.29.26/tests/run/pep448_extended_unpacking.pyx --- old/Cython-0.29.25/tests/run/pep448_extended_unpacking.pyx 2021-12-06 12:56:12.790529300 +0100 +++ new/Cython-0.29.26/tests/run/pep448_extended_unpacking.pyx 2021-12-16 10:21:18.577221000 +0100 @@ -272,6 +272,24 @@ return [*a, *b, 2, *c] +def unpack_starred_arg_for_in_operator(x, l, m): + """ + >>> l = [1,2,3] + >>> m = [4,5,6] + >>> x = 1 + >>> unpack_starred_arg_for_in_operator(x, l, m) + True + >>> x = 10 + >>> unpack_starred_arg_for_in_operator(x, l, m) + False + >>> unpack_starred_arg_for_in_operator(x, l, []) + False + >>> unpack_starred_arg_for_in_operator(x, [], []) + False + """ + return x in [*l, *m] + + ###### sets