Skip to content

Commit

Permalink
Python 3.11!
Browse files Browse the repository at this point in the history
Python 3.7 is now receiving security fixes only, and latest Sphinx (6)
dropped support for it. 3.11 is the latest stable, and supported by
ReadTheDocs https://docs.readthedocs.io/en/stable/config-file/v2.html#python

Moving RTD build configuration into .readthedocs.yaml from the web app
ensures we get per-branch config which we need to synchronise the
changes
  • Loading branch information
doismellburning committed Dec 31, 2022
1 parent 48b47ae commit c3aa589
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
16 changes: 16 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://docs.readthedocs.io/en/stable/config-file/v2.html

version: 2

build:
os: "ubuntu-22.04"
tools:
python: "3.11"

sphinx:
builder: "dirhtml"
configuration: "source/conf.py"

python:
install:
- requirements: "requirements.txt"

0 comments on commit c3aa589

Please sign in to comment.