Libfaketime

Latest version: v2.0.0

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

Scan your dependencies

Page 1 of 6

2.0.0

+++++
released 2020-04-17

- breaking: drop python 2.7 support
- set LD_LIBRARY_PATH on linux to support paths containing spaces: `\57 <https://github.com/simon-weber/python-libfaketime/pull/57>`__
- fix compatibility with non-pytz tzinfo objects: `\58 <https://github.com/simon-weber/python-libfaketime/pull/58>`__

1.2.1

+++++
released 2019-01-20

- fix a deadlock on python 3.7+

1.2.0

+++++
released 2018-10-28

- offset-aware datetimes now properly fake the timezone as well: `\49 <https://github.com/simon-weber/python-libfaketime/pull/49>`__

1.1.0

+++++
released 2018-10-07

- decorated classes can access the fake_time object with ``self._faked_time``: `\47 <https://github.com/simon-weber/python-libfaketime/pull/47>`__

1.0.0

+++++
released 2018-06-16

- **backwards incompatible**: the monotonic clock is no longer mocked: `\45 <https://github.com/simon-weber/python-libfaketime/pull/45>`__
- ensure TZ is set to a valid timezone: `\46 <https://github.com/simon-weber/python-libfaketime/pull/46>`__

0.9.8

- Compile-time CFLAG FAKE_SETTIME can be enabled to
intercept calls to clock_settime(), settimeofday(), and
adjtime(). (suggested and prototyped by ojura)
- Additional compile-time CFLAGs can be passed via the
environment variable FAKETIME_COMPILE_CFLAGS when
running 'make'.
- src/Makefile CFLAG FORCE_PTHREAD_NONVER should be set on
systems that hang on CLOCK_REALTIME, or that hang on
CLOCK_MONOTONIC where FORCE_MONOTONIC_FIX is not sufficient.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.