Skip to content

Commit

Permalink
Test with Python 3.12 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
faph authored Oct 4, 2023
2 parents 3d8cd17 + 9ca1d08 commit 45b4e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12-dev'
- '3.12'

steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 2 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311, linting, docs
3.12: py312
3.11: py311
3.12: py312, linting, docs

[testenv]
# Base test environment
Expand Down Expand Up @@ -67,10 +67,3 @@ extras =
commands =
# Command exactly as executed on readthedocs.org. See https://readthedocs.org/projects/inference-server/builds/.
python -m sphinx -T -E -W --keep-going -b html -d {toxinidir}{/}docs{/}_build{/}doctrees -D language=en {toxinidir}{/}docs {toxinidir}{/}docs{/}_build{/}html

[testenv:py312]
# Overrides for Python 3.12 (dev) test environment
# TODO: remove entire section once Python 3.12 is released (October 2023)

# Allow tests for alpha/beta Python release to fail. Show warnings only.
ignore_outcome = true

0 comments on commit 45b4e27

Please sign in to comment.