Proposed implementation for #515: Install development dependencies incrementally#516
Proposed implementation for #515: Install development dependencies incrementally#516nealstewart wants to merge 1 commit into
Conversation
✅ Deploy Preview for conda-lock ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
This is exciting! Looks fairly straightforward too. Could you please look into and fix these test failures? I'm a bit overloaded at the moment, so no promises on timelines for getting this merged, but I'm hoping it will be easy once the CI is green. |
…es incrementally
a3b61a5 to
2d60143
Compare
|
I'd love to see this change land—it would be super useful to be able to update an existing env to match a lockfile, rather than deleting/recreating the env as seems to happen now. The latter approach is unsafe for any shared environments (e.g. a JupyterHub kernel env), but conda-lock would be very useful there for updating environments predictably. Neal, any chance you plan to come back to this and get CI to pass? |
Description
See [issue 515](#515 for background on why this was implemented.
I have implemented this as an optional
--updateflag to be based toconda-lock install.This allows for the following use-case, which will support staged Docker builds, e.g. for light-weight testing images:
I've copied the existing test and there's some potential for deduplication, but I've gone for simplicity. More than happy to refactor the two highly-coupled tests a bit.