Skip to content
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

fix links, outdated info on conda-lock and libmamba #153

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

ocefpaf
Copy link
Member

@ocefpaf ocefpaf commented Sep 4, 2023

In this PR:

  • libmamba is the default solver now, any new installation doesn't need to do anything extra
  • we are using the platform independent conda-lock for a while, forgot to update this part
  • fixed a few re-directed links

Closes #149

@@ -44,35 +44,6 @@ bash Miniforge-$(uname)-$(uname -m).sh
and use all the default options,
except for the license agreement where you must actively change it to `yes`.

## Add mamba solver
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unnecessary now that libmamba is the default solver.

Comment on lines -180 to -187
1. In rare cases you may want to install a frozen version of the environment. Like, you need the exact same version that is running on our CIs. You can accomplish that by [downloading the lock file your system](https://github.com/ioos/ioos_code_lab/tree/main/.binder) and issuing the command:
1. In rare cases you may want to install a frozen version of the environment. Like, you need the exact same version that is running on our CIs. You can accomplish that by [downloading the lock file](https://github.com/ioos/ioos_code_lab/raw/main/.binder/conda-lock.yml) and issuing the command:

```shell
conda create --name IOOS --file .binder/conda-linux-64.lock
conda create --name IOOS --file .binder/conda-lock.yml
```

Be sure to change `linux-64` in the lock file name according to your system (`win-64` or `osx-64`).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using the platform agnostic lockfile. We no longer need platform specific instructions.

Copy link
Contributor

@MathewBiddle MathewBiddle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like how we're simplifying the install process here.

@MathewBiddle MathewBiddle merged commit b2e378d into ioos:main Sep 5, 2023
7 checks passed
@ocefpaf ocefpaf deleted the revise_ioos_installation_conda branch September 5, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Where does the user add mamba solver?
2 participants