Skip to content

Commit

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

Please sign in to comment.