-
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
Add --force-platform
to conda-lock install
command.
#753
base: main
Are you sure you want to change the base?
Conversation
This selects a specific platform for installation instead of the current platform.
✅ Deploy Preview for conda-lock ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
conda-lock install
command.--platform
to conda-lock install
command.
Thanks @jezdez! This makes sense. Some initial thoughts:
|
@maresb Yep, this went to the org admins and I just approved it! (more on the PR tomorrow) |
--platform
to conda-lock install
command.--force-platform
to conda-lock install
command.
I've added one, reusing one of the lockfiles to mimic installing an Intel macOS package on the macOS ARM64 GitHub runners.
I've updated the description
That's fine, I've updated both the argument name as well as the CLI option to make sure it's obvious that it's not quite the same as the |
assert _check_package_installed( | ||
package=package, | ||
prefix=str(prefix), | ||
subdir=platform, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's checking the subdir value of the metadata here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really great @jezdez!
We can get this into the upcoming release. I still want to take one more careful look at it before merging.
Description
This selects a specific platform for installation instead of the current, native platform. Should be similar to conda/conda#11794, kinda.