Skip to content

uv installs x86_64 Python on arm64 Windows  #12906

Open
@burgholzer

Description

@burgholzer

Summary

Just yesterday, GitHub announced that the new Windows 11 ARM runners are now available as public preview.
We tried to switch one of our projects over at munich-quantum-toolkit/core#926, but noticed that our Python testing CI would fail on the new runners.
The corresponding run log can be found here: https://github.com/munich-quantum-toolkit/core/actions/runs/14478587550/job/40610220668?pr=926
It essentially fails because uv is downloading the x86 version of Python, which then lets the package build run smoothly, but fails as soon as the tests get executed because these are the wrong binaries for the host architecture.

A minimum reproducible workflow that shows the failure is

name: UV Reproducer
on:
  push:
    branches:
      - main
  pull_request:
  merge_group:
  workflow_dispatch:

jobs:
  debug-uv:
    name: Debug UV
    runs-on: windows-11-arm
    steps:
      - name: Install the latest version of uv
        uses: astral-sh/setup-uv@v5
      - name: Check the version of uv
        run: uv version
      - name: Instal Python with uv
        run: uv python install 3.9
      - name: Check the Python installations
        run: uv python list

A corresponding run with that can be found here: https://github.com/munich-quantum-toolkit/core/actions/runs/14478932500/job/40611314128?pr=926

There, the uv python install 3.9 results in

Downloading cpython-3.9.22-windows-x86_64-none (21.2MiB)
 Downloaded cpython-3.9.22-windows-x86_64-none
Installed Python 3.9.22 in 2.61s
 + cpython-3.9.22-windows-x86_64-none

I saw over at the python-build-standalone repository that ARM64 builds are in progress (astral-sh/python-build-standalone#387), but not yet ready.

Platform

Windows 11 ARM

Version

uv 0.6.14 (a4cec56 2025-04-09)

Python version

Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for clarification or support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions