Skip to content

Commit b1556d7

Browse files
Build docs with python 3.10
1 parent 2789c43 commit b1556d7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- { python: "3.11", os: "macos-latest", session: "tests" }
2727
- { python: "3.10", os: "macos-latest", session: "tests" }
2828
- { python: "3.9", os: "macos-latest", session: "tests" }
29-
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
29+
- { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
3030

3131
env:
3232
NOXSESSION: ${{ matrix.session }}

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55
build:
66
os: ubuntu-22.04
77
tools:
8-
python: "3.11"
8+
python: "3.10"
99

1010
# Build documentation in the docs/ directory with Sphinx
1111
sphinx:

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def coverage(session: Session) -> None:
184184
session.run("coverage", *args)
185185

186186

187-
@session(name="docs-build", python=python_versions[0])
187+
@session(name="docs-build", python=python_versions[1])
188188
def docs_build(session: Session) -> None:
189189
"""Build the documentation.
190190
@@ -218,7 +218,7 @@ def docs_build(session: Session) -> None:
218218
session.run("sphinx-build", *args)
219219

220220

221-
@session(python=python_versions[0])
221+
@session(python=python_versions[1])
222222
def docs(session: Session) -> None:
223223
"""Build and serve the documentation with live reloading on file changes.
224224

0 commit comments

Comments
 (0)