From e2008513b5fb4ae71d87ca6d05bdab5f3cb3a53f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 18 Jun 2026 14:05:46 -0400 Subject: Micromamba improvement (#148) * Update micromamba installation logic * Split installation from micromamba() into micromamba_install() * Return -1 when micromamba cannot be installed * Add stasis.ini option "indexer.micromamba_download_url" * Add global variable micromamba_download_url * The installation function attempts two known-good URLs by default * * Add indexer arugment '--micromamba-download-url' * Add is_file_compressed() function to utils * Call micromamba_install() from tests * Add space in usage statement * Fix usage output when option array contains arguments without short options * Add --micromamba-download-url to README.md --- stasis.ini | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'stasis.ini') diff --git a/stasis.ini b/stasis.ini index 4b0d1db..fdecc86 100644 --- a/stasis.ini +++ b/stasis.ini @@ -35,6 +35,15 @@ wheel_builder = manylinux ; When wheel_builder is set to "manylinux", use the following image wheel_builder_manylinux_image = quay.io/pypa/manylinux2014 + +;[indexer] +; (string) Micromamba download URL +; DEFAULT: GitHub or Micromamba's primary website URLs are used +; NOTE: +; - The platform and architecture combination must be handled by the user +;micromamba_download_url = https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-PLAT-ARCH + + [jfrog_cli_download] url = https://releases.jfrog.io/artifactory product = jfrog-cli -- cgit