Skip to content

Commit f22b548

Browse files
committed
1 parent ec1a615 commit f22b548

2 files changed

Lines changed: 6 additions & 16 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -139,29 +139,17 @@ jobs:
139139
- uses: actions/checkout@v4.2.2
140140
with:
141141
ref: ${{ matrix.commit }}
142-
# XXX We use setup-python to install ARM64 flavor of Python on Windows because uv does not support it yet:
143-
# https://github.com/astral-sh/python-build-standalone/issues/386
144-
# https://github.com/Nuitka/Nuitka/issues/3449#issuecomment-2889794114
145-
- uses: actions/setup-python@v5.6.0
146-
if: matrix.os == 'windows-11-arm'
147-
with:
148-
# XXX Python version here does not really matter but we had to set it for the action to pick-up the
149-
# architecture parameter.
150-
python-version: "3.13.3"
151-
architecture: arm64
152142
- name: Install uv
153143
run: |
154144
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
155145
- name: Build binary
156-
# XXX Python for Windows ARM64 has not been shipped yet, so don't make uv try to fall back on x64 Python by
157-
# forcing the --no-managed-python option. See:
158-
# https://github.com/astral-sh/python-build-standalone/pull/387#issuecomment-2836029040
146+
# XXX Python for Windows ARM64 is available through uv but is not going to be installed by default.
147+
# We have to explicitly install it for it to be picked-up by Nuitka.
159148
# https://github.com/astral-sh/uv/issues/12906
160-
# https://github.com/astral-sh/uv/pull/13719
161-
# https://github.com/astral-sh/uv/pull/13724
149+
# https://docs.astral.sh/uv/reference/cli/#uv-python
162150
run: >
163151
uv run
164-
${{ matrix.os == 'windows-11-arm' && '--no-managed-python' || '' }}
152+
${{ matrix.os == 'windows-11-arm' && '--managed-python --python cpython-3.13-windows-aarch64-none' || '' }}
165153
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt
166154
--
167155
nuitka --onefile --assume-yes-for-downloads --output-filename=${{ matrix.bin_name }} ${{ matrix.module_path }}

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
> [!IMPORTANT]
66
> This version is not released yet and is under active development.
77
8+
- Use `uv`-provided ARM64 Python on `windows-11-arm` platform for Nuitka builds.
9+
810
## [4.17.5 (2025-06-26)](https://github.com/kdeldycke/workflows/compare/v4.17.4...v4.17.5)
911

1012
- Bump `uv`.

0 commit comments

Comments
 (0)