Skip to contentSkip to conversation

python3-croniter: Fix build with newer trove and pathspec modules

PATCH New Khem Raj 1 participant 3 messages May 14

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 python3-croniter: Fix build with newer trove and pathspec modules

---
 ...r-versions-of-trove-classifiers-and-.patch | 28 +++++++++++++++++++
 .../python/python3-croniter_6.2.2.bb          |  2 ++
 2 files changed, 30 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-croniter/0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch
meta-python/recipes-devtools/python/python3-croniter/0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch new file +28 -0
new file mode 100644
index 0000000000..a20075a76f
@@ -0,0 +1,28 @@
+From 297d149636d063a82b33d95ab59928a88db51e4e Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Thu, 14 May 2026 11:44:44 -0700
+Subject: [PATCH] Allow using newer versions of trove-classifiers and pathspec
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ pyproject.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 657cc21..d1b9ce3 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -2,9 +2,9 @@
+ requires = [
+     "hatchling==1.29.0",
+     "packaging==26.0",
+-    "pathspec==1.0.4",
++    "pathspec>=1.0.4",
+     "pluggy==1.6.0",
+-    "trove-classifiers==2026.1.14.14",
++    "trove-classifiers>=2026.1.14.14",
+ ]
+ build-backend = "hatchling.build"
+
meta-python/recipes-devtools/python/python3-croniter_6.2.2.bb +2 -0
index d217161d7d..a52dc5cbbb 100644
@@ -5,10 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
 
 PYPI_PACKAGE = "croniter"
 
+SRC_URI += "file://0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch"
 SRC_URI[sha256sum] = "ba60832a5ec8e12e51b8691c3309a113d1cf6526bdf1a48150ce8ec7a532d0ab"
 
 inherit pypi python_hatchling
 
+DEPENDS += "python3-pathspec python3-trove-classifiers"
 RDEPENDS:${PN} += " \
 	python3-dateutil \
 	python3-natsort \
author
#1 lore raw

PATCH 2/3 python3-cucumber-tag-expressions: Fix build with newer uv build

---
 ...ax-required-version-of-uv-to-be-0.12.patch | 31 +++++++++++++++++++
 .../python3-cucumber-tag-expressions_9.1.0.bb |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cucumber-tag-expressions/0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch
meta-python/recipes-devtools/python/python3-cucumber-tag-expressions/0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch new file +31 -0
new file mode 100644
index 0000000000..e389b99fce
@@ -0,0 +1,31 @@
+From 5cf10b111d61f00db2b3d9c8c6635fc31f3ceefd Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Thu, 14 May 2026 06:43:36 -0700
+Subject: [PATCH] pyprojects: Relax required version of uv to be < 0.12
+
+Core now has 0.11.x and it fails this check
+
+| * Getting build dependencies for wheel...
+|
+| ERROR Missing dependencies:
+|       uv_build<0.11.0,>=0.10.0
+
+Upstream-Status: Inappropriate [OE Specific]
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index b0f253e..b39d0fd 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ build-backend = "uv_build"
+-requires = ["uv_build>=0.10.0,<0.11.0"]
++requires = ["uv_build>=0.10.0,<0.12.0"]
+
+ [project]
+ name = "cucumber-tag-expressions"
meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb +1 -0
index add7031f1e..e26f20ebb8 100644
@@ -4,6 +4,7 @@ HOMEPAGE = "https://github.com/cucumber/tag-expressions"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=134f1026f0de92fd30e71976590a2868"
 
+SRC_URI += "file://0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch"
 SRC_URI[sha256sum] = "d960383d5885300ebcbcb14e41657946fde2a59d5c0f485eb291bc6a0e228acc"
 
 inherit pypi python_setuptools_build_meta
author
#2 lore raw

PATCH 3/3 python3-pychromecast: Fix build with wheel 0.47

In reply to Khem Raj
---
 .../0001-Allow-building-with-wheel-0.47.patch | 23 +++++++++++++++++++
 .../python/python3-pychromecast_14.0.10.bb    |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-building-with-wheel-0.47.patch
meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-building-with-wheel-0.47.patch new file +23 -0
new file mode 100644
index 0000000000..cfb201dfe0
@@ -0,0 +1,23 @@
+From a82451e8f2db33e22fef6714ddbd35a3e03debff Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Thu, 14 May 2026 11:49:05 -0700
+Subject: [PATCH] Allow building with wheel 0.47+
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 20524ca..fc62798 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=65.6,<83.0", "wheel>=0.37.1,<0.47.0"]
++requires = ["setuptools>=65.6,<83.0", "wheel>=0.37.1,<0.48.0"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb +1 -0
index cdd85a550f..5b1d780b86 100644
@@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
 
+SRC_URI += "file://0001-Allow-building-with-wheel-0.47.patch"
 SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c"
 
 inherit pypi python_setuptools_build_meta