This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 72d331ce892ae2a6c82b2076e80baf53a8d194cd Author: Tomaz Muraus <to...@tomaz.me> AuthorDate: Tue Aug 1 13:00:44 2023 +0200 Add tox dist targets for Python 3.11 and 3.12-dev which were missing. --- tox.ini | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/tox.ini b/tox.ini index 06a5302fa..05c6dc643 100644 --- a/tox.ini +++ b/tox.ini @@ -31,6 +31,8 @@ basepython = {py3.8,py3.8-windows,integration-storage,py3.8-dist,py3.8-dist-wheel}: python3.8 {py3.9,py3.9-dist,py3.9-dist-wheel}: python3.9 {py3.10,py3.10-dist,py3.10-dist-wheel}: python3.10 + {py3.11,py3.11-dist,py3.11-dist-wheel}: python3.11 + {py3.12-dev,py3.12-dev-dist,py3.12-dev-dist-wheel}: python3.12 setenv = CRYPTOGRAPHY_ALLOW_OPENSSL_102=1 # NOTE: By default we run tests on CI in parallel to speed up the build @@ -136,6 +138,44 @@ recreate = True deps = commands = bash -c "./scripts/dist_wheel_install_check.sh" +[testenv:py3.11-dist] +# Verify library installs without any dependencies when using python setup.py +# install +skipdist = True +recreate = True +# NOTE: We intentionally set empty deps to ensure it works on a clean +# environment without any dependencies +deps = +commands = bash -c "./scripts/dist_install_check.sh" + +[testenv:py3.11-dist-wheel] +# Verify library installs without any dependencies when using built wheel +skipdist = True +recreate = True +# NOTE: We intentionally set empty deps to ensure it works on a clean +# environment without any dependencies +deps = +commands = bash -c "./scripts/dist_wheel_install_check.sh" + +[testenv:py3.12-dev-dist] +# Verify library installs without any dependencies when using python setup.py +# install +skipdist = True +recreate = True +# NOTE: We intentionally set empty deps to ensure it works on a clean +# environment without any dependencies +deps = +commands = bash -c "./scripts/dist_install_check.sh" + +[testenv:py3.12-dev-dist-wheel] +# Verify library installs without any dependencies when using built wheel +skipdist = True +recreate = True +# NOTE: We intentionally set empty deps to ensure it works on a clean +# environment without any dependencies +deps = +commands = bash -c "./scripts/dist_wheel_install_check.sh" + [testenv:docs] deps = -r{toxinidir}/requirements-docs.txt