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(miniforge)!: mambaforge is deprecated as of 2024-07 #243

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/miniforge/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ micromamba is lightweight, so installation is quick.

If you do not need Conda, Mamba (which exist on top of Python) or Python by default, the micromamba Feature may be a better choice.

## Release notes

### 2.0.0

- Change the default value of `variant` from `"Mambaforge"` to `"Miniforge3"`,
sinse as of 2024-07-21, `Mambaforge` is deprecated.
See the official announcement:
[Sunsetting Mambaforge](https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/)

## References

- [Conda](https://docs.conda.io)
Expand Down
10 changes: 4 additions & 6 deletions src/miniforge/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Conda, Mamba (Miniforge)",
"id": "miniforge",
"version": "1.0.1",
"version": "2.0.0",
"description": "Installs Conda and Mamba package manager and Python3. conda-forge set as the default (and only) channel.",
"documentationURL": "https://github.com/rocker-org/devcontainer-features/tree/main/src/miniforge",
"options": {
Expand All @@ -17,12 +17,10 @@
"type": "string",
"enum": [
"Miniforge3",
"Miniforge-pypy3",
"Mambaforge",
"Mambaforge-pypy3"
"Miniforge-pypy3"
],
"default": "Mambaforge",
"description": "Select Conda only (Miniforge) or Conda plus Mamba (Mambaforge), and install CPython (non-suffixed) or PyPy (-pypy3)."
"default": "Miniforge3",
"description": "Select install CPython (3) or PyPy (-pypy3)."
}
},
"installsAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/miniforge/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

VERSION=${VERSION:-"latest"}
VARIANT=${VARIANT:-"Mambaforge"}
VARIANT=${VARIANT:-"Miniforge3"}

USERNAME=${USERNAME:-${_REMOTE_USER:-"automatic"}}
CONDA_DIR="/opt/conda"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions test/miniforge/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"miniforge3": {
"mambaforge": {
"image": "debian:stable-slim",
"features": {
"miniforge": {
"variant": "Miniforge3"
"variant": "Mambaforge"
}
}
},
Expand Down