From ec3fec7aae119737c98ce3bd94ee820a99489510cae9edcb87971f06c1a05791 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 9 Nov 2023 09:30:23 +0000 Subject: [PATCH] Accepting request 1124365 from home:ecsos:python - 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. OBS-URL: https://build.opensuse.org/request/show/1124365 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=27 --- python-time-machine-2.13.0.tar.gz | 3 +++ python-time-machine-2.9.0.tar.gz | 3 --- python-time-machine.changes | 17 +++++++++++++++++ python-time-machine.spec | 4 ++-- 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 python-time-machine-2.13.0.tar.gz delete mode 100644 python-time-machine-2.9.0.tar.gz diff --git a/python-time-machine-2.13.0.tar.gz b/python-time-machine-2.13.0.tar.gz new file mode 100644 index 0000000..e808004 --- /dev/null +++ b/python-time-machine-2.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0892ada963bd16fdaf657d71ef9bec614931c467a935f3217bf08906fe3bd11 +size 28747 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 98a6ffb..f29bada 100644 --- a/python-time-machine.changes +++ b/python-time-machine.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +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 diff --git a/python-time-machine.spec b/python-time-machine.spec index 82f7489..3b9d5a1 100644 --- a/python-time-machine.spec +++ b/python-time-machine.spec @@ -19,14 +19,14 @@ %{?sle15_python_module_pythons} Name: python-time-machine Group: Development/Languages/Python -Version: 2.9.0 +Version: 2.13.0 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}