cdvae icon indicating copy to clipboard operation
cdvae copied to clipboard

Can you make the dependencies in env.yml more abstract and move the concrete dependencies to an env.lock.yml?

Open sgbaird opened this issue 2 years ago • 0 comments

https://github.com/conda-incubator/conda-lock

Here's some additional info from an initialized PyScaffold template (probably only with the ds-project extension enabled):

  1. Always keep your abstract (unpinned) dependencies updated in environment.yml and eventually in setup.cfg if you want to ship and install your package via pip later on.
  2. Create concrete dependencies as environment.lock.yml for the exact reproduction of your environment with:
    conda env export -n mp-time-split -f environment.lock.yml
    
    For multi-OS development, consider using --no-builds during the export.
  3. Update your current environment with respect to a new environment.lock.yml using:
    conda env update -f environment.lock.yml --prune
    

Blurb above in commented out portion of mp-time-split and xtal2png README-s

  • #17

sgbaird avatar Jun 11 '22 22:06 sgbaird