-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from-env subcommand for creating lock files from existing environments #445
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for conda-lock ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
An example of the new subcommand:
|
Thanks a lot for this! Looks very interesting. I'm very curious what is the motivation and what this accomplishes that |
I like this approach over And if the |
Add a from-env subcommand which creates a lock file from an existing conda environment. This is accomplished by running `conda env export` to obtain the location of the environment and channels. The conda-meta directory of the environment is then read to obtain information on the installed packages.
3d2717c
to
5d40786
Compare
This is a rough version of a new
from-env
subcommand that creates a lock file from an existing conda environment.I wanted to submit the change in this form to see if there was interest in such a feature and to collected feedback on the approach. If this is something that would be accepted into conda-lock, I'd be happy to continue working on the change to get it into a more complete state.