forked from pool/python-time-machine
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
This commit is contained in:
3
python-time-machine-2.13.0.tar.gz
Normal file
3
python-time-machine-2.13.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0892ada963bd16fdaf657d71ef9bec614931c467a935f3217bf08906fe3bd11
|
||||
size 28747
|
||||
BIN
python-time-machine-2.9.0.tar.gz
LFS
BIN
python-time-machine-2.9.0.tar.gz
LFS
Binary file not shown.
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user