From 6ea67df5ebdbf5548acec45c7fc074168b1bc27407ffcf79722c356a652e07b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 25 Sep 2024 17:17:53 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-time-machine revision baba48dfcf7f820a552ccdef0b7812dc --- python-time-machine-2.14.2.tar.gz | 3 ++ python-time-machine-2.9.0.tar.gz | 3 -- python-time-machine.changes | 50 +++++++++++++++++++++++++++++++ python-time-machine.spec | 7 +++-- 4 files changed, 57 insertions(+), 6 deletions(-) create mode 100644 python-time-machine-2.14.2.tar.gz delete mode 100644 python-time-machine-2.9.0.tar.gz diff --git a/python-time-machine-2.14.2.tar.gz b/python-time-machine-2.14.2.tar.gz new file mode 100644 index 0000000..61d7163 --- /dev/null +++ b/python-time-machine-2.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d31729bb75a54b6be0c324be90a2fca074daefd5735d59fc24d1aad223ed07d1 +size 29671 diff --git a/python-time-machine-2.9.0.tar.gz b/python-time-machine-2.9.0.tar.gz deleted file mode 100644 index 7d5bda5..0000000 --- a/python-time-machine-2.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c356560a2af1b3235da6deeeb68de67afda2bcfbe2a810e211ae4c5df3684a4 -size 28043 diff --git a/python-time-machine.changes b/python-time-machine.changes index 93cfacf..c5ba668 100644 --- a/python-time-machine.changes +++ b/python-time-machine.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Sun Jun 30 08:25:19 UTC 2024 - Dirk Müller + +- update to 2.14.2: + * Fix SystemError on Python 3.13 and Windows when starting time + travelling. + +------------------------------------------------------------------- +Sat Apr 20 08:01:44 UTC 2024 - Dirk Müller + +- update to 2.14.1: + * Fix segmentation fault when the first travel() call in a + process uses a timedelta. + +------------------------------------------------------------------- +Thu Mar 14 08:17:15 UTC 2024 - Dirk Müller + +- 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. + +------------------------------------------------------------------- +Thu Nov 9 09:05:38 UTC 2023 - ecsos + +- Update to 2.13.0 + - Add support for datetime.timedelta to time_machine.travel(). + - Fix documentation about using local time for naive date(time) strings. + - Add shift() method to the time_machine pytest fixture. + - Mock time.monotonic() and time.monotonic_ns(). + They return the values of time.time() and time.time_ns() + respectively, rather than real monotonic clocks. +- Changes from 2.12.0 + - Include wheels for Python 3.12. +- Changes from 2.11.0 + - Drop Python 3.7 support. +- Changes from 2.10.0 + - Support Python 3.12. + +------------------------------------------------------------------- +Fri Jun 9 06:20:34 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Wed May 31 09:26:06 UTC 2023 - Ben Greiner diff --git a/python-time-machine.spec b/python-time-machine.spec index 680a6f7..398bfd3 100644 --- a/python-time-machine.spec +++ b/python-time-machine.spec @@ -1,7 +1,7 @@ # # spec file for package python-time-machine # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,17 @@ # +%{?sle15_python_module_pythons} Name: python-time-machine Group: Development/Languages/Python -Version: 2.9.0 +Version: 2.14.2 Release: 0 Summary: Travel through time in your tests License: MIT URL: https://github.com/adamchainz/time-machine # pypi packages don't contain the tests anymore since 2.2.0, see changelog Source: https://github.com/adamchainz/time-machine/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}