Skip to content

Commit

Permalink
install 3.11 and 3.12 explicitly for Windows ARM64?
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Nov 24, 2024
1 parent 271e8f0 commit aab49b2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/dists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
steps:
- uses: actions/checkout@v4

# TODO: These aren't installed by default on Windows ARM64?
- uses: actions/setup-python@v5
if: ${{ matrix.os == 'windows-latest' && matrix.target == 'aarch64' }}
with:
python-version: "3.11"
- uses: actions/setup-python@v5
if: ${{ matrix.os == 'windows-latest' && matrix.target == 'aarch64' }}
with:
python-version: "3.12"

- uses: actions/setup-python@v5
if: ${{ matrix.os == 'windows-latest' }}
with:
Expand All @@ -52,7 +62,7 @@ jobs:
manylinux: ${{ matrix.manylinux || 'auto' }}
# Keep in sync with tests.yml
# Python added Windows ARM64 support in 3.11.
args: --release --out dist --interpreter '${{ (matrix.os != 'windows-latest' || matrix.target != 'aarch64') && '3.8 3.9 3.10 3.11 ' || '' }}3.12 3.13'
args: --release --out dist --interpreter '${{ (matrix.os != 'windows-latest' || matrix.target != 'aarch64') && '3.8 3.9 3.10 ' || '' }}3.11 3.12 3.13'
rust-toolchain: stable
docker-options: -e CI

Expand Down

0 comments on commit aab49b2

Please sign in to comment.