17
0

Commit Graph

  • f88d118906 Accepting request 1329666 from devel:languages:python factory Ana Guerrero 2026-01-29 16:44:10 +00:00
  • 0bb75d1f0f - update to 3.2.0: * Add :attr:time_machine.naive_mode to control how time- machine interprets naive datetimes. The default mode is MIXED, which preserves existing behaviour: naive datetime objects and date objects are interpreted as UTC, while naive datetime strings are interpreted as local time. Three alternative modes are available: UTC: naive datetimes are always interpreted as UTC. LOCAL: naive datetimes are interpreted as local time, matching Python's default semantics, and freezegun. ERROR: naive datetimes raise a RuntimeError, ensuring your tests are isolated from the current timezone. Note It’s recommended you use LOCAL or ERROR to avoid confusion around naive datetimes. PR #591. Thanks to Paolo Melchiorre for review. Thanks to PhML, Stefaan Lippens, Matthieu Rigal, Nikita Demir, Steve Mavens, Andy Freeland, and Paul Ganssle for their input on Issue #257. * UTC: naive datetimes are always interpreted as UTC. * LOCAL: naive datetimes are interpreted as local time, matching Python's default semantics, and freezegun. * ERROR: naive datetimes raise a RuntimeError, ensuring your tests are isolated from the current timezone. * Raise RuntimeError when attempting to start time travelling if freezegun is active. This change should help avoid surprises when migrating complex test suites from freezegun to time-machine. PR #590. Dirk Mueller 2026-01-28 12:28:09 +00:00
  • 0a2a4152b9 Accepting request 1327286 from devel:languages:python Ana Guerrero 2026-01-15 15:43:49 +00:00
  • 946671af7b Accepting request 1327285 from home:mcepl:mistral-vibe Matej Cepl 2026-01-14 20:22:59 +00:00
  • 2fa5491f10 Accepting request 1219722 from devel:languages:python slfo-main slfo-1.2 Dominique Leuenberger 2024-11-01 20:00:42 +00:00
  • 129e60385e Accepting request 1219722 from devel:languages:python Dominique Leuenberger 2024-11-01 20:00:42 +00:00
  • 0ff1e6c741 - update to 2.16.0: * Drop Python 3.8 support. * Include wheels for Python 3.13. Dirk Mueller 2024-10-30 19:50:50 +00:00
  • 9e799d11b5 - update to 2.16.0: * Drop Python 3.8 support. * Include wheels for Python 3.13. Dirk Mueller 2024-10-30 19:50:50 +00:00
  • 2a0a81c187 Accepting request 1184081 from devel:languages:python Ana Guerrero 2024-07-03 18:29:44 +00:00
  • 194881a14f Accepting request 1184081 from devel:languages:python Ana Guerrero 2024-07-03 18:29:44 +00:00
  • f8b840eaed - update to 2.14.2: * Fix SystemError on Python 3.13 and Windows when starting time travelling. Dirk Mueller 2024-06-30 08:25:30 +00:00
  • 9ae914ab71 - update to 2.14.2: * Fix SystemError on Python 3.13 and Windows when starting time travelling. Dirk Mueller 2024-06-30 08:25:30 +00:00
  • 18b0a115c1 Accepting request 1169322 from devel:languages:python Ana Guerrero 2024-04-23 16:54:51 +00:00
  • ac8f1cf151 Accepting request 1169322 from devel:languages:python Ana Guerrero 2024-04-23 16:54:51 +00:00
  • 3ecd9935eb - update to 2.14.1: * Fix segmentation fault when the first travel() call in a process uses a timedelta. Dirk Mueller 2024-04-20 08:02:06 +00:00
  • ada7a53388 - update to 2.14.1: * Fix segmentation fault when the first travel() call in a process uses a timedelta. Dirk Mueller 2024-04-20 08:02:06 +00:00
  • 318c70927d Accepting request 1157878 from devel:languages:python Ana Guerrero 2024-03-15 19:27:29 +00:00
  • 4ddfc2beaf Accepting request 1157878 from devel:languages:python Ana Guerrero 2024-03-15 19:27:29 +00:00
  • 0fa63279cc - update to 2.14.0: * Fix utcfromtimestamp() warning on Python 3.12+. * Fix utcfromtimestamp() warning on Python 3.12+. * Fix class decorator for classmethod overrides. * Avoid calling deprecated uuid._load_system_functions() on Python 3.9+. * Avoid calling deprecated uuid._load_system_functions() on Python 3.9+. * Thanks to Nikita Sobolev for the ping in CPython Issue * Support Python 3.13 alpha 4. - Mock time.monotonic() and time.monotonic_ns(). Dirk Mueller 2024-03-14 08:18:16 +00:00
  • 61f1b953e5 - update to 2.14.0: * Fix utcfromtimestamp() warning on Python 3.12+. * Fix utcfromtimestamp() warning on Python 3.12+. * Fix class decorator for classmethod overrides. * Avoid calling deprecated uuid._load_system_functions() on Python 3.9+. * Avoid calling deprecated uuid._load_system_functions() on Python 3.9+. * Thanks to Nikita Sobolev for the ping in CPython Issue * Support Python 3.13 alpha 4. - Mock time.monotonic() and time.monotonic_ns(). Dirk Mueller 2024-03-14 08:18:16 +00:00
  • fa08ba0702 Accepting request 1124381 from devel:languages:python Ana Guerrero 2023-11-10 11:28:52 +00:00
  • 0e3cb7eeee Accepting request 1124381 from devel:languages:python Ana Guerrero 2023-11-10 11:28:52 +00:00
  • ec3fec7aae Accepting request 1124365 from home:ecsos:python Matej Cepl 2023-11-09 09:30:23 +00:00
  • 9fee2236e2 Accepting request 1124365 from home:ecsos:python Matej Cepl 2023-11-09 09:30:23 +00:00
  • 17072d5505 Accepting request 1092187 from devel:languages:python Dominique Leuenberger 2023-06-12 13:24:18 +00:00
  • 4435b07ad6 Accepting request 1092187 from devel:languages:python Dominique Leuenberger 2023-06-12 13:24:18 +00:00
  • 0f2e12c294 Accepting request 1092158 from home:ecsos:python Sebastian Wagner 2023-06-11 10:57:25 +00:00
  • a128bf4f63 Accepting request 1092158 from home:ecsos:python Sebastian Wagner 2023-06-11 10:57:25 +00:00
  • 284316133d Accepting request 1089987 from devel:languages:python Dominique Leuenberger 2023-06-02 22:06:21 +00:00
  • c29ebe35fb Accepting request 1089987 from devel:languages:python Dominique Leuenberger 2023-06-02 22:06:21 +00:00
  • fe7442ddb0 Accepting request 1089984 from home:bnavigator:branches:devel:languages:python Sebastian Wagner 2023-05-31 09:54:55 +00:00
  • 6f36fb91c5 Accepting request 1089984 from home:bnavigator:branches:devel:languages:python Sebastian Wagner 2023-05-31 09:54:55 +00:00
  • 515047c3a9 Accepting request 1089344 from devel:languages:python Dominique Leuenberger 2023-05-28 17:23:30 +00:00
  • 36866cd236 Accepting request 1089344 from devel:languages:python Dominique Leuenberger 2023-05-28 17:23:30 +00:00
  • 483cd0f0d1 - update to 2.9.0: * Explicitly error when attempting to install on PyPy. Dirk Mueller 2023-05-27 19:47:47 +00:00
  • 7508c41a78 - update to 2.9.0: * Explicitly error when attempting to install on PyPy. Dirk Mueller 2023-05-27 19:47:47 +00:00
  • 69556a1b1f Accepting request 1078765 from devel:languages:python Dominique Leuenberger 2023-04-13 12:10:33 +00:00
  • 256b830bb5 Accepting request 1078765 from devel:languages:python Dominique Leuenberger 2023-04-13 12:10:33 +00:00
  • ad15759670 Accepting request 1078375 from home:dimstar:Factory Matej Cepl 2023-04-12 15:29:33 +00:00
  • 120771992e Accepting request 1078375 from home:dimstar:Factory Matej Cepl 2023-04-12 15:29:33 +00:00
  • 056ae68e48 Accepting request 1034314 from devel:languages:python Dominique Leuenberger 2022-11-08 09:54:30 +00:00
  • 67caf36b41 Accepting request 1034314 from devel:languages:python Dominique Leuenberger 2022-11-08 09:54:30 +00:00
  • 179132594e Accepting request 1032223 from home:yarunachalam:branches:devel:languages:python Sebastian Wagner 2022-10-29 16:55:46 +00:00
  • c3a754f143 Accepting request 1032223 from home:yarunachalam:branches:devel:languages:python Sebastian Wagner 2022-10-29 16:55:46 +00:00
  • cfd06e8fc6 Accepting request 999188 from devel:languages:python Dominique Leuenberger 2022-08-25 13:09:25 +00:00
  • 9eccbb8b87 Accepting request 999188 from devel:languages:python Dominique Leuenberger 2022-08-25 13:09:25 +00:00
  • 010896b20b - update to version 2.8.1: - Actually build Python 3.11 wheels. - update to version 2.8.0: - Build Python 3.11 wheels. - update to version 2.7.1: - Fix usage of `ZoneInfo from the backports.zoneinfo package. This makes ZoneInfo` support work for Python < 3.9. - update to version 2.7.0: - Support Python 3.11 (no wheels yet, they will only be available when Python 3.11 is RC when the ABI is stable). Sebastian Wagner 2022-08-18 07:07:22 +00:00
  • 3650b6f16d - update to version 2.8.1: - Actually build Python 3.11 wheels. - update to version 2.8.0: - Build Python 3.11 wheels. - update to version 2.7.1: - Fix usage of `ZoneInfo from the backports.zoneinfo package. This makes ZoneInfo` support work for Python < 3.9. - update to version 2.7.0: - Support Python 3.11 (no wheels yet, they will only be available when Python 3.11 is RC when the ABI is stable). Sebastian Wagner 2022-08-18 07:07:22 +00:00
  • 68b8acbdae Accepting request 947186 from devel:languages:python Dominique Leuenberger 2022-01-18 23:35:20 +00:00
  • eb568cfb17 Accepting request 947186 from devel:languages:python Dominique Leuenberger 2022-01-18 23:35:20 +00:00
  • af973c48c2 Accepting request 945538 from devel:languages:python Dominique Leuenberger 2022-01-11 20:20:05 +00:00
  • d2c0c3d9a6 Accepting request 945538 from devel:languages:python Dominique Leuenberger 2022-01-11 20:20:05 +00:00
  • 47a481e96e - Limit package to python >= 3.7 Sebastian Wagner 2022-01-11 10:01:25 +00:00
  • 5644a307a7 - Limit package to python >= 3.7 Sebastian Wagner 2022-01-11 10:01:25 +00:00
  • 9e5b5a2600 - update to version 2.6.0: * Drop Python 3.6 support. - update to version 2.5.0: * Add `time_machine.escape_hatch, which provides functions to bypass time-machine. Thanks to Matt Pegler for the feature request in Issue #206 <https://github.com/adamchainz/time-machine/issues/206>`__. Dirk Mueller 2022-01-11 09:43:44 +00:00
  • 4c80d3d812 - update to version 2.6.0: * Drop Python 3.6 support. - update to version 2.5.0: * Add `time_machine.escape_hatch, which provides functions to bypass time-machine. Thanks to Matt Pegler for the feature request in Issue #206 <https://github.com/adamchainz/time-machine/issues/206>`__. Dirk Mueller 2022-01-11 09:43:44 +00:00
  • a856005562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=12 Dirk Mueller 2022-01-11 09:43:01 +00:00
  • 4cfc62d848 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=12 Dirk Mueller 2022-01-11 09:43:01 +00:00
  • 9b02c96e10 Accepting request 941878 from devel:languages:python Dominique Leuenberger 2021-12-21 17:40:52 +00:00
  • 282e4caf3e Accepting request 941878 from devel:languages:python Dominique Leuenberger 2021-12-21 17:40:52 +00:00
  • b43f819440 Accepting request 940419 from devel:languages:python Dominique Leuenberger 2021-12-14 21:01:51 +00:00
  • 85793feb59 Accepting request 940419 from devel:languages:python Dominique Leuenberger 2021-12-14 21:01:51 +00:00
  • 103c3dd861 - update to version 2.5.0: - Add `time_machine.escape_hatch, which provides functions to bypass time-machine. Thanks to Matt Pegler for the feature request in Issue #206 <https://github.com/adamchainz/time-machine/issues/206>`__. Sebastian Wagner 2021-12-14 15:06:58 +00:00
  • 81a549d578 - update to version 2.5.0: - Add `time_machine.escape_hatch, which provides functions to bypass time-machine. Thanks to Matt Pegler for the feature request in Issue #206 <https://github.com/adamchainz/time-machine/issues/206>`__. Sebastian Wagner 2021-12-14 15:06:58 +00:00
  • a4fdc6b6e1 Accepting request 940399 from home:pgajdos:python Sebastian Wagner 2021-12-14 09:48:09 +00:00
  • d396adf1ad Accepting request 940399 from home:pgajdos:python Sebastian Wagner 2021-12-14 09:48:09 +00:00
  • aea402e2c6 Accepting request 934671 from devel:languages:python Dominique Leuenberger 2021-11-30 22:16:03 +00:00
  • b32bcb11c0 Accepting request 934671 from devel:languages:python Dominique Leuenberger 2021-11-30 22:16:03 +00:00
  • b16b81d0a9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=8 Matej Cepl 2021-11-30 07:06:37 +00:00
  • b739bbc803 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=8 Matej Cepl 2021-11-30 07:06:37 +00:00
  • c8ba186819 Accepting request 918465 from devel:languages:python Dominique Leuenberger 2021-09-11 20:24:33 +00:00
  • e514c7a30c Accepting request 918465 from devel:languages:python Dominique Leuenberger 2021-09-11 20:24:33 +00:00
  • 88dd51b95e - update to version 2.4.0: - Support Python 3.10. Sebastian Wagner 2021-09-04 17:54:19 +00:00
  • 2ee90c1163 - update to version 2.4.0: - Support Python 3.10. Sebastian Wagner 2021-09-04 17:54:19 +00:00
  • 059aad9b87 Accepting request 914872 from devel:languages:python Dominique Leuenberger 2021-08-29 19:34:06 +00:00
  • 0a30319ee1 Accepting request 914872 from devel:languages:python Dominique Leuenberger 2021-08-29 19:34:06 +00:00
  • 31c3ae00b1 - update to version 2.3.1: - Build universal2 wheels for Python 3.8 on macOS. - update to version 2.3.0: - Allow passing `tick to Coordinates.move_to() and the pytest fixture’s time_machine.move_to()`. This allows freezing or unfreezing of time when travelling. Sebastian Wagner 2021-07-30 08:26:21 +00:00
  • 036871d9c3 - update to version 2.3.1: - Build universal2 wheels for Python 3.8 on macOS. - update to version 2.3.0: - Allow passing `tick to Coordinates.move_to() and the pytest fixture’s time_machine.move_to()`. This allows freezing or unfreezing of time when travelling. Sebastian Wagner 2021-07-30 08:26:21 +00:00
  • 675ee40d51 - update to version 2.2.0: - Include type hints. - Convert C module to use PEP 489 multi-phase extension module initialization. This makes the module ready for Python sub-interpreters. - Release now includes a universal2 wheel for Python 3.9 on macOS, to work on Apple Silicon. - Stop distributing tests to reduce package size. Tests are not intended to be run outside of the tox setup in the repository. Repackagers can use GitHub's tarballs per tag. Sebastian Wagner 2021-07-03 13:24:34 +00:00
  • 960c365237 - update to version 2.2.0: - Include type hints. - Convert C module to use PEP 489 multi-phase extension module initialization. This makes the module ready for Python sub-interpreters. - Release now includes a universal2 wheel for Python 3.9 on macOS, to work on Apple Silicon. - Stop distributing tests to reduce package size. Tests are not intended to be run outside of the tox setup in the repository. Repackagers can use GitHub's tarballs per tag. Sebastian Wagner 2021-07-03 13:24:34 +00:00
  • 0a9048c7a8 - skip python2 to fix leap build - add missing group tag to fix leap build Sebastian Wagner 2021-05-29 07:51:21 +00:00
  • 7e91af9209 - skip python2 to fix leap build - add missing group tag to fix leap build Sebastian Wagner 2021-05-29 07:51:21 +00:00
  • 0392639000 Accepting request 895367 from home:sebix Matej Cepl 2021-05-26 21:23:58 +00:00
  • 65aad7ec9c Accepting request 895367 from home:sebix Matej Cepl 2021-05-26 21:23:58 +00:00