Sync from SUSE:SLFO:Main python-time-machine revision baba48dfcf7f820a552ccdef0b7812dc

This commit is contained in:
Adrian Schröter 2024-09-25 17:17:53 +02:00
parent 8ca9a6caf0
commit 6ea67df5eb
4 changed files with 57 additions and 6 deletions

BIN
python-time-machine-2.14.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
python-time-machine-2.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Sun Jun 30 08:25:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <ecsos@opensuse.org>
- 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 <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 31 09:26:06 UTC 2023 - Ben Greiner <code@bnavigator.de> Wed May 31 09:26:06 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-time-machine # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,16 +16,17 @@
# #
%{?sle15_python_module_pythons}
Name: python-time-machine Name: python-time-machine
Group: Development/Languages/Python Group: Development/Languages/Python
Version: 2.9.0 Version: 2.14.2
Release: 0 Release: 0
Summary: Travel through time in your tests Summary: Travel through time in your tests
License: MIT License: MIT
URL: https://github.com/adamchainz/time-machine URL: https://github.com/adamchainz/time-machine
# pypi packages don't contain the tests anymore since 2.2.0, see changelog # 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 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 pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}