Skip to content

Commit

Permalink
Build and test with Python 3.12 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
faph authored Oct 4, 2023
2 parents 1f5a07d + a94e053 commit 4867e56
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 @@ -30,7 +30,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 @@ -23,8 +23,8 @@ skip_missing_interpreters = true
python =
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 @@ -65,10 +65,3 @@ extras =
commands =
# Command exactly as executed on readthedocs.org. See https://readthedocs.org/projects/py-avro-schema/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 4867e56

Please sign in to comment.