diff mbox series

[meta-python,1/3] python3-croniter: Fix build with newer trove and pathspec modules

Message ID 20260514185441.1330509-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,1/3] python3-croniter: Fix build with newer trove and pathspec modules | expand

Commit Message

Khem Raj May 14, 2026, 6:54 p.m. UTC
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...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
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-croniter/0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch b/meta-python/recipes-devtools/python/python3-croniter/0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch
new file mode 100644
index 0000000000..a20075a76f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-croniter/0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch
@@ -0,0 +1,28 @@ 
+From 297d149636d063a82b33d95ab59928a88db51e4e Mon Sep 17 00:00:00 2001
+From: Khem Raj <khem.raj@oss.qualcomm.com>
+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 <khem.raj@oss.qualcomm.com>
+---
+ 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"
+
diff --git a/meta-python/recipes-devtools/python/python3-croniter_6.2.2.bb b/meta-python/recipes-devtools/python/python3-croniter_6.2.2.bb
index d217161d7d..a52dc5cbbb 100644
--- a/meta-python/recipes-devtools/python/python3-croniter_6.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-croniter_6.2.2.bb
@@ -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 \