-
Notifications
You must be signed in to change notification settings - Fork 152
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
Environment pinning #985
Environment pinning #985
Conversation
They can be used together, e.g., ```shell conda env create --name <MYENV> --file environments/environment.yml --file environments/petsc-environment.yml ``` although the more you combine, the less likely that conda will find a "solution".
Linkage between petsc 3.20.2_*_102 and scotch 7.0 is broken. petsc 3.20.2_*_101 and scotch 6.x is OK.
Don't regenerate lockfiles every time. Slow and clunky.
Skip over broken petsc on macOS conda-forge/petsc-feedstock#180
Build with scotch 7.0.4 freezes in parallel. Sort it out in usnistgov/fipy@harmonize_solvers.
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.
coooooool
One minor nit, but this is neat!
The `conda-lock <https://github.com/conda/conda-lock>`_ lockfiles in | ||
:file:`environments/locks/` can be updated with:: | ||
|
||
$ for solver in petsc pysparse scipy trilinos |
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.
Refactor as a rst code-block.
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.
Easier to explain and less fragile, at the expense of redundancy in individual environment.yml files. It's a shame they don't have an include mechanism. Refactored environment documentation into environments/README.rst.
Maybe point at a blog post such as this to help explain the difference between using lock and not using lock or try and add a few sentences with the flavor of that. |
I see, you've already done it. |
BTW the Binder link never seems to work. Might be best to remove that. |
https://mybinder.org seems to be having an outage right now, but even when it's up, it might not be too useful. I've added an #987 to take a look at this. |
Use
conda-lock
to pin environments.This PR:
master
nightly at midnight for breaking changes in dependencies