From 115d99cde609f783d7cb6a3d93cc0721792a68e9 Mon Sep 17 00:00:00 2001 From: Thomas Roos Date: Sun, 8 Nov 2026 20:26:10 +0100 Subject: [PATCH] python3-lru-dict: upgrade 1.3.0 -> 1.4.1 Home Assistant 2026.11 pins lru-dict 1.4.1. The sdist is now published as lru_dict-*.tar.gz, the default name, so drop PYPI_PACKAGE_SDIST. 1.4.x pins the build to setuptools==80.9.0 and no longer needs wheel; relax the setuptools pin with a patch and drop the python3-wheel-native dependency. AI-Generated: Claude Code, Claude Opus 5.5 Signed-off-by: Thomas Roos Signed-off-by: Khem Raj --- ...pyproject.toml-do-not-pin-setuptools.patch | 25 +++++++++++++++++++ ...ict_1.3.0.bb => python3-lru-dict_1.4.1.bb} | 7 ++---- 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch rename meta-python/recipes-devtools/python/{python3-lru-dict_1.3.0.bb => python3-lru-dict_1.4.1.bb} (67%) diff --git a/meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch b/meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch new file mode 100644 index 0000000000..4a41e98f01 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch @@ -0,0 +1,25 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Roos +Date: Thu, 5 Nov 2026 22:30:00 +0100 +Subject: [PATCH] pyproject.toml: do not pin setuptools + +lru-dict 1.4.x pins the PEP 517 build to setuptools==80.9.0. OE-Core +provides a newer setuptools, which builds the extension as well. + +Upstream-Status: Inappropriate [oe-specific] +AI-Generated: Claude Code, Claude Opus 5.5 +Signed-off-by: Thomas Roos +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools==80.9.0"] ++requires = ["setuptools>=80.9.0"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb b/meta-python/recipes-devtools/python/python3-lru-dict_1.4.1.bb similarity index 67% rename from meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb rename to meta-python/recipes-devtools/python/python3-lru-dict_1.4.1.bb index a1b3819d04..9dad9dc777 100644 --- a/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-lru-dict_1.4.1.bb @@ -4,10 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153" -SRC_URI[sha256sum] = "54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b" +SRC_URI += "file://0001-pyproject.toml-do-not-pin-setuptools.patch" +SRC_URI[sha256sum] = "cc518ff2d38cc7a8ab56f9a6ae557f91e2e1524b57ed8e598e97f45a2bd708fc" inherit pypi python_setuptools_build_meta - -PYPI_PACKAGE_SDIST = "lru-dict" - -DEPENDS += "python3-wheel-native"