About tox-timemachine
Installing
To install:
pip install tox-timemachine
Using
This plugin provides a --time-travel command-line option that takes either a date in YYYY-MM-DD format or a date and time in YYYY-MM-DDTHH-MM-SS format, and will internally use a proxy PyPI server that does not include packages released after this date (using the pypi-timemachine package). For instance:
tox --time-travel=2018-02-03T12:33:02-e py37-test
will run tox as if it was being run on that date as far as PyPI is concerned.
Bisection (experimental)
This package also provides a command to automatically bisect between two dates to pinpoint when a tox build started failing:
tox-timemachine-bisect 2021-01-01 2021-08-10 -r -e py38-test -- -k test_coadd_solar_map
The format is:
tox-timemachine-bisect start_date end_date <tox arguments>
This is still very experimental and does not yet explicitly say which package update caused the issue (for now one needs to diff the log files) but this should be made more user-friendly in future.
Caveats
This plugin will not work properly if you use the -i/--index-url option manually when calling tox. In addition, this will only work with pip-based installs, and will not work with e.g. tox-conda.
Metadata
Release files for tox-timemachine 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tox-timemachine-0.1.tar.gz | 4.8 kB | Without provenance | Details for tox-timemachine-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tox_timemachine-0.1-py3-none-any.whl | Python 3 | none | any | Details for tox_timemachine-0.1-py3-none-any.whl |
Total release size: 9.9 kB
Release files / tox-timemachine-0.1.tar.gz
| Download URL | tox-timemachine-0.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa2bc5bb627bc3871b41a46962b494ffbd6eca94c825edd6dbc0d2c218a81a75
|
|
BLAKE2b-256 checksum How to use checksums |
422e77a3a0854bfad4be8f5b5ff8377f996444ab1f15b363a01dc46e78dbb02e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Release files / tox_timemachine-0.1-py3-none-any.whl
| Download URL | tox_timemachine-0.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7a50ad295ed31a1a584869432fa0ce4533f64b9eda24951fcc0fec83f9d1fd2
|
|
BLAKE2b-256 checksum How to use checksums |
9e01a7989edf1d0a8ac1b920532d3395d5f261fb0fdb859af44984a5b46f7fa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Security for tox-timemachine 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.