Skip to contentSkip to conversation

python3-propcache: relax Cython requirement.

PATCH New Tom Geelen 1 participant 2 messages Jan 1

lore
Share & tools
lore

Tom Geelen

author
#0 lore raw

PATCH 1/2 python3-propcache: relax Cython requirement.

Since commit c35ce5fa9fe65da7c74d3ba679692c2f15bdca24 in openembedded-core python3-propcache fails to compile due to a version mismatch. This addresses it.

---
 ...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
meta-python/recipes-devtools/python/python3-propcache/0001-Relax-strict-Cython-requirement.patch new file +24 -0
new file mode 100644
index 0000000000..4b23145633
@@ -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,
meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb +3 -3
index 53ec5b33b9..23dd38b968 100644
@@ -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 \
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 2/2 python3-pytest-aiohttp: add missing DEPENDS

---
 .../python/python3-pytest-aiohttp_1.1.0.bb               | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.0.bb +6 -3
index 7bd7e4fe8a..9a5c0b3bf4 100644
@@ -3,7 +3,12 @@ HOMEPAGE = "https://github.com/aio-libs/pytest-aiohttp"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c251ea89d32d196dddd14c669ed3d482"
 
-DEPENDS = "python3-setuptools-scm-native"
+DEPENDS = "\
+    python3-setuptools-scm-native \
+    python3-pytest-native \
+    python3-pytest-asyncio-native \
+    python3-aiohttp-native \
+"
 
 SRC_URI[sha256sum] = "147de8cb164f3fc9d7196967f109ab3c0b93ea3463ab50631e56438eab7b5adc"
 
@@ -11,6 +16,4 @@ PYPI_PACKAGE = "pytest_aiohttp"
 
 inherit pypi python_setuptools_build_meta
 
-PYPI_PACKAGE = "pytest_aiohttp"
-
 RDEPENDS:${PN} += "python3-aiohttp"
Signature · 1 line
2.43.0