actions / setup-python

Set up your GitHub Actions workflow with a specific version of Python
MIT License
1.75k stars 553 forks source link

Add/support windows-aarch64 #976

Open ritchie46 opened 3 days ago

ritchie46 commented 3 days ago

I am not sure if this is a feature request or a bug report. But when we wanted to release a new binary for windows with aarch64 support upstream in Polars, we got a failure in the setup-python step for that architecture.

Run actions/setup-python@v5
Installed versions
  Version 3.9 was not found in the local cache
  Error: The version '3.9' with architecture 'arm64' was not found for Windows Enterprise.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

The full logs are here: https://github.com/pola-rs/polars/actions/runs/12012857821/job/33485043287

Would be a great if windows + aarch64 had support.

priyagupta108 commented 3 days ago

Hello @ritchie46 👋, Thank you for your report. For Windows, the official Python executables are simply downloaded from python.org. Unfortunately, binary installers are not available for arm64 Windows for the 3.9 versions. You can verify this by visiting Python Downloads for Windows and checking the releases that have binary installers for Windows arm64. You may consider using a different version of Python that has binary installers available for this architecture. Hope this clarifies!