python3-cython: upgrade 3.2.9 -> 3.3.0
PATCH 1/1 python3-cython: upgrade 3.2.9 -> 3.3.0
Lots of upstream changes, see the full release notes at
https://github.com/cython/cython/blob/master/CHANGES.rst
Disable parallel builds because there's a race which causes occasional build failures. This has a non-trivial implication to build time (89.1s to 243.1s on my machine), but it builds.
---
...place-not-predictable-build-path-prefix-with-hardc.patch | 4 ++--
.../{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} | 6 +++++-
2 files changed, 7 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/python/{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} (85%)meta/recipes-devtools/python/python3-cython/0001-Replace-not-predictable-build-path-prefix-with-hardc.patch +2 -2
@@ -53,10 +53,10 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py -index 34f1b32..b09350b 100644 +index 6e0a3e5..ce35b25 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py -@@ -877,7 +877,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): +@@ -888,7 +888,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): code.put_generated_by() if metadata: code.putln("/* BEGIN: Cython Metadata")
meta/recipes-devtools/python/python3-cython_3.3.0.bb renamed from meta/recipes-devtools/python/python3-cython_3.2.9.bb +5 -1
@@ -7,7 +7,7 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" -SRC_URI[sha256sum] = "d249c9022ab13286b17bd66f30609e800c5f95efeecb06168990c7a66cecde6c" +SRC_URI[sha256sum] = "eed0d93fbca7087f143b42c34b05a825849bdf17f101572c2105acfa49aa88b8" inherit pypi setuptools3 cython
@@ -44,3 +44,7 @@ RDEPENDS:${PN}:class-nativesdk += "\ " BBCLASSEXTEND = "native nativesdk" + +# Disable parallel builds for now as there's a build race in 3.3.0: +# https://github.com/cython/cython/issues/7997 +PARALLEL_MAKE = ""
Signature · 1 line
2.43.0
Quoted 7 lines · Ross Burton via lists.openembedded.org
Lots of upstream changes, see the full release notes at
https://github.com/cython/cython/blob/master/CHANGES.rstDisable parallel builds because there's a race which causes occasional build failures. This has a non-trivial implication to build time (89.1s to 243.1s on my machine), but it builds.
Quoted 6 lines
Signed-off-by Ross Burton <[email protected]>---
...place-not-predictable-build-path-prefix-with-hardc.patch | 4 ++-- .../{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} | 6 +++++-2 files changed, 7 insertions(+), 3 deletions(-)rename meta/recipes-devtools/python/{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} (85%)
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/4993
:(
Cheers,
Richard
Quoted 16 lines · Richard Purdie
Quoted 7 lines · Ross Burton via lists.openembedded.org
Lots of upstream changes, see the full release notes at
https://github.com/cython/cython/blob/master/CHANGES.rstDisable parallel builds because there's a race which causes occasional build failures. This has a non-trivial implication to build time (89.1s to 243.1s on my machine), but it builds.
Quoted 6 lines
Signed-off-by Ross Burton <[email protected]>--- ...place-not-predictable-build-path-prefix-with-hardc.patch | 4 ++-- .../{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} (85%)
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260915-6gd413zg/packages/diff-html/#reproducibleA-tmp---reproducibleA-tmp-deploy---reproducibleA-tmp-deploy-deb---reproducibleA-tmp-deploy-deb-x------v----reproducibleA-tmp-deploy-deb-x------v--python--cython-src_-.-.--r-_amd--.deb---data.tar.xz---data.tar---.-usr-src-debug-python--cython--.-.--Cython-Compiler-FlowControl.c is the relevant change. Yes, the generated code is changing even with parallel builds disabled. I’ve no idea what one of the two builds is “correct” either, as they both built.
We can definitely hold 3.3.0 until this is understood. https://github.com/cython/cython/issues/7997 is tracking it upstream.
Ross