diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 82d39e2..6ce0228 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -30,12 +30,13 @@ jobs: - '3.9' - '3.10' - '3.11' - - '3.12-dev' + - '3.12' + - '3.13-dev' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/tox.ini b/tox.ini index 62b3d5a..2c55bb0 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,14 @@ # Tox virtual environment manager for testing and quality assurance [tox] -envlist = py39, py310, py311, py312, linting, docs +envlist = + py39 + py310 + py311 + py312 + py313 + linting + docs isolated_build = True # Developers may not have all Python versions skip_missing_interpreters = true @@ -23,8 +30,9 @@ skip_missing_interpreters = true python = 3.9: py39 3.10: py310 - 3.11: py311, linting, docs + 3.11: py311 3.12: py312 + 3.13: py313, linting, docs [testenv] # Base test environment @@ -65,10 +73,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