Browse Source

Add support for Python 3.12

pull/1297/head
Hugo van Kemenade 2 years ago
parent
commit
725106c207
  1. 2
      .github/workflows/tests.yml
  2. 2
      .readthedocs.yaml
  3. 3
      tox.ini

2
.github/workflows/tests.yml

@ -16,7 +16,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.9'] python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9']
exclude: exclude:
# pypy3 currently fails to run on Windows # pypy3 currently fails to run on Windows
- os: windows-latest - os: windows-latest

2
.readthedocs.yaml

@ -3,7 +3,7 @@ version: 2
build: build:
os: ubuntu-22.04 os: ubuntu-22.04
tools: tools:
python: "3.11" python: "3"
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py

3
tox.ini

@ -1,5 +1,5 @@
[tox] [tox]
envlist=flake8,py37,py38,py39,py310,py311,pypy3,docs envlist=flake8,py{37,38,39,310,311,312,py3},docs
skip_missing_interpreters=True skip_missing_interpreters=True
[gh-actions] [gh-actions]
@ -9,6 +9,7 @@ python =
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311 3.11: py311
3.12: py312
pypy-3: pypy3 pypy-3: pypy3
[testenv] [testenv]

Loading…
Cancel
Save