Skip to content

Switch CI Docker image from Miniconda to Miniforge#18858

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/switch-to-miniforge-for-docker-image
Draft

Switch CI Docker image from Miniconda to Miniforge#18858
Copilot wants to merge 2 commits intomainfrom
copilot/switch-to-miniforge-for-docker-image

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

Summary

CI Docker image builds fail due to Anaconda package repository rate limits (Your usage of the Anaconda package repository exceeds our rate limits).

Switch from Miniconda to Miniforge, which uses conda-forge as its default channel and avoids Anaconda's default repository entirely. Miniforge is otherwise fully compatible.

  • .ci/docker/common/install_conda.sh: Download from github.com/conda-forge/miniforge/releases instead of repo.anaconda.com/miniconda
  • .ci/docker/build.sh: MINICONDA_VERSION=23.10.0-1MINIFORGE_VERSION=24.11.3-0
  • .ci/docker/ubuntu/Dockerfile: ARG MINICONDA_VERSIONARG MINIFORGE_VERSION

Test plan

Verified both Miniforge download URLs (x86_64 and aarch64) resolve correctly. The rest of the conda environment setup (Python version selection, conda-env-ci.txt, pip dependencies, libstdc++ hack) is unchanged.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Apr 13, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18858

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

⚠️ 13 Awaiting Approval

As of commit 4816246 with merge base fe71bd4 (image):

AWAITING APPROVAL - The following workflows need approval before CI can run:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 13, 2026
@github-actions
Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

…rate limits

Replace Miniconda (which uses Anaconda's rate-limited default package
repository) with Miniforge (which uses conda-forge). This resolves CI
Docker image build failures caused by Anaconda ToS rate limits.

This PR was authored with Claude.

Agent-Logs-Url: https://github.com/pytorch/executorch/sessions/888dd7ec-0404-4883-b99c-d6b54cb95a05

Co-authored-by: kirklandsign <107070759+kirklandsign@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CI Docker image to use Miniforge instead of Anaconda Switch CI Docker image from Miniconda to Miniforge Apr 13, 2026
Copilot AI requested a review from kirklandsign April 13, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI docker image - Anaconda package repository rate limits

2 participants