From db59660efdfc5a830056be0262ac0ac07bbf7da9 Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Thu, 17 Apr 2025 15:56:53 -0700 Subject: [PATCH] =?UTF-8?q?runner.conda:=20Bump=20Micromamba=20from=201.5.?= =?UTF-8?q?8=20=E2=86=92=202.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newer versions since 2.0.0 include fix for installing nextstrain/conda-base when the dependencies specify `x86_64-microarch-level`. Since we're bumping the version, might has well bump to the latest version. Skimmed over the mamba CHANGELOG from 1.5.1 to 2.1.0 and nothing jumped out to me. Resolves --- CHANGES.md | 5 +++++ nextstrain/cli/runner/conda.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b899f35f..f021d562 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -58,6 +58,11 @@ our broader "workflows as programs" endeavor. that work is being done when checks take a second or two. ([#418](https://github.com/nextstrain/cli/pull/418)) +* The Conda runtime now uses Micromamba 2.1.0 (upgraded from 1.5.8) to manage + the runtime environment. The newer version fixes the installation error for + packages that include the `_x86_64-microarch-level` virtual package dependency. + ([#430](https://github.com/nextstrain/cli/pull/430)) + # 9.0.0 (24 March 2025) diff --git a/nextstrain/cli/runner/conda.py b/nextstrain/cli/runner/conda.py index bfb9db1a..0e119fe2 100644 --- a/nextstrain/cli/runner/conda.py +++ b/nextstrain/cli/runner/conda.py @@ -67,7 +67,7 @@ `__, or the special string ``latest``. - Defaults to ``1.5.8``. + Defaults to ``2.1.0``. """ import json @@ -100,7 +100,7 @@ # If you update the version pin below, please update the docstring above too. MICROMAMBA_VERSION = os.environ.get("NEXTSTRAIN_CONDA_MICROMAMBA_VERSION") \ - or "1.5.8" + or "2.1.0" NEXTSTRAIN_CHANNEL = os.environ.get("NEXTSTRAIN_CONDA_CHANNEL") \ or "nextstrain"