Tool for merging conda environment files
Project description
conda-merge
===========
Tool for merging Conda (Anaconda) environment files into one file.
This is used to merge your application environment file with any other
environment file you might need (e.g. unit-tests, debugging, jupyter notebooks)
and create a consistent environment without breaking dependencies from the
previous environment files.
Installation:
::
pip install conda-merge
Usage:
::
conda-merge FILE1 FILE2 ... FILE-N > OUTPUT-FILE
A common problem with multiple environment files is that of pinned dependencies:
let's say ``environment.yml`` contains the dependency ``numpy=1.7``, and your
``dev-environment.yml`` contains ``pandas`` as a dependency. If you sequentially
apply the environment files (``conda env update -f environment.yml`` and then
``conda env update -f dev-environment.yml``) ``numpy`` will no longer be pinned
and will be upgraded to the latest version.
One option to solve it is by using the pinned dependencies file in the environment
directory, but this means storing your dependencies in another file which interacts
with ``environment.yml``, and makes the dependencies less clear to other users.
This script enables you to merge the two environemnt files and then run only
one ``conda env`` command to apply the change.
===========
Tool for merging Conda (Anaconda) environment files into one file.
This is used to merge your application environment file with any other
environment file you might need (e.g. unit-tests, debugging, jupyter notebooks)
and create a consistent environment without breaking dependencies from the
previous environment files.
Installation:
::
pip install conda-merge
Usage:
::
conda-merge FILE1 FILE2 ... FILE-N > OUTPUT-FILE
A common problem with multiple environment files is that of pinned dependencies:
let's say ``environment.yml`` contains the dependency ``numpy=1.7``, and your
``dev-environment.yml`` contains ``pandas`` as a dependency. If you sequentially
apply the environment files (``conda env update -f environment.yml`` and then
``conda env update -f dev-environment.yml``) ``numpy`` will no longer be pinned
and will be upgraded to the latest version.
One option to solve it is by using the pinned dependencies file in the environment
directory, but this means storing your dependencies in another file which interacts
with ``environment.yml``, and makes the dependencies less clear to other users.
This script enables you to merge the two environemnt files and then run only
one ``conda env`` command to apply the change.
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
Close
Hashes for conda-merge-0.1.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b93202eb9e18bca466a80bd937956ce14393d4439a8de13ed1c4d894923241d |
|
MD5 | 955c6f3649401a6e3ce51cce7864eac6 |
|
BLAKE2b-256 | 0d583a1a19afb2dc19281ef5782fdab6252f2cd968ad855342c72a16c7e2dcf7 |