update windows wheel ci jobs to use pyenv, add py312 job

This commit is contained in:
pacrob
2024-01-31 11:02:54 -07:00
committed by Paul Robinson
parent b853f5ccdf
commit 2eff6f8be8
2 changed files with 76 additions and 29 deletions

View File

@ -3,7 +3,7 @@ envlist=
py{38,39,310,311,312}-core
py{38,39,310,311,312}-lint
py{38,39,310,311,312}-wheel
py311-wheel-windows
windows-wheel
docs
[flake8]
@ -19,6 +19,7 @@ commands=
docs: make check-docs
basepython=
docs: python
windows-wheel: python
py38: python3.8
py39: python3.9
py310: python3.10
@ -50,13 +51,14 @@ commands=
python -c "import <MODULE_NAME>"
skip_install=true
[testenv:py311-wheel-windows]
[testenv:windows-wheel]
deps=
wheel
build[virtualenv]
allowlist_externals=
bash.exe
commands=
python --version
python -m pip install --upgrade pip
bash.exe -c "rm -rf build dist"
python -m build