-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add capability to set an extra spec #26
Conversation
did you compile the program using |
btw you probably need to rebase now as I merged some stuff. |
Why do we need this PR? You can simply install the extra spec yourself using micromamba in the activated env, right? |
@beckermr the use case is
Then you don't want to install everything then solve again (+download, extract, link..) to downgrade all packages right? |
I see what you mean for the double solves. I guess I am ok with that but this does seem like a nice hook for optimization. Thanks for the PR! |
795119f
to
8d3a353
Compare
I wonder if we should add quoting or if we should accept a list of specs here and then quote each on individually |
Because there is the issue with 'python>=3.8' being a bash redirection |
good question, I was also wondering how to do it |
support multiline extra specs double quote each extra spec to avoid shell errors (redirection > in bash, etc.) add tests add new input in README, add example
63b23f9
to
ba8af56
Compare
I'll include a matrix test also to be sure it works as expected |
cool! looks good to me! |
That's great! Thanks @adriendelsalle. Would it make sens to make a release for this, or is there one planned soon? |
Description
A way to add extra specs and pinning depending on variables (python matrix build, etc.) would be to pass extra specs to
micromamba
command:micromamba create -n <env-name> -f <spec-file> <extra-specs>