From: Wang Mingyu Date: Wed, 13 Mar 2024 07:08:17 +0000 (+0800) Subject: python3-cython: upgrade 3.0.8 -> 3.0.9 X-Git-Tag: uninative-4.5~305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35a7d28d271d2f3e27cf24c2433c4e69c650509e;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-cython: upgrade 3.0.8 -> 3.0.9 Changelog: =========== Features added -------------- * Assigning "const" values to non-const variables now issues a warning. * Using "noexcept" on a function returning Python objects now issues a warning. * Some C-API usage was updated for the upcoming CPython 3.13. * The deprecated "Py_UNICODE" type is no longer used, unless required by user code. * "std::string.replace()" declarations were added to libcpp.string. Bugs fixed ---------- * Cython generates incorrect (but harmless) self-casts when directly calling final methods of subtypes. Lacking a better solution, the errors that recent gcc versions produce have been silenced for the time being. * Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled. * Subclass deallocation of extern classes could crash if the base class uses GC. * Type checks for Python "memoryview" could use an invalid C function. * Calling final fused functions could generate invalid C code. * Declaring extern enums multiple times could generate invalid C code. * "pyximport" used relative paths incorrectly. * Running Cython with globbing characters ("[]*?") in the module search path could fail. * Literal strings that include braces could change the C code indentation. Other changes ------------- * The "enum class not importable" warning is now only issued once per enum type. Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc index e54926ae6d1..2235aa9332e 100644 --- a/meta/recipes-devtools/python/python-cython.inc +++ b/meta/recipes-devtools/python/python-cython.inc @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" PYPI_PACKAGE = "Cython" BBCLASSEXTEND = "native nativesdk" -SRC_URI[sha256sum] = "8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6" +SRC_URI[sha256sum] = "a2d354f059d1f055d34cfaa62c5b68bc78ac2ceab6407148d47fb508cf3ba4f3" UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar" inherit pypi diff --git a/meta/recipes-devtools/python/python3-cython_3.0.8.bb b/meta/recipes-devtools/python/python3-cython_3.0.9.bb similarity index 100% rename from meta/recipes-devtools/python/python3-cython_3.0.8.bb rename to meta/recipes-devtools/python/python3-cython_3.0.9.bb