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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Denisart Benjamin
72df1bd126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=5
2015-02-09 15:27:06 +00:00
Denisart Benjamin
2968f3397b
Accepting request 284527 from home:rjschwei
...
- Test utility to freeze time
OBS-URL: https://build.opensuse.org/request/show/284527
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=1
2015-02-09 15:26:12 +00:00