3131 - ' 3.11'
3232 - ' 3.12'
3333 - ' 3.13'
34+ - ' 3.14-dev'
3435 build_type :
3536 type : choice
3637 description : ' Choose the build type to use'
@@ -181,7 +182,7 @@ jobs:
181182 fail-fast : false
182183 matrix :
183184 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' ]
185186 runs-on : ${{ matrix.os }}
186187 container : ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:20.04') || null }}
187188 steps :
@@ -219,6 +220,10 @@ jobs:
219220 echo "$HOME/.pyenv/shims" >> $GITHUB_PATH
220221 echo "PYENV_ROOT=$HOME/.pyenv" >> $GITHUB_ENV
221222 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
222227 pyenv install $PYTHON_VERSION
223228 pyenv global $PYTHON_VERSION
224229 env :
@@ -243,6 +248,7 @@ jobs:
243248 fi
244249 echo "Installing python deps"
245250 poetry self add "poetry-dynamic-versioning[plugin]"
251+ echo "Use the correct Python version we've set up"
246252 poetry env use python$PYTHON_VERSION || poetry env use python3 # use the correct Python version we've set up
247253 poetry install --no-root --only=dev
248254 echo "Installed Dependencies"
0 commit comments