./devel/py-freezegun, Let your Python tests travel through time

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.5.1, Package name: py312-freezegun-1.5.1, Maintainer: pkgsrc-users

FreezeGun is a library that allows your python tests to travel
through time by mocking the datetime module.


Required to run:
[devel/py-setuptools] [time/py-dateutil] [databases/py-sqlite3] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 32.907 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-05-11 21:00:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-freezegun: updated to 1.5.1

1.5.1

* Fix the typing of the `tick()` method, and improve it's behaviour.
   2024-04-24 07:05:55 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-freezegun: updated to 1.5.0

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
   2023-12-28 18:22:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-freezegun: updated to 1.4.0

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):`
   2023-12-05 18:53:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-freezegun: updated to 1.3.1

1.3.1

Increase version number
   2023-12-04 09:28:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-freezegun: updated to 1.3.0

1.3.0

* Fixed `asyncio` support to avoid `await asyncio.sleep(1)` hanging forever.
* Added support for Python 3.12
   2022-08-24 10:48:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-freezegun: updated to 1.2.2

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
   2022-05-12 10:10:53 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-freezegun: update to 1.2.1.

1.2.1
-----

* Added missing typeshed types from distribution

* Pass all arguments on recursive freeze_time calls

1.2.0
-----

* Add support for `time.perf_counter` (and `…_ns`)

* Added typeshed types

* Dropped support for python 3.5

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()

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