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 config --add channels conda-forge --add channels pytask
$ conda install 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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4caf5b54c7f2a96e7dce207debc6599084a4f98d3001a83f4bdc0f2209f66b |
|
MD5 | 85f252c5d3371c59c5aee9024feb7a29 |
|
BLAKE2b-256 | 2e16e2cef1c92492e4e13e460909b4c57989e8b650642d509fbc9d2949996396 |