python3-propcache: relax Cython requirement.
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.
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
meta-python/recipes-devtools/python/python3-propcache/0001-Relax-strict-Cython-requirement.patch new file +24 -0
@@ -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
@@ -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
PATCH 2/2 python3-pytest-aiohttp: add missing DEPENDS
Signed-off-by Tom Geelen <[email protected]>
--- .../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
@@ -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