./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-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
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip