Skip to content

Add miniconda to macOS 13 and 14 images (again) #9262

@jezdez

Description

@jezdez

Tool name

miniconda

Tool license

3-clause BSD License

UPDATE (as reported by @zooba): Miniconda is covered by a licensing agreement between Microsoft and Anaconda Inc:

Add or update?

  • Add
  • Update

Desired version

23.11.0

Approximate size

No response

Brief description of tool

Miniconda was part of the macOS images in the past, until macOS 12, but has not been part of the macos 13 and 14 images.

It is currently part of the Ubuntu and Windows images.

Miniconda is used by a huge number of people in all industries, from Open Source maintainers (e.g. bioconda, conda-forge) to Enterprise customers, particularly in the scientific and AI communities (~40 million users according to Microsoft partner Anaconda Inc). Conda is free to use.

In #8422 (comment) @vpolikarpov-akvelon replied:

We've decided not to include Miniconda in the mac OS 13 image to help reduce maintenance. We're trying to strike a balance between convenience and keeping things streamlined and Miniconda isn't a super common tool for everyone.

If you'd like to have Miniconda preinstalled, you can use custom self-hosted runners. They're a great way to tailor your environment to your specific needs.

I'm responding here in a new issue since I haven't gotten a reply to my comment in the original issue. Running custom self-hosted runners is not going to solve this problem, since conda is a self-service package manager and GitHub user would not run a self-hosted runner to make use of it. You wouldn't make the same argument for tools like homebrew or pipx.

I'm looking to get feedback from GitHub on how we can add miniconda to the macOS 13 and 14 images again. What are the constraints currently that block adding it back, and how can we overcome them?

URL for tool's homepage

https://docs.conda.io/projects/miniconda/en/latest/

Provide a basic test case to validate the tool's functionality.

conda --version

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

See the installation of miniconda in the Windows and Ubuntu images, as well as the macOS builds prior to macOS 13.

Tool installation time in runtime

30 seconds

Are you willing to submit a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions