Skip to content

Commit

Permalink
fix(miniforge)!: mambaforge is deprecated as of 2024-07 (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Oct 4, 2024
1 parent b5b3836 commit 6f0e6b7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
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

0 comments on commit 6f0e6b7

Please sign in to comment.