@@ -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 }}
0 commit comments