-
Notifications
You must be signed in to change notification settings - Fork 3
fv3net environment on apple chips #2258
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
base: master
Are you sure you want to change the base?
Conversation
@@ -1,9 +1,6 @@ | |||
channels: | |||
- conda-forge | |||
- defaults | |||
platforms: |
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.
The version of conda-lock we use (0.4.1) was not actually reading this
@@ -238,10 +238,9 @@ update_submodules: | |||
############################################################ | |||
|
|||
lock_deps: lock_pip | |||
conda-lock -f environment.yml | |||
conda-lock render |
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.
The render command and the output it produced (the multi-platform conda-lock.yml file) was not actually used in making our environments.
@@ -46,7 +46,7 @@ xpartition>=0.2.1 | |||
xarray >= 0.19.0 | |||
|
|||
# developer tools | |||
conda-lock | |||
conda-lock<1.0.0 |
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.
Requires that we use a version of conda-lock that uses the conda-lock -f environment.yml -p <platform>
command to make platform-specific lock files.
Alternatively, we could switch to using a version >=1.0, in which we'd need to use a different conda-lock command (conda render
or conda-lock --kind explicit
) to implement that approach we've used. See docs.
Adds conda fv3net environment installation for Apple chips (M1, etc), since gfortran (a dependency of fv3net) is available for this architecture now. Also clarifies the conda-lock process by removing some extraneous commands and files.
Note: doesn't currently install due to #2266 .
Requirement changes:
make lock_deps/lock_pip
following these instructionsResolves #2256.
Coverage reports (updated automatically):