Skip to content

Commit 9b70329

Browse files
Update Python setup in GitHub Actions workflow
Refactor GitHub Actions workflow to set up Python 3.13.8 and 3.13.8t on Windows 11 ARM.
1 parent c4d665b commit 9b70329

File tree

1 file changed

+60
-20
lines changed

1 file changed

+60
-20
lines changed

.github/workflows/python-app.yml

Lines changed: 60 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,67 @@ on:
66
- issue-851
77
workflow_dispatch:
88

9+
# jobs:
10+
# build:
11+
# runs-on: ${{ matrix.os }}
12+
# strategy:
13+
# fail-fast: false
14+
# matrix:
15+
# # os: [ubuntu-latest, ubuntu-22.04, windows-latest, macos-13, macos-latest]
16+
# os: [self-hosted]
17+
# # os: [windows-2025, windows-latest, windows-2019, windows-11-arm]
18+
# # python-version: ['3.13.1t', '3.13.1', '3.12', '3.11', '3.10']
19+
# steps:
20+
# - name: Checkout
21+
# uses: actions/checkout@v5
22+
# - name: Set up Python
23+
# uses: actions/setup-python@v6
24+
# # uses: priyagupta108/setup-python@test-hashFiles
25+
# with:
26+
# python-version: '3.13'
27+
# cache: 'pip'
28+
# cache-dependency-path: '**/requirements.txt'
29+
# - run: pip install -r requirements.txt
30+
# - name: Verify Python Version
31+
# run: |
32+
# python --version
33+
34+
35+
# name: Test Python 3.13.8t on Windows x64
36+
37+
# on:
38+
# workflow_dispatch:
39+
940
jobs:
10-
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
# os: [ubuntu-latest, ubuntu-22.04, windows-latest, macos-13, macos-latest]
16-
os: [self-hosted]
17-
# os: [windows-2025, windows-latest, windows-2019, windows-11-arm]
18-
# python-version: ['3.13.1t', '3.13.1', '3.12', '3.11', '3.10']
41+
test-314-then-314t:
42+
name: Setup 3.13.8 then 3.13.8t (reproduces issue)
43+
runs-on: windows-11-arm
1944
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v5
22-
- name: Set up Python
23-
uses: actions/setup-python@v6
24-
# uses: priyagupta108/setup-python@test-hashFiles
45+
- name: Setup Python 3.13.8
46+
uses: actions/setup-python@v5
2547
with:
26-
python-version: '3.13'
27-
cache: 'pip'
28-
cache-dependency-path: '**/requirements.txt'
29-
- run: pip install -r requirements.txt
30-
- name: Verify Python Version
48+
python-version: '3.13.8'
49+
architecture: x64
50+
allow-prereleases: true
51+
52+
- name: Verify 3.13.8 installation
53+
shell: bash
3154
run: |
32-
python --version
55+
echo "=== After installing 3.13.8 ==="
56+
python --version
57+
which python
58+
59+
- name: Setup Python 3.13.8t (this should fail)
60+
uses: actions/setup-python@v5
61+
with:
62+
python-version: '3.13.8t'
63+
architecture: x64
64+
allow-prereleases: true
65+
66+
- name: Check what happened
67+
shell: bash
68+
run: |
69+
echo "=== After attempting to install 3.14t ==="
70+
python --version
71+
which python
72+

0 commit comments

Comments
 (0)