Freezegun

Latest version: v1.5.1

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.5.1

-----
* Fix the typing of the `tick()` method, and improve it's behaviour.

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

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):`

1.3.1

-----
* Fixed the release number in the build

1.3.0

-----

* Fixed `asyncio` support to avoid `await asyncio.sleep(1)` hanging forever.

* Added support for Python 3.12

1.2.2

-----

* Removes Python 3.6 support, which reached its EOL on 2021-12-23 (https://devguide.python.org/versions/?highlight=End-of-life#unsupported-versions).

* 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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.