From 0fa63279ccdeeb30b67fa8d1faf8abd74aa56774ca821c6b14457529cb1fd093 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 14 Mar 2024 08:18:16 +0000 Subject: [PATCH] - 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(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=29 --- python-time-machine-2.13.0.tar.gz | 3 --- python-time-machine-2.14.0.tar.gz | 3 +++ python-time-machine.changes | 16 +++++++++++++++- python-time-machine.spec | 4 ++-- 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 python-time-machine-2.13.0.tar.gz create mode 100644 python-time-machine-2.14.0.tar.gz diff --git a/python-time-machine-2.13.0.tar.gz b/python-time-machine-2.13.0.tar.gz deleted file mode 100644 index e808004..0000000 --- a/python-time-machine-2.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0892ada963bd16fdaf657d71ef9bec614931c467a935f3217bf08906fe3bd11 -size 28747 diff --git a/python-time-machine-2.14.0.tar.gz b/python-time-machine-2.14.0.tar.gz new file mode 100644 index 0000000..7667e90 --- /dev/null +++ b/python-time-machine-2.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96d4d0d9af39004f74b705650bd5079c9208ba2c94428621863982e914ed0884 +size 29270 diff --git a/python-time-machine.changes b/python-time-machine.changes index f29bada..4bc6cb8 100644 --- a/python-time-machine.changes +++ b/python-time-machine.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +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 @@ -5,7 +19,7 @@ Thu Nov 9 09:05:38 UTC 2023 - ecsos - 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(). + - 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 diff --git a/python-time-machine.spec b/python-time-machine.spec index 3b9d5a1..a665c2e 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 @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-time-machine Group: Development/Languages/Python -Version: 2.13.0 +Version: 2.14.0 Release: 0 Summary: Travel through time in your tests License: MIT