Skip to content

Commit

Permalink
Add python 3.12 tox environment
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Feb 20, 2024
1 parent 1b13014 commit 17d09e7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -414,22 +414,23 @@ deps =
py39: -rrequirements/requirements-py-3.9.txt
py310: -rrequirements/requirements-py-3.10.txt
py311: -rrequirements/requirements-py-3.11.txt
py312: -rrequirements/requirements-py-3.12.txt
[testenv:py{39,310,311}]
[testenv:py{39,310,311,312}]
passenv =
PYTHONASYNCIODEBUG
setenv =
AIIDA_WARN_v3 =
commands = pytest {posargs}
[testenv:py{39,310,311}-verdi]
[testenv:py{39,310,311,312}-verdi]
passenv =
AIIDA_TEST_BACKEND
setenv =
AIIDA_PATH = {toxinidir}/.tox/.aiida
commands = verdi {posargs}
[testenv:py{39,310,311}-docs-{clean,update}]
[testenv:py{39,310,311,312}-docs-{clean,update}]
description =
clean: Build the documentation (remove any existing build)
update: Build the documentation (modify any existing build)
Expand All @@ -442,13 +443,14 @@ commands =
clean: make clean
make debug
[testenv:py{39,310,311}-docs-live]
[testenv:py{39,310,311,312}-docs-live]
# tip: remove apidocs before using this feature (`cd docs; make clean`)
description = Build the documentation and launch browser (with live updates)
deps =
py39: -rrequirements/requirements-py-3.9.txt
py310: -rrequirements/requirements-py-3.10.txt
py311: -rrequirements/requirements-py-3.11.txt
py312: -rrequirements/requirements-py-3.12.txt
sphinx-autobuild
setenv =
RUN_APIDOC = False
Expand All @@ -458,7 +460,7 @@ commands =
--port 0 --open-browser \
-n -b {posargs:html} docs/source/ docs/build/{posargs:html}
[testenv:py{39,310,311}-pre-commit]
[testenv:py{39,310,311,312}-pre-commit]
description = Run the pre-commit checks
extras = pre-commit
commands = pre-commit run {posargs}
Expand Down

0 comments on commit 17d09e7

Please sign in to comment.