diff mbox series

[meta-python,2/3] python3-cucumber-tag-expressions: Fix build with newer uv build

Message ID 20260514185441.1330509-2-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,1/3] python3-croniter: Fix build with newer trove and pathspec modules | expand

Commit Message

Khem Raj May 14, 2026, 6:54 p.m. UTC
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...ax-required-version-of-uv-to-be-0.12.patch | 31 +++++++++++++++++++
 .../python3-cucumber-tag-expressions_9.1.0.bb |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cucumber-tag-expressions/0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions/0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch b/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions/0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch
new file mode 100644
index 0000000000..e389b99fce
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions/0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch
@@ -0,0 +1,31 @@ 
+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
+
+Core now has 0.11.x and it fails this check
+
+| * Getting build dependencies for wheel...
+|
+| ERROR Missing dependencies:
+|       uv_build<0.11.0,>=0.10.0
+
+Upstream-Status: Inappropriate [OE Specific]
+
+Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index b0f253e..b39d0fd 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ build-backend = "uv_build"
+-requires = ["uv_build>=0.10.0,<0.11.0"]
++requires = ["uv_build>=0.10.0,<0.12.0"]
+
+ [project]
+ name = "cucumber-tag-expressions"
diff --git a/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb b/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb
index add7031f1e..e26f20ebb8 100644
--- a/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb
@@ -4,6 +4,7 @@  HOMEPAGE = "https://github.com/cucumber/tag-expressions"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=134f1026f0de92fd30e71976590a2868"

+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