summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch23
1 files changed, 19 insertions, 4 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
index bead8f3be6..043d7887c0 100644
--- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
@@ -1,11 +1,26 @@
From 2e0994321b57e547a3c1f7e1f225e55ca007e45f Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Mon, 15 Jun 2026 17:53:47 +0300
-Subject: [PATCH] bleak: Support newer uv_build versions
+Subject: [PATCH] bleak: Drop the uv_build upper version bound
-Support newer uv_build versions
+bleak 3.0.2 requires uv_build<0.11.0. OE builds wheels with
+"pyproject-build --no-isolation" against whatever python3-uv-build is in
+the sysroot, and that check is enforced:
-Upstream-Status: Submitted [https://github.com/hbldh/bleak/pull/2001]
+| * Getting build dependencies for wheel...
+|
+| ERROR Missing dependencies:
+| uv_build>=0.10.9,<0.11.0
+
+Raising the bound just moves the problem to the next uv-build upgrade --
+it has already been hit twice, most recently by the 0.11.32 -> 0.12.1
+upgrade in oe-core. Since there is only ever one uv-build in the
+sysroot, drop the upper bound instead.
+
+Upstream merged a bump to <0.12.0 (https://github.com/hbldh/bleak/pull/2001)
+which will be in the next release, but that would need raising again too.
+
+Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
@@ -21,7 +36,7 @@ index 3224afc..4be6da7 100644
[build-system]
-requires = ["uv_build>=0.10.9,<0.11.0"]
-+requires = ["uv_build>=0.10.9,<0.12.0"]
++requires = ["uv_build>=0.10.9"]
build-backend = "uv_build"
[tool.uv.build-backend]