@@ -1,15 +1,22 @@
From 5cf10b111d61f00db2b3d9c8c6635fc31f3ceefd Mon Sep 17 00:00:00 2001
From: Khem Raj <khem.raj@oss.qualcomm.com>
Date: Thu, 14 May 2026 06:43:36 -0700
-Subject: [PATCH] pyprojects: Relax required version of uv to be < 0.12
+Subject: [PATCH] pyprojects: Drop the uv_build upper version bound
-Core now has 0.11.x and it fails this check
+Core builds wheels with "pyproject-build --no-isolation" against whatever
+python3-uv-build is in the sysroot, and the build-system requirement is
+enforced:
| * Getting build dependencies for wheel...
|
| ERROR Missing dependencies:
| uv_build<0.11.0,>=0.10.0
+Raising the bound only defers the problem to the next uv-build upgrade;
+the 0.11.32 -> 0.12.1 upgrade in oe-core has already invalidated the
+previous <0.12.0 bound. Since there is only ever one uv-build in the
+sysroot, drop the upper bound instead.
+
Upstream-Status: Inappropriate [OE Specific]
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
@@ -25,7 +32,7 @@ index b0f253e..b39d0fd 100644
[build-system]
build-backend = "uv_build"
-requires = ["uv_build>=0.10.0,<0.11.0"]
-+requires = ["uv_build>=0.10.0,<0.12.0"]
++requires = ["uv_build>=0.10.0"]
[project]
name = "cucumber-tag-expressions"
@@ -7,11 +7,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=134f1026f0de92fd30
SRC_URI += "file://0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch"
SRC_URI[sha256sum] = "d960383d5885300ebcbcb14e41657946fde2a59d5c0f485eb291bc6a0e228acc"
-inherit pypi python_setuptools_build_meta
+inherit pypi python_uv_build
PYPI_PACKAGE = "cucumber_tag_expressions"
-
-DEPENDS += "\
- python3-setuptools-scm-native \
- python3-uv-build-native \
-"
The 9.1.0 pyproject.toml sets build-backend = "uv_build" and lists only uv_build in its build-system requires, but the recipe inherited python_setuptools_build_meta and added python3-uv-build-native to DEPENDS by hand. Inherit python_uv_build instead, which drops the unused setuptools, wheel and setuptools-scm dependencies and the setuptools specific do_configure[cleandirs] workaround that came with the old class. The patch capped uv_build at <0.12.0, which the 0.11.32 -> 0.12.1 upgrade in oe-core invalidated. This bound has now broken twice, and there is only ever one uv-build in the sysroot, so drop the upper bound rather than raise it again. Verified on aarch64 for qemuarm64: do_compile and do_package succeed. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- ...ts-Relax-required-version-of-uv-to-be-0.12.patch | 13 ++++++++++--- .../python3-cucumber-tag-expressions_9.1.0.bb | 7 +------ 2 files changed, 11 insertions(+), 9 deletions(-)