From 51897427a30ad588e8f85c64e372cfc4aaa8820b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 16 Jun 2025 17:16:32 +0800 Subject: [PATCH] python3-cython: upgrade 3.1.1 -> 3.1.2 Bugs fixed ---------- * Attribute lookups failed on the "bool" builtin type. * Type checks on or-ed union types could incorrectly return false. * Negative list indexing could accidentally wrap around twice in PyPy and the Limited API. * Iterating over literal sequences with starred (unpacked) items could infer a wrong type for the loop variable and fail to assign the values. * Calls to C functions taking exception types failed to check for a 'None' argument. * Fused functions had an incorrect "__module__" attribute. * The type of Cython implemented functions had an incorrect "__module__" attribute. * Errors while indexing into "bytearray" or "str" in "nogil" sections could crash. * "bytearray.append()" could silently accept some invalid character numbers. * The C++11 "" header was included regardless of the C++ version. * "PyDict_GetItemStringRef()" was accidentally used in older Limited API versions. * "abort()" was used but not always available in the Limited API. * Some dependencies were missing from the "depfile". * Embedded function signatures were not always separated from the existing docstring. * "numpy.math" was missing from "Cython/Includes/" and could not be cimported. * Some tests were adapted for NumPy 2.x. * Some C compiler warnings were fixed. * "Cython.Build" was not officially exposing the "cythonize" function. (From OE-Core rev: ad9e2ba3d7c1af3f7084427eb9ddb0822460b108) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/{python3-cython_3.1.1.bb => python3-cython_3.1.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-cython_3.1.1.bb => python3-cython_3.1.2.bb} (93%) diff --git a/meta/recipes-devtools/python/python3-cython_3.1.1.bb b/meta/recipes-devtools/python/python3-cython_3.1.2.bb similarity index 93% rename from meta/recipes-devtools/python/python3-cython_3.1.1.bb rename to meta/recipes-devtools/python/python3-cython_3.1.2.bb index 1bc6eda4ac..77dbbe8b2c 100644 --- a/meta/recipes-devtools/python/python3-cython_3.1.1.bb +++ b/meta/recipes-devtools/python/python3-cython_3.1.2.bb @@ -7,7 +7,7 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" -SRC_URI[sha256sum] = "505ccd413669d5132a53834d792c707974248088c4f60c497deb1b416e366397" +SRC_URI[sha256sum] = "6bbf7a953fa6762dfecdec015e3b054ba51c0121a45ad851fa130f63f5331381" inherit pypi setuptools3 cython