Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with Python 3.13 (beta) #19

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 10 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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