Skip to content

Commit 41eb47d

Browse files
committed
ci: allow installing pre-release Python, auto install latest 3.14
This seems strictly better than pinning to an rc build.
1 parent 994129b commit 41eb47d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- '3.11'
2323
- '3.12'
2424
- '3.13'
25-
- '3.14.0-rc.2'
25+
- '3.14'
2626
arch:
2727
- 'arm64'
2828
- 'x86'
@@ -77,9 +77,10 @@ jobs:
7777
with:
7878
python-version: ${{ matrix.py }}
7979
architecture: ${{ matrix.arch }}
80+
allow-prereleases: true
8081

8182
- name: Install Rust
82-
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
83+
if: matrix.arch != 'x86' && matrix.py != '3.14'
8384
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # v1
8485
with:
8586
toolchain: stable
@@ -96,14 +97,14 @@ jobs:
9697
python -m pip install --require-hashes -r ci/requirements.txt
9798
9899
- name: Build (Rust)
99-
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
100+
if: matrix.arch != 'x86' && matrix.py != '3.14'
100101
env:
101102
PIP_CONSTRAINT: 'ci/constraints.txt'
102103
run: |
103104
python -m pip -v install --config-settings='--build-option=--rust-backend' -e .
104105
105106
- name: Build (No Rust)
106-
if: matrix.arch == 'x86' || matrix.py == '3.14.0-rc.2'
107+
if: matrix.arch == 'x86' || matrix.py == '3.14'
107108
env:
108109
PIP_CONSTRAINT: 'ci/constraints.txt'
109110
run: |
@@ -120,7 +121,7 @@ jobs:
120121
pytest --numprocesses=auto --hypothesis-profile=${HYPOTHESIS_PROFILE} -v tests/
121122
122123
- name: Test Rust Backend
123-
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
124+
if: matrix.arch != 'x86' && matrix.py != '3.14'
124125
# Rust backend is currently experimental. So ignore failures in it.
125126
continue-on-error: true
126127
env:

.github/workflows/wheel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
- '3.11'
110110
- '3.12'
111111
- '3.13'
112-
- '3.14.0-rc.2'
112+
- '3.14'
113113
arch:
114114
- 'x86'
115115
- 'x64'
@@ -130,6 +130,7 @@ jobs:
130130
with:
131131
python-version: ${{ matrix.py }}
132132
architecture: ${{ matrix.arch }}
133+
allow-prereleases: true
133134

134135
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
135136
with:

0 commit comments

Comments
 (0)