Detect changes in your pytask environment and abort a project build.
Project description
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 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.
$ pytask build
Your Python environment seems to have changed. The Python version has
changed. The path to the Python executable has changed. Do you want
to continue with the current environment? [y/N]:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytask_environment-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53face1c914aa8d7f61ec95e5e8cc770460a1b7c7513a68cfb29cf0026f19803 |
|
MD5 | 0539e23b3abe0912852678aba5f1de9e |
|
BLAKE2b-256 | 1d7a6719d12f80fbbf6cba0f20048530ac5e896bd66f3208ebe5647f557a5083 |