Skip to content

Commit

Permalink
Use mamba 2 for Miniforge
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <[email protected]>
  • Loading branch information
jjerphan committed Jan 20, 2025
1 parent 8cd5118 commit e682bd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions Miniforge3/construct.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{% set name = os.environ.get("MINIFORGE_NAME", "Miniforge3") %}
{% set version = os.environ.get("MINIFORGE_VERSION", "24.11.2-1") %}
{% set conda_libmamba_solver_version = "24.9.0"%}
{% set version = os.environ.get("MINIFORGE_VERSION", "24.11.3-0") %}
{% set conda_libmamba_solver_version = "24.11.1"%}
# when mamba_version is updated here, also update MICROMAMBA_VERSION in scripts/build.sh
# As of Dec 2024 -- mamba 2.0.5 isn't compatible with constructor
# https://github.com/conda-forge/miniforge/issues/697
{% set mamba_version = "1.5.12" %}
{% set mamba_version = "2.0.5" %}

name: {{ name }}
version: {{ version }}
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo "***** Install constructor *****"
mamba install --yes \
--channel conda-forge --override-channels \
jinja2 curl libarchive \
"constructor>=3.9.3"
"constructor>=3.11.1"

if [[ "$(uname)" == "Darwin" ]]; then
mamba install --yes \
Expand All @@ -38,7 +38,7 @@ cp LICENSE "${TEMP_DIR}/"
ls -al "${TEMP_DIR}"

if [[ "${TARGET_PLATFORM}" != win-* ]]; then
MICROMAMBA_VERSION=1.5.11
MICROMAMBA_VERSION=2.0.5
MICROMAMBA_BUILD=0
mkdir "${TEMP_DIR}/micromamba"
pushd "${TEMP_DIR}/micromamba"
Expand Down

0 comments on commit e682bd6

Please sign in to comment.