Freezegun

Latest version: v1.5.0

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

Scan your dependencies

Page 1 of 4

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

1.2.1

-----

* Added missing typeshed types from distribution

* Pass all arguments on recursive freeze_time calls

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.