new file mode 100644
@@ -0,0 +1,25 @@
+From b778b94e19ddda2d63717855e368ccf3127c6b5d Mon Sep 17 00:00:00 2001
+From: Nils Philippsen <nils@redhat.com>
+Date: Wed, 25 Nov 2026 16:04:23 +0100
+Subject: [PATCH] Fix required hatchling version (#1490)
+
+Previously, the hatchling build system would effectively be pinned to version 1.27.0 (technically, any 1.27.x would be allowed, but there was only ever .0).
+
+Upstream-Status: Backport [https://github.com/python-babel/babel/commit/b778b94e19ddda2d63717855e368ccf3127c6b5d]
+Signed-off-by: Nils Philippsen <nils@tiptoe.de>
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index d873f86c0..a5453c6d1 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["hatchling~=1.27.0"] # Bump when no longer Python 3.9
++requires = ["hatchling~=1.27"] # Bump when no longer Python 3.9
+ build-backend = "hatchling.build"
+
+ [project]
deleted file mode 100644
@@ -1,25 +0,0 @@
-SUMMARY = "A collection of tools for internationalizing Python applications"
-HOMEPAGE = "http://babel.edgewall.org/"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a2b86daab39fdb8ce59d97e9fecc90ee"
-
-SRC_URI[sha256sum] = "b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d"
-
-inherit pypi setuptools3
-
-CVE_PRODUCT = "pocoo:babel"
-
-S = "${UNPACKDIR}/babel-${PV}"
-
-RDEPENDS:${PN} += " \
- python3-codecs \
- python3-difflib \
- python3-netserver \
- python3-numbers \
- python3-pickle \
- python3-shell \
- python3-threading \
- python3-zoneinfo \
-"
-
-BBCLASSEXTEND = "native nativesdk"
new file mode 100644
@@ -0,0 +1,32 @@
+SUMMARY = "A collection of tools for internationalizing Python applications"
+DESCRIPTION = "\
+Babel is a Python library that provides an integrated collection of \
+utilities that assist with internationalizing and localizing Python \
+applications, in particular web-based applications. It includes the \
+Unicode CLDR locale data."
+HOMEPAGE = "https://babel.pocoo.org/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a2b86daab39fdb8ce59d97e9fecc90ee"
+
+SRC_URI[sha256sum] = "fddd2cbbbac7c299af3c2880be23609c331bd94f0912baca6cb0abfe054dfc27"
+
+SRC_URI += "file://0001-Fix-required-hatchling-version-1490.patch"
+
+inherit pypi python_hatchling
+
+CVE_PRODUCT = "pocoo:babel"
+
+S = "${UNPACKDIR}/babel-${PV}"
+
+RDEPENDS:${PN} += "\
+ python3-codecs \
+ python3-difflib \
+ python3-netserver \
+ python3-numbers \
+ python3-pickle \
+ python3-shell \
+ python3-threading \
+ python3-zoneinfo \
+"
+
+BBCLASSEXTEND = "native nativesdk"
2.19.0 builds with hatchling instead of setup.py, so inherit python_hatchling; this is why the AUH upgrade failed. Backport the upstream fix that relaxes the hatchling~=1.27.0 pin, which hatchling 1.32.4 does not satisfy. Add DESCRIPTION from the upstream README, update HOMEPAGE since the project moved from babel.edgewall.org to babel.pocoo.org, and drop a leading space in RDEPENDS. Changelog: https://github.com/python-babel/babel/blob/v2.19.0/CHANGES.rst - Use CLDR 49. - Add pybabel concat and merge commands, read command configuration from pyproject.toml. - Many fixes for dates, message extraction and locale data. - Drop support for Python 3.8. Built for target, native and nativesdk. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- ...-Fix-required-hatchling-version-1490.patch | 25 +++++++++++++++ .../python/python3-babel_2.18.0.bb | 25 --------------- .../python/python3-babel_2.19.0.bb | 32 +++++++++++++++++++ 3 files changed, 57 insertions(+), 25 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-babel/0001-Fix-required-hatchling-version-1490.patch delete mode 100644 meta/recipes-devtools/python/python3-babel_2.18.0.bb create mode 100644 meta/recipes-devtools/python/python3-babel_2.19.0.bb