diff mbox series

[meta-python,044/105] python3-janus: upgrade 2.0.0 -> 2.1.1

Message ID 20261116175359.342679-44-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:52 p.m. UTC
Upstream builds with uv_build now; inherit python_uv_build and relax its
narrow uv_build version bound.

Changes:
- Drop support for Python 3.9 and 3.10; add Python 3.11-3.15 support
  (2.1.0).
- Build backend changed from setuptools to uv_build.
- Bound the PriorityQueue type variable to items supporting rich
  comparison (2.1.1).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...oml-Relax-the-uv_build-version-bound.patch | 23 +++++++++++++++++++
 ...-janus_2.0.0.bb => python3-janus_2.1.1.bb} |  5 ++--
 2 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-janus/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch
 rename meta-python/recipes-devtools/python/{python3-janus_2.0.0.bb => python3-janus_2.1.1.bb} (64%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-janus/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch b/meta-python/recipes-devtools/python/python3-janus/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch
new file mode 100644
index 0000000000..dcd6a265ba
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-janus/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch
@@ -0,0 +1,23 @@ 
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 15 Nov 2026 23:07:01 -0800
+Subject: [PATCH] pyproject.toml: Relax the uv_build version bound
+
+uv_build is pinned to a narrow range upstream; build with the uv_build
+version that OE ships.
+
+Upstream-Status: Inappropriate [OE-specific]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["uv_build>=0.13.8,<0.14"]
++requires = ["uv_build>=0.13"]
+ build-backend = "uv_build"
+ 
+ [project]
diff --git a/meta-python/recipes-devtools/python/python3-janus_2.0.0.bb b/meta-python/recipes-devtools/python/python3-janus_2.1.1.bb
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-janus_2.0.0.bb
rename to meta-python/recipes-devtools/python/python3-janus_2.1.1.bb
index 1dae961971..9ec041fc14 100644
--- a/meta-python/recipes-devtools/python/python3-janus_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-janus_2.1.1.bb
@@ -3,9 +3,10 @@  SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=23878c357ebb4c8ce1109be365043349"
 
-SRC_URI[sha256sum] = "0970f38e0e725400496c834a368a67ee551dc3b5ad0a257e132f5b46f2e77770"
+SRC_URI += "file://0001-pyproject.toml-Relax-the-uv_build-version-bound.patch"
+SRC_URI[sha256sum] = "da6197870a8c634fed91698b5fd9725c33b83cb693baabf264320d7773e53659"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_uv_build
 
 DEPENDS += "python3-wheel-native"