55 Commits

Author SHA256 Message Date
Ana Guerrero
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
Ana Guerrero
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
Ana Guerrero
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
Steve Kowalik
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
1159318491 Accepting request 622945 from home:mimi_vx:branches:devel:languages:python
- update to 0.3.10 
- add _u_p37_tests.patch
 * Performance improvements
 * Coroutine support

OBS-URL: https://build.opensuse.org/request/show/622945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=13
2018-07-15 21:00:24 +00:00
f28136b0d0 Accepting request 579634 from devel:languages:python
- Drop python-sure BuildRequires. Add python-mock BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/579634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=2
2018-02-25 10:32:18 +00:00
Thomas Bechtold
7f986f5a15 - Drop python-sure BuildRequires. Add python-mock BuildRequires.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=11
2018-02-23 20:13:13 +00:00
434d730f57 Accepting request 518100 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/518100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freezegun?expand=0&rev=1
2017-08-24 16:55:10 +00:00
Todd R
9503d2fa07 Accepting request 497355 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version
- Fix source URL
- update to version 0.3.9

OBS-URL: https://build.opensuse.org/request/show/497355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=9
2017-05-22 17:20:49 +00:00
28af8591bc Accepting request 441940 from home:tbechtold:branches:devel:languages:python
update to version 0.3.8
  * Improved unpatching when importing modules after freeze_time start()
  * Tidy up tick=True
  * PEP8-ify code
  * 0.3.7
  * Add manual increment via tick method
  * Add @zmsmith to authors.
  * Clean up and speed up start().
  * Globally exclude __pycache__ and py[co] from sdist
  * Catch TypeError when fetching attribute values
  * Fix bug with time.localtime not being reset. Closes #112.
  * Fix test to work when current timezone is GMT-14 or GMT+14.
  * 0.3.8
  * 0.3.6
  * Updated readme.md with svg badges
  * Speed up stop() like commit e93c7b4
  * Fix assertion in usage example
  * Add  method to change freezed time
  * Fixed #162 - allow decorating old-style classes.
  * Add support to PyMySQL
  * Cleanup code.
  * do not use hex numbers in readme
  * Assume the default time to freeze is "now".
  * Register fake types in PyMySQL conversions
  * Ignore threading and Queue modules. Closes #129.
  * Add missing parenthesis
  * Lock down coverage version since new coverage doesnt support py3.2
  * Add test case
  * Fix or py3 astimezone and not passing tz. Closes #138.
  * Fixing halfdone work using None parameter for freeze_time(),

OBS-URL: https://build.opensuse.org/request/show/441940
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=8
2016-11-25 08:03:43 +00:00
195002770f Accepting request 361703 from home:tbechtold:branches:devel:languages:python
- Require python-python-dateutil. package was renamed

OBS-URL: https://build.opensuse.org/request/show/361703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=7
2016-02-26 15:06:02 +00:00
Todd R
867696fd58 Accepting request 329150 from home:TheBlackCat:branches:devel:languages:python
Update to 0.3.5

OBS-URL: https://build.opensuse.org/request/show/329150
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=6
2015-09-04 15:08:07 +00:00