diff mbox series

[meta-python,1/2] python3-propcache: relax Cython requirement.

Message ID 20260101235202.2746620-1-t.f.g.geelen@gmail.com
State New
Headers show
Series [meta-python,1/2] python3-propcache: relax Cython requirement. | expand

Commit Message

Tom Geelen Jan. 1, 2026, 11:52 p.m. UTC
Since commit c35ce5fa9fe65da7c74d3ba679692c2f15bdca24 in openembedded-core python3-propcache fails to compile due to a version mismatch. This addresses it.

Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
---
 ...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 mbox series

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 <t.f.g.geelen@gmail.com>
+Date: Fri, 2 Jan 2026 00:12:43 +0100
+Subject: [PATCH] Relax strict Cython requirement
+
+Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
+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 \