Since commit c35ce5fa9fe65da7c74d3ba679692c2f15bdca24 in openembedded-core python3-propcache fails to compile due to a version mismatch. This addresses it.
Signed-off-by: Tom Geelen <[email protected]> --- ...0001-Relax-strict-Cython-requirement.patch | 24 +++++++++++++++++++ .../python/python3-propcache_0.4.1.bb | 6 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-propcache/0001-Relax-strict-Cython-requirement.patch diff --git a/meta-python/recipes-devtools/python/python3-propcache/0001-Relax-strict-Cython-requirement.patch b/meta-python/recipes-devtools/python/python3-propcache/0001-Relax-strict-Cython-requirement.patch new file mode 100644 index 0000000000..4b23145633 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-propcache/0001-Relax-strict-Cython-requirement.patch @@ -0,0 +1,24 @@ +From 093a426a453840366c281515fbaa9509c77512df Mon Sep 17 00:00:00 2001 +From: Tom Geelen <[email protected]> +Date: Fri, 2 Jan 2026 00:12:43 +0100 +Subject: [PATCH] Relax strict Cython requirement + +Signed-off-by: Tom Geelen <[email protected]> +Upstream-Status: Pending +--- + packaging/pep517_backend/_backend.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py +index ce79c4e..e3168ef 100644 +--- a/packaging/pep517_backend/_backend.py ++++ b/packaging/pep517_backend/_backend.py +@@ -376,7 +376,7 @@ def get_requires_for_build_wheel( + if is_pure_python_build: + c_ext_build_deps = [] + else: +- c_ext_build_deps = ['Cython ~= 3.1.0'] ++ c_ext_build_deps = ['Cython >= 3.1.0'] + + return _setuptools_get_requires_for_build_wheel( + config_settings=config_settings, diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb b/meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb index 53ec5b33b9..23dd38b968 100644 --- a/meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb @@ -7,9 +7,9 @@ SRC_URI[sha256sum] = "f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423 inherit pypi python_setuptools_build_meta ptest-python-pytest cython -SRC_URI += " \ - file://0001-build-wheel-in-place.patch \ -" +SRC_URI += "file://0001-build-wheel-in-place.patch \ + file://0001-Relax-strict-Cython-requirement.patch \ + " DEPENDS += " \ python3-expandvars-native \ -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#123087): https://lists.openembedded.org/g/openembedded-devel/message/123087 Mute This Topic: https://lists.openembedded.org/mt/117035003/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
