pytask-environment
pytask-environment allows you to detect changes in your pytask environment and abort a project build.
Installation
pytask-environment is available on PyPI and Anaconda.org. Install it with
$ pip install pytask-environment
# or
$ conda install -c conda-forge pytask-environment
Usage
If the user attempts to build the project with pytask build and the Python version has
been cached in the database in a previous run, an invocation with a different
environment will produce the following command line output.
Running
$ pytask --update-environment
will update the information on the environment.
To disable either checking the path or the version, set the following configuration to a falsy value.
[tool.pytask.ini_options]
check_python_version = false # true by default
check_environment = false # true by default
Future development
The plugin might be further extended to compare the current environment against an
environment.yml or a list of packages and versions to ensure that the environment is
not altered.
Changes
Consult the release notes to find out about what is new.
Metadata
Release files for pytask-environment 0.3.0
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 |
|---|---|---|---|---|
| pytask_environment-0.3.0.tar.gz | 53.1 kB | Without provenance | Details for pytask_environment-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytask_environment-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for pytask_environment-0.3.0-py3-none-any.whl |
Total release size: 59.8 kB
Release files / pytask_environment-0.3.0.tar.gz
| Download URL | pytask_environment-0.3.0.tar.gz |
|---|---|
| Size | 53.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d40df5aa3432a5523a9740953089ee5ef0481ce3e407e0cbcba37c4c9b1c932c
|
|
BLAKE2b-256 checksum How to use checksums |
0afab27dbc7177bb6da2db6ed864f21d75a92df04c48619aba61b0f70005d41b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / pytask_environment-0.3.0-py3-none-any.whl
| Download URL | pytask_environment-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7db896179a5d129a294148d97f9adbf2d49c9cd217b86685a20157f4f37501de
|
|
BLAKE2b-256 checksum How to use checksums |
2a5784df31619e77d0b899fa608b1801ff148804f914572ef1b4c590333a53fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for pytask-environment 0.3.0
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.