Skip to content

Commit f0e8163

Browse files
committed
Build docs with Python 3.12 and Ubuntu 24.04
This way it supports the newest Sphinx version
1 parent 2bbcab2 commit f0e8163

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
tox-env: ["black", "lint", "docs"]
4545
steps:
4646
- uses: actions/checkout@v2
47-
- name: Set up Python 3.10
47+
- name: Set up Python 3.12
4848
uses: actions/setup-python@v2
4949
with:
50-
python-version: "3.10"
50+
python-version: "3.12"
5151
- name: Install dependencies
5252
run: |
5353
python -m pip install --upgrade pip

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2
22

33
build:
4-
os: "ubuntu-22.04"
4+
os: "ubuntu-24.04"
55
tools:
6-
python: "3.10"
6+
python: "3.12"
77

88
sphinx:
99
configuration: docs/conf.py

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ commands =
2828
pytest --cov --no-cov-on-fail --cov-report xml {posargs}
2929

3030
[testenv:black]
31-
basepython = python3.10
31+
basepython = python3.12
3232
deps =
3333
-rrequirements/requirements-codestyle.txt
3434
commands = black --check .
3535

3636
[testenv:lint]
37-
basepython = python3.10
37+
basepython = python3.12
3838
deps =
3939
-rrequirements/requirements-codestyle.txt
4040
-rrequirements/requirements-testing.txt
@@ -43,7 +43,7 @@ commands = flake8
4343

4444
[testenv:docs]
4545
# keep in sync with .readthedocs.yml
46-
basepython = python3.10
46+
basepython = python3.12
4747
deps =
4848
-rrequirements/requirements-optionals.txt
4949
-rrequirements/requirements-documentation.txt

0 commit comments

Comments
 (0)