Skip to content

Use uv in macOS CI - #3491

Merged
zcbenz merged 1 commit into
mainfrom
test/mac-uv
May 31, 2026
Merged

zcbenz merged 1 commit into
mainfrom
test/mac-uv

Conversation

@zcbenz

@zcbenz zcbenz commented May 7, 2026 •

Copy link
Copy Markdown
Member

The main motivation is miniconda being bad at handling free-threading python (#2807), using uv also reduced CI run time by about 1 minute.

Did a dry run of release build, and uv is capable of detecting MACOSX_DEPLOYMENT_TARGET and building wheels for the targeted macOS version:

39M	dist/mlx_metal-0.32.0-py3-none-macosx_15_0_arm64.whl
39M	dist/mlx_metal-0.32.0-py3-none-macosx_26_0_arm64.whl
39M	dist/mlx_metal-0.32.0-py3-none-macosx_14_0_arm64.whl

@angeloskath

Copy link
Copy Markdown
Member

That's awesome. Sorry for the super late review. Did you by any chance test the resulting wheels ?

@zcbenz

zcbenz commented May 29, 2026

Copy link
Copy Markdown
Member Author

I added a step in the release workflow to run tests with the local wheels:
https://github.com/ml-explore/mlx/actions/runs/26621912718/job/78449621011

@zcbenz
zcbenz merged commit 7df341c into main May 31, 2026
45 of 48 checks passed
@zcbenz
zcbenz deleted the test/mac-uv branch May 31, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants