diff mbox series

[meta-python,092/105] python3-time-machine: upgrade 3.2.0 -> 3.6.0

Message ID 20261116175359.342679-92-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:53 p.m. UTC
The fuzz tests need hypothesis; add it to the ptest RDEPENDS.

Changes:
- Dropped Python 3.10 support (3.6.0); added Python 3.15 support and
  wheels, including isolated subinterpreters (3.3.0, 3.4.0).
- Mock datetime.date.today() directly; new escape_hatch functions
  for date.today()/datetime.today() (3.3.0).
- Destinations are computed in integer nanoseconds, fixing small
  rounding errors; today() is exact for far-future dates.
- travel() accepts None as destination, meaning the current time.
- Fixed a reference leak in utcnow() under -W error, traveller state
  leaks on setUpClass/tearDownClass errors, and -mno-omit-leaf-frame-
  pointer breaking source builds on non-x86/ARM64 (e.g. PowerPC).
- Migration CLI for freezegun/pytest-freezer users greatly extended.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...on3-time-machine_3.2.0.bb => python3-time-machine_3.6.0.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-time-machine_3.2.0.bb => python3-time-machine_3.6.0.bb} (96%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb b/meta-python/recipes-devtools/python/python3-time-machine_3.6.0.bb
similarity index 96%
rename from meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb
rename to meta-python/recipes-devtools/python/python3-time-machine_3.6.0.bb
index 9b2dd8617d..d77f31a0d8 100644
--- a/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-time-machine_3.6.0.bb
@@ -3,7 +3,7 @@  HOMEPAGE = "https://github.com/adamchainz/time-machine"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fb9b93a440d3ef2fb6eeebfa59384c53"
 
-SRCREV = "1b7ac45defb26c72076dc202aba46967c8c28fa9"
+SRCREV = "7434cabf2b539f5cb0ecfcb1e05864424acb3ee1"
 PYPI_SRC_URI = "git://github.com/adamchainz/time-machine;protocol=https;branch=main;tag=${PV};destsuffix=time_machine-${PV}"
 
 inherit pypi python_setuptools_build_meta ptest-python-pytest
@@ -37,6 +37,7 @@  RDEPENDS:${PN}-ptest += "\
     python3-dateutil \
     python3-dateutil-zoneinfo \
     python3-freezegun \
+    python3-hypothesis \
     python3-tokenize-rt \
     tzdata \
 "