15
0

63 Commits

Author SHA256 Message Date
5dab891705 Accepting request 1297810 from devel:languages:python
- Make tests more verbose.
- Update to 1.5.4
  * Fix: Ability to yield fixtures (broken in 1.5.3)

OBS-URL: https://build.opensuse.org/request/show/1297810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=24
2025-08-07 14:48:22 +00:00
5722e5dc4c fix multiple copyright lines
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=62
2025-08-05 18:47:13 +00:00
2a3730cd43 - Make tests more verbose.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=61
2025-08-05 18:46:52 +00:00
1a80316130 Accepting request 1297683 from home:glaubitz:branches:devel:languages:python
- Update to 1.5.4
  * Fix: Ability to yield fixtures (broken in 1.5.3)

OBS-URL: https://build.opensuse.org/request/show/1297683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=60
2025-08-05 18:44:30 +00:00
fb7ffa75e1 Accepting request 1294212 from devel:languages:python
- update to 1.5.3:
  * Fix compatibility with pytest 8.4.0 when using fixtures
  * Add (back) class-decorator overload to guarantee Pytype
    understands it

OBS-URL: https://build.opensuse.org/request/show/1294212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=23
2025-07-18 13:57:45 +00:00
18d1ad0b3b - update to 1.5.3:
* Fix compatibility with pytest 8.4.0 when using fixtures
  * Add (back) class-decorator overload to guarantee Pytype
    understands it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=58
2025-07-17 19:19:03 +00:00
512ecb47a2 Accepting request 1290226 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1290226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=22
2025-07-06 15:00:09 +00:00
4a777c02eb Accepting request 1290187 from home:glaubitz:branches:devel:languages:python
- Update to 1.5.2
  * Remove support for Python 3.7
  * Explicitly marks support for Python 3.13
  * Improved project documentation
- Drop py313-support.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1290187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=56
2025-07-03 12:31:02 +00:00
2a4a00a2d1 Accepting request 1184152 from devel:languages:python
- add py313-support.patch to fix build with python 3.13

OBS-URL: https://build.opensuse.org/request/show/1184152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=21
2024-07-02 16:14:39 +00:00
7b177be82d - add py313-support.patch to fix build with python 3.13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=54
2024-06-30 21:22:15 +00:00
4f74070778 Accepting request 1180146 from devel:languages:python
- update to 1.5.1:
  * Fix the typing of the `tick()` method, and improve it's
    behaviour.

OBS-URL: https://build.opensuse.org/request/show/1180146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=20
2024-06-13 13:37:36 +00:00
950875dfb5 - update to 1.5.1:
* Fix the typing of the `tick()` method, and improve it's
    behaviour.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=52
2024-06-12 09:20:42 +00:00
c3aaaa730b Accepting request 1171531 from devel:languages:python
- update to 1.5.0:
  * The default ignore list now contains the `queue`-package
  * Added a missing `move_to`-function when calling
    `freeze_time(tick=True)`
  * Fixes a rounding error in `time.time_ns()`
  * Fixed a bug where the default ignore list could not be empty
    (`configure(default_ignore_list=[])`)
  * All `tick()` methods now return the new datetime (instead of
    None)
  * Type improvements

OBS-URL: https://build.opensuse.org/request/show/1171531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=19
2024-05-03 17:44:13 +00:00
0c8babd16f - update to 1.5.0:
* The default ignore list now contains the `queue`-package
  * Added a missing `move_to`-function when calling
    `freeze_time(tick=True)`
  * Fixes a rounding error in `time.time_ns()`
  * Fixed a bug where the default ignore list could not be empty
    (`configure(default_ignore_list=[])`)
  * All `tick()` methods now return the new datetime (instead of
    None)
  * Type improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=50
2024-05-03 07:26:27 +00:00
6dfdf667ae Accepting request 1135657 from devel:languages:python
- update to 1.4.0:
  * `asyncio`-support from 1.3.x introduced quite a few  bugs, so
    that functionality is now hidden behind a flag:
     `with freeze_time('1970-01-02', real_asyncio=True):`

OBS-URL: https://build.opensuse.org/request/show/1135657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=18
2024-01-05 21:58:24 +00:00
7e6224ff0d - update to 1.4.0:
* `asyncio`-support from 1.3.x introduced quite a few  bugs, so
    that functionality is now hidden behind a flag:
     `with freeze_time('1970-01-02', real_asyncio=True):`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=48
