diff --git a/tox.ini b/tox.ini index f7e974745..798da6fe6 100644 --- a/tox.ini +++ b/tox.ini @@ -33,6 +33,15 @@ deps = -rrequirements-dev.txt commands = {[testenv]commands} +# Test with python 3.12; pinned dev reqs; upgraded, pre-release run reqs +[testenv:py312-prerelease] +basepython = python3.12 +install_command = + python -m pip install -U --pre {opts} {packages} +deps = + -rrequirements-dev.txt +commands = {[testenv]commands} + # Test with python 3.8; pinned dev reqs; minimum run reqs [testenv:py38-minimum] basepython = python3.8 @@ -75,6 +84,14 @@ deps = -rrequirements-dev.txt commands = {[testenv:build]commands} +[testenv:build-py312-prerelease] +basepython = python3.12 +install_command = + python -m pip install -U --pre {opts} {packages} +deps = + -rrequirements-dev.txt +commands = {[testenv:build]commands} + [testenv:build-py38-minimum] basepython = python3.8 deps = @@ -88,7 +105,7 @@ deps = null commands = python -c "import pynwb" # Envs that will execute gallery tests that do not require ROS3 -# Test with pinned dev, doc, run, and optional reqs +# Test with pinned dev, doc, and run reqs [testenv:gallery] install_command = python -m pip install -U {opts} {packages} @@ -121,7 +138,7 @@ basepython = python3.11 deps = {[testenv:gallery]deps} commands = {[testenv:gallery]commands} -# Test with python 3.12; pinned dev, doc, and optional reqs; upgraded run reqs +# Test with python 3.12; pinned dev, and doc reqs; upgraded run reqs [testenv:gallery-py312-upgraded] basepython = python3.12 deps =