conda-lock icon indicating copy to clipboard operation
conda-lock copied to clipboard

Can conda-lock be used in conjunction with conda-build?

Open scott-kausler opened this issue 1 year ago • 2 comments

Checklist

  • [X] I added a descriptive title
  • [X] I searched open reports and couldn't find a duplicate

What happened?

The https://github.com/conda/conda-lock page mentions that meta.yaml is a supported file source, but how then can you use the .lock file to do a conda build? Is it even possible?

Additional Context

No response

scott-kausler avatar Mar 18 '24 21:03 scott-kausler

conda-lock doesn't do the build, it just reads the dependencies out of the meta.yaml. This is useful when you want to create a development environment for example and your conda recipe is in the same repository as the source code of your package

mariusvniekerk avatar May 02 '24 08:05 mariusvniekerk

If https://github.com/conda/conda-build/issues/5489 is ever implemented, the answer to this issue will be "yes".

ctcjab avatar Sep 24 '24 16:09 ctcjab