9291ea657a
- update to 2.16.0:
...
* Drop Python 3.8 support.
* Include wheels for Python 3.13.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=35
2024-10-30 19:50:50 +00:00
783ab86aa0
- update to 2.14.2:
...
* Fix SystemError on Python 3.13 and Windows when starting time
travelling.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=33
2024-06-30 08:25:30 +00:00
3ecd9935eb
- update to 2.14.1:
...
* Fix segmentation fault when the first travel() call in a
process uses a timedelta.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=31
2024-04-20 08:02:06 +00:00
0fa63279cc
- 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
2024-03-14 08:18:16 +00:00
ec3fec7aae
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
2023-11-09 09:30:23 +00:00
Sebastian Wagner
0f2e12c294
Accepting request 1092158 from home:ecsos:python
...
- Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/request/show/1092158
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=25
2023-06-11 10:57:25 +00:00
Sebastian Wagner
fe7442ddb0
Accepting request 1089984 from home:bnavigator:branches:devel:languages:python
...
- Move to PEP517
- Do not use pytzdata, but system timezone directly
- Don't catchall sitearch
OBS-URL: https://build.opensuse.org/request/show/1089984
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=23
2023-05-31 09:54:55 +00:00
483cd0f0d1
- update to 2.9.0:
...
* Explicitly error when attempting to install on PyPy.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=21
2023-05-27 19:47:47 +00:00
ad15759670
Accepting request 1078375 from home:dimstar:Factory
...
- BuildRequire python38-backports.zoneinfo only when python38-base
is present in the buildsystem: fix build on distros where python
3.8 is no longer in the supported set of python interpreters.
- Update to version 2.8.2
OBS-URL: https://build.opensuse.org/request/show/1078375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=19
2023-04-12 15:29:33 +00:00
Sebastian Wagner
179132594e
Accepting request 1032223 from home:yarunachalam:branches:devel:languages:python
...
- Update to version 2.8.2
* Improve type hints for time_machine.travel() to preserve the types of the wrapped function/coroutine/class.
OBS-URL: https://build.opensuse.org/request/show/1032223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=17
2022-10-29 16:55:46 +00:00
Sebastian Wagner
010896b20b
- update to version 2.8.1:
...
- Actually build Python 3.11 wheels.
- update to version 2.8.0:
- Build Python 3.11 wheels.
- update to version 2.7.1:
- Fix usage of ``ZoneInfo`` from the ``backports.zoneinfo`` package.
This makes ``ZoneInfo`` support work for Python < 3.9.
- update to version 2.7.0:
- Support Python 3.11 (no wheels yet, they will only be available when Python 3.11 is RC when the ABI is stable).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=15
2022-08-18 07:07:22 +00:00
Sebastian Wagner
47a481e96e
- Limit package to python >= 3.7
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=14
2022-01-11 10:01:25 +00:00
a856005562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=12
2022-01-11 09:43:01 +00:00
Sebastian Wagner
103c3dd861
- update to version 2.5.0:
...
- Add ``time_machine.escape_hatch``, which provides functions to bypass time-machine.
Thanks to Matt Pegler for the feature request in `Issue #206 <https://github.com/adamchainz/time-machine/issues/206 >`__.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=10
2021-12-14 15:06:58 +00:00
Sebastian Wagner
a4fdc6b6e1
Accepting request 940399 from home:pgajdos:python
...
- pytest-runner is not required for build
OBS-URL: https://build.opensuse.org/request/show/940399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=9
2021-12-14 09:48:09 +00:00
b16b81d0a9
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=8
2021-11-30 07:06:37 +00:00
Sebastian Wagner
88dd51b95e
- update to version 2.4.0:
...
- Support Python 3.10.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=6
2021-09-04 17:54:19 +00:00
Sebastian Wagner
31c3ae00b1
- update to version 2.3.1:
...
- Build universal2 wheels for Python 3.8 on macOS.
- update to version 2.3.0:
- Allow passing ``tick`` to ``Coordinates.move_to()`` and the pytest fixture’s
``time_machine.move_to()``. This allows freezing or unfreezing of time when
travelling.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=4
2021-07-30 08:26:21 +00:00
Sebastian Wagner
675ee40d51
- update to version 2.2.0:
...
- Include type hints.
- Convert C module to use PEP 489 multi-phase extension module initialization.
This makes the module ready for Python sub-interpreters.
- Release now includes a universal2 wheel for Python 3.9 on macOS, to work on
Apple Silicon.
- Stop distributing tests to reduce package size. Tests are not intended to be
run outside of the tox setup in the repository. Repackagers can use GitHub's
tarballs per tag.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=3
2021-07-03 13:24:34 +00:00
Sebastian Wagner
0a9048c7a8
- skip python2 to fix leap build
...
- add missing group tag to fix leap build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=2
2021-05-29 07:51:21 +00:00
0392639000
Accepting request 895367 from home:sebix
...
new package
OBS-URL: https://build.opensuse.org/request/show/895367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=1
2021-05-26 21:23:58 +00:00