diff mbox series

[meta-python,042/105] python3-iso3166: upgrade 2.1.1 -> 3.0.0

Message ID 20261116175359.342679-42-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:
- Build backend changed to uv_build, with project metadata moved into
  pyproject.toml (build-time dependency change; no setuptools).
- Country data: "Nauru" renamed to "Naoero" (effective 2026-08-26).
- Test matrix updated for current Python 3 versions; no code API
  changes listed.

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-iso3166/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch b/meta-python/recipes-devtools/python/python3-iso3166/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch
new file mode 100644
index 0000000000..7dd900c346
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-iso3166/0001-pyproject.toml-Relax-the-uv_build-version-bound.patch
@@ -0,0 +1,25 @@ 
+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
+@@ -45,7 +45,7 @@
+ ]
+ 
+ [build-system]
+-requires = ["uv_build>=0.12.5,<0.13.0"]
++requires = ["uv_build>=0.12.5"]
+ build-backend = "uv_build"
+ 
+ [tool.uv]
diff --git a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb b/meta-python/recipes-devtools/python/python3-iso3166_3.0.0.bb
similarity index 58%
rename from meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb
rename to meta-python/recipes-devtools/python/python3-iso3166_3.0.0.bb
index 876a224d90..f8f786b460 100644
--- a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-iso3166_3.0.0.bb
@@ -3,9 +3,10 @@  HOMEPAGE = "https://pypi.org/project/iso3166/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695"
 
-SRC_URI[sha256sum] = "fcd551b8dda66b44e9f9e6d6bbbee3a1145a22447c0a556e5d0fb1ad1e491719"
+SRC_URI += "file://0001-pyproject.toml-Relax-the-uv_build-version-bound.patch"
+SRC_URI[sha256sum] = "e567b55d169211d4d499c73307350da15df5d38248e60bae559609570c42ef55"
 
-inherit pypi python_setuptools_build_meta ptest-python-pytest
+inherit pypi python_uv_build ptest-python-pytest
 
 DEPENDS += "python3-wheel-native"