Skip to content

Commit

Permalink
fix(ci): update readthedocs python to 3.11
Browse files Browse the repository at this point in the history
Requires a slight change to .readthedocs.yml syntax and bumping the
version of Sphinx being used. Cannot used Sphinx >= 7.0 due to a
template issue.
  • Loading branch information
ljgray committed May 8, 2023
1 parent 3176de1 commit 1615371
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
# Required
version: 2

# Build info
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/conf.py
fail_on_warning: true

python:
version: 3.8
install:
- requirements: requirements.txt
- requirements: doc/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Sphinx >= 4.0, < 5.0
Sphinx >= 5.0, <7.0
sphinx_rtd_theme
# funcsigs required by mock, which apparently does not have its dependencies
# setup correctly.
Expand Down

0 comments on commit 1615371

Please sign in to comment.