Update to mambaforge_version 4.10.3-7

This commit is contained in:
Simon Li
2021-10-18 22:33:06 +01:00
parent b3c07ba265
commit 80b347349a
2 changed files with 12 additions and 8 deletions

View File

@@ -172,12 +172,16 @@ def ensure_user_environment(user_requirements_txt_file):
miniconda_old_version = '4.5.4'
miniconda_new_version = '4.7.10'
mambaconda_new_version = '4.10.3'
mambaforge_new_version = '4.10.3-3'
installer_sha256 = "a012c24e1cc3bcbe74a1e5693e510830e7c2956e85877b08d1e28707a0bd8d75"
mamba_version = '0.15.2'
# Install mambaforge using an installer from
# https://github.com/conda-forge/miniforge/releases
mambaforge_new_version = '4.10.3-7'
installer_sha256 = "fc872522ec427fcab10167a93e802efaf251024b58cc27b084b915a9a73c4474"
# Then run `mamba --version` to get the conda and mamba versions
# Keep these in sync with tests/test_conda.py::prefix
mambaforge_conda_new_version = '4.10.3'
mambaforge_mamba_version = '0.16.0'
if conda.check_miniconda_version(USER_ENV_PREFIX, mambaconda_new_version):
if conda.check_miniconda_version(USER_ENV_PREFIX, mambaforge_conda_new_version):
conda_version = '4.10.3'
elif conda.check_miniconda_version(USER_ENV_PREFIX, miniconda_new_version):
conda_version = '4.8.1'
@@ -194,7 +198,7 @@ def ensure_user_environment(user_requirements_txt_file):
conda.ensure_conda_packages(USER_ENV_PREFIX, [
# Conda's latest version is on conda much more so than on PyPI.
'conda==' + conda_version,
'mamba==' + mamba_version,
'mamba==' + mambaforge_mamba_version,
])
conda.ensure_pip_requirements(