Skip to content

Bump conda pin from 25.3.0 to 25.11.1 to fix solver conflict on macOS#7951

Open
vmoens wants to merge 1 commit intopytorch:mainfrom
vmoens:fix/bump-conda-pin
Open

Bump conda pin from 25.3.0 to 25.11.1 to fix solver conflict on macOS#7951
vmoens wants to merge 1 commit intopytorch:mainfrom
vmoens:fix/bump-conda-pin

Conversation

@vmoens
Copy link
Copy Markdown
Contributor

@vmoens vmoens commented Apr 11, 2026

  • macOS runners now ship with conda-libmamba-solver=25.11.0 pre-installed, which has a hard dependency on conda>=25.9
  • The existing pin conda install -y conda=25.3.0 attempts to downgrade conda below that minimum, causing a LibMambaUnsatisfiableError during the "Setup conda environment for build" step
  • This breaks macOS wheel/conda builds for downstream projects (e.g. tensordict, torchrl)
  • Bumps the pin from conda=25.3.0 to conda=25.11.1, which satisfies the >=25.9 constraint and has been stable since release

Example of failing job: https://github.com/pytorch/tensordict/actions/runs/24287554120/job/70920726226

macOS runners now ship with conda-libmamba-solver=25.11.0 pre-installed,
which requires conda>=25.9. The old pin to conda=25.3.0 causes a
LibMambaUnsatisfiableError because the solver refuses to downgrade conda
below its own minimum requirement.

Bump the pin to 25.11.1, which satisfies the constraint and has been
stable since its release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

@vmoens is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@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 11, 2026
vmoens added a commit to pytorch/tensordict that referenced this pull request Apr 11, 2026
Work around conda solver failure on macOS runners where
conda-libmamba-solver=25.11.0 conflicts with the conda=25.3.0 pin
in pytorch/test-infra's setup-binary-builds action.

See: pytorch/test-infra#7951

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant