diff mbox series

[meta-python,017/105] python3-croniter: upgrade 6.2.4 -> 7.0.0

Message ID 20261116175359.342679-17-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
Rework the build dependency pin patch to drop the pins; upstream now
pins hatchling==1.33.0, newer than OE has.

Changes:
- 7.0.0 is a major release: bug fixes change what some valid
  expressions mean; read the upstream "Upgrading to 7.0" section.
- Breaking: a step starting at the field maximum ("59/15") now means
  that single value, not the whole field; expand_from_start_time=True
  now keeps range bounds and reads phase in the start time's zone.
- Breaking: more invalid expressions raise CroniterBadCronError
  (non-ASCII digits, out-of-range H()/R() ranges, "1#0"); schedules
  with no match raise CroniterBadDateError.
- max_years_between_matches must now be an int >= 1 or None.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...r-versions-of-trove-classifiers-and-.patch | 31 +++++++++----------
 ...ter_6.2.4.bb => python3-croniter_7.0.0.bb} |  2 +-
 2 files changed, 16 insertions(+), 17 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-croniter_6.2.4.bb => python3-croniter_7.0.0.bb} (83%)
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
index 9d8e400b3a..2c8170d8c5 100644
--- 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
@@ -5,15 +5,14 @@  Subject: [PATCH] Allow using newer versions of build dependencies
 
 The pyproject.toml pins exact (==) versions of all build-system
 requirements. When building with --no-isolation (as OE does), pip uses
-the build dependencies already present in the sysroot, which are newer
-than the pinned versions, e.g.:
+the build dependencies already present in the sysroot, which differ
+from the pinned versions, e.g.:
 
   ERROR Missing dependencies:
-        packaging==26.0
-        hatchling==1.29.0
+        hatchling==1.33.0
 
-Relax the exact pins to >= so that the (newer) provided versions
-satisfy the requirements.
+Drop the exact pins so that the provided versions satisfy the
+requirements.
 
 Upstream-Status: Pending
 
@@ -24,21 +23,21 @@  Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/pyproject.toml b/pyproject.toml
-index 657cc21..d1b9ce3 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
 @@ -1,10 +1,10 @@
  [build-system]
  requires = [
--    "hatchling==1.30.1",
--    "packaging==26.2",
+-    "hatchling==1.33.0",
+-    "packaging==26.3",
 -    "pathspec==1.1.1",
--    "pluggy==1.6.0",
--    "trove-classifiers==2026.6.1.19",
-+    "hatchling>=1.30.1",
-+    "packaging>=26.2",
-+    "pathspec>=1.1.1",
-+    "pluggy>=1.6.0",
-+    "trove-classifiers>=2026.6.1.19",
+-    "pluggy==1.7.0",
+-    "trove-classifiers==2026.9.21.13",
++    "hatchling",
++    "packaging",
++    "pathspec",
++    "pluggy",
++    "trove-classifiers",
  ]
  build-backend = "hatchling.build"
+ 
diff --git a/meta-python/recipes-devtools/python/python3-croniter_6.2.4.bb b/meta-python/recipes-devtools/python/python3-croniter_7.0.0.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-croniter_6.2.4.bb
rename to meta-python/recipes-devtools/python/python3-croniter_7.0.0.bb
index 2058ec39b2..d691249dfa 100644
--- a/meta-python/recipes-devtools/python/python3-croniter_6.2.4.bb
+++ b/meta-python/recipes-devtools/python/python3-croniter_7.0.0.bb
@@ -4,7 +4,7 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
 
 SRC_URI += "file://0001-Allow-using-newer-versions-of-trove-classifiers-and-.patch"
-SRC_URI[sha256sum] = "fc124f751b1b04805c2a04b061898b436b45ab2320b045e1e052ea895de65189"
+SRC_URI[sha256sum] = "a0b2568303c774f6a4ea2d4ce2e72b1ee911029c7070d64a1befe05cdb107f5a"
 
 inherit pypi python_hatchling