2023-12-29 13:00:44 +00:00
f11e84f1d3 Accepting request 1131703 from devel:languages:python
- update to 1.3.1:
  * Fixed `asyncio` support to avoid `await asyncio.sleep(1)`
    hanging forever.
  * Added support for Python 3.12

    with the name provided in as_kwarg argument
- update to 0.3.10

OBS-URL: https://build.opensuse.org/request/show/1131703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=17
2023-12-09 21:48:59 +00:00
5a1b4f47f2 - update to 1.3.1:
* Fixed `asyncio` support to avoid `await asyncio.sleep(1)`
    hanging forever.
  * Added support for Python 3.12
    with the name provided in as_kwarg argument
- update to 0.3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=46
2023-12-07 21:33:44 +00:00
8b77b31bad Accepting request 1081917 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=16
2023-04-22 20:00:56 +00:00
cb04fdc1b4 Accepting request 1081416 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=44
2023-04-21 14:38:06 +00:00
195374fc28 Accepting request 1004362 from devel:languages:python
- update to 1.2.2:
  * Removes Python 3.6 support
  * Improved static typing definitions
  * Don't freeze pytest timings. This avoids class-level decorator usage
  * messing with pytest timings.  Pass through all setUp and tearDown arguments

OBS-URL: https://build.opensuse.org/request/show/1004362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=15
2022-09-18 15:32:00 +00:00
700dc52754 - update to 1.2.2:
* Removes Python 3.6 support
  * Improved static typing definitions
  * Don't freeze pytest timings. This avoids class-level decorator usage
  * messing with pytest timings.  Pass through all setUp and tearDown arguments

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=42
2022-09-17 15:54:33 +00:00
dbece16a83 Accepting request 980773 from devel:languages:python
- update to 1.2.1:
  * Added missing typeshed types from distribution
  * Pass all arguments on recursive freeze_time calls
  * Add support for `time.perf_counter` (and `…_ns`)
  * Added typeshed types
  * Dropped support for python 3.5

OBS-URL: https://build.opensuse.org/request/show/980773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=14
2022-06-06 09:10:31 +00:00
7feeaaadb8 - update to 1.2.1:
* Added missing typeshed types from distribution
  * Pass all arguments on recursive freeze_time calls
  * Add support for `time.perf_counter` (and `…_ns`)
  * Added typeshed types
  * Dropped support for python 3.5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=40
2022-06-04 14:47:00 +00:00
2a34d08ee6 Accepting request 885995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/885995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=13
2021-04-19 19:05:44 +00:00
c1a8d418a3 Accepting request 885988 from home:bnavigator:branches:devel:languages:python
- Skip python2 build. Not supported by upstream, a simple
 `import freezegun` already fails. Was not detected because the
  pyunittest runs 0 tests.

OBS-URL: https://build.opensuse.org/request/show/885988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=38
2021-04-16 13:18:55 +00:00
50cdd54f54 Accepting request 867591 from devel:languages:python
- update to 1.1.0:
  * Add support for `time.monotonic` (and `…_ns`)
  * Allow to configure default ignore list, and also to just extend the default
  * Fixed when accessing from thread after stop()

OBS-URL: https://build.opensuse.org/request/show/867591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=12
2021-02-01 12:26:53 +00:00
24374de273 - update to 1.1.0:
* Add support for `time.monotonic` (and `…_ns`)
  * Allow to configure default ignore list, and also to just extend the default
  * Fixed when accessing from thread after stop()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=36
2021-01-28 22:53:06 +00:00
d8668967ae Accepting request 842656 from devel:languages:python
- Update to 1.0.0:
  * Dropped Py2 support
  * Added as_kwarg argument in order to have the frozen time object passed
    with the name provided in as_kwarg argument 
- Drop denose.patch
- Drop python-six from {Build,}Requires
- Update version of python-dateutil in {Build,}Requires

OBS-URL: https://build.opensuse.org/request/show/842656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=11
2020-10-23 10:18:57 +00:00
56d7373938 - Update to 1.0.0:
* Dropped Py2 support
  * Added as_kwarg argument in order to have the frozen time object passed
    with the name provided in as_kwarg argument 
- Drop denose.patch
- Drop python-six from {Build,}Requires
- Update version of python-dateutil in {Build,}Requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=34
2020-10-20 01:44:51 +00:00
b2ba7dfefc Accepting request 827695 from devel:languages:python
- We can finally use %pyunittest macro

OBS-URL: https://build.opensuse.org/request/show/827695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=10
2020-08-25 10:38:05 +00:00
e5af1c2306 - We can finally use %pyunittest macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=32
2020-08-18 22:52:34 +00:00
e4c372ec48 Accepting request 783995 from devel:languages:python
- Fix build without python2 available

- update to 0.3.15:
  * Fix locale timestamp bug. CC #328
  * Fix calendar.timegm behavior
  * Fix for Py3.8
  * Reset time.time_ns on stop
- drop remove_dependency_on_mock.patch

OBS-URL: https://build.opensuse.org/request/show/783995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=9
2020-03-26 23:20:24 +00:00
Tomáš Chvátal
574f8da219 - Fix build without python2 available
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=30
2020-03-11 17:30:07 +00:00
ec149c0e3a - update to 0.3.15:
* Fix locale timestamp bug. CC #328
  * Fix calendar.timegm behavior
  * Fix for Py3.8
  * Reset time.time_ns on stop
- drop remove_dependency_on_mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=29
2020-03-11 09:04:04 +00:00
99501ea525 Accepting request 748891 from devel:languages:python
- Add dependency on the full python (which is not pulled by
  setuptools anymore). Use %{pythons} macro now.

OBS-URL: https://build.opensuse.org/request/show/748891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=8
2019-11-22 09:24:47 +00:00
c506e73c17 Requires: python was missing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=27
2019-11-15 12:24:31 +00:00
78b00d1617 Use %{pythons} macro now.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=26
2019-11-15 11:39:24 +00:00
8bb587ae82 - Add dependency on the full python (which is not pulled by
setuptools anymore).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=25
2019-11-14 18:06:46 +00:00
6954214504 Accepting request 713090 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/713090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=7
2019-07-05 11:47:03 +00:00
3d3290fa2f Accepting request 713089 from home:mcepl:branches:devel:languages:python
- Upgrade to 0.3.12:
  * Refactor classes to functions
  * Ignore Selenium
  * Move to pytest
  * Conditionally patch time.clock (removed in 3.8)
  * Patch time.time_ns added in Python 3.7

OBS-URL: https://build.opensuse.org/request/show/713089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=23
2019-07-02 16:21:46 +00:00
Stephan Kulow
b87c76b233 Accepting request 672122 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/672122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=6
2019-02-08 12:48:11 +00:00
c639a55183 Accepting request 672102 from home:jayvdb:coala
- Do not require python2 module for building python3 module

OBS-URL: https://build.opensuse.org/request/show/672102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=21
2019-02-06 12:45:59 +00:00
91fbd483a1 Accepting request 666515 from devel:languages:python
- Update to 0.3.11:
    * Performance improvements
    * Fix nesting time.time
    * Add nanosecond property
- Remove nose dependency by adding denose.patch
- Remove _u_p37_tests.patch, which is superseeded by new release.

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/666515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=5
2019-01-28 19:46:06 +00:00
563c70f6c8 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=19
2019-01-16 16:50:13 +00:00
d6d715f06b Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=18
2019-01-13 22:33:26 +00:00
5f7003500d - Update to 0.3.11:
* Performance improvements
    * Fix nesting time.time
    * Add nanosecond property
- Remove nose dependency by adding denose.patch

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=17
2019-01-10 14:59:27 +00:00
e0323d8712 Accepting request 633129 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/633129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=4
2018-09-10 10:29:47 +00:00
78f7ef5367 Accepting request 633128 from home:mcepl:work
- Add remove_dependency_on_mock.patch which removes dependency on
  python-mock for Python 3, where it is not required.

OBS-URL: https://build.opensuse.org/request/show/633128
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=15
2018-09-04 16:59:11 +00:00
66b015f621 Accepting request 622946 from devel:languages:python
- update to 0.3.10 
- add _u_p37_tests.patch
 * Performance improvements
 * Coroutine support (forwarded request 622945 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/622946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=3
2018-07-17 07:37:43 +00:00