31
31
- ' 3.11'
32
32
- ' 3.12'
33
33
- ' 3.13'
34
+ - ' 3.14-dev'
34
35
build_type :
35
36
type : choice
36
37
description : ' Choose the build type to use'
@@ -181,7 +182,7 @@ jobs:
181
182
fail-fast : false
182
183
matrix :
183
184
os : [ 'ubuntu-22.04', 'macos-13', 'macos-14', 'windows-2022', 'ubuntu-22.04-arm' ]
184
- python_version : [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
185
+ python_version : [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14-dev' ]
185
186
runs-on : ${{ matrix.os }}
186
187
container : ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:20.04') || null }}
187
188
steps :
@@ -219,6 +220,10 @@ jobs:
219
220
echo "$HOME/.pyenv/shims" >> $GITHUB_PATH
220
221
echo "PYENV_ROOT=$HOME/.pyenv" >> $GITHUB_ENV
221
222
export PATH="$HOME/.pyenv/bin:$PATH"
223
+ if [ "$PYTHON_VERSION" = "3.14-dev" ]; then
224
+ # Replacing 3.14-dev with a pinned prerelease version for fast installation
225
+ PYTHON_VERSION="3.14.0rc3"
226
+ fi
222
227
pyenv install $PYTHON_VERSION
223
228
pyenv global $PYTHON_VERSION
224
229
env :
@@ -243,6 +248,7 @@ jobs:
243
248
fi
244
249
echo "Installing python deps"
245
250
poetry self add "poetry-dynamic-versioning[plugin]"
251
+ echo "Use the correct Python version we've set up"
246
252
poetry env use python$PYTHON_VERSION || poetry env use python3 # use the correct Python version we've set up
247
253
poetry install --no-root --only=dev
248
254
echo "Installed Dependencies"
0 commit comments