Skip to content

Commit 71ee0b4

Browse files
authored
Make doc build CI versions consistent (#2284)
* Update .readthedocs.yaml to use the same minimum Py version as other builds * Update GitHub test runner CI to match same minimum Py version as other builds
1 parent 808e1da commit 71ee0b4

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/test.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,7 @@ jobs:
8383
matrix:
8484
os: [ubuntu-latest]
8585
# python-version in must be kept in sync with .readthedocs.yaml
86-
#
87-
# Why 3.9?
88-
# 1. It's the lowest version compatible w/ Sphinx 7.2.2, a doc build dependency
89-
# 2. Better doc build accessibility for contributors who may have trouble
90-
# setting up newer Python versions (Debian, etc).
91-
python-version: ['3.9']
86+
python-version: ['3.10'] # July 2024 | Match our contributor dev version; see pyproject.toml
9287
architecture: ['x64']
9388

9489
steps:

.readthedocs.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ build:
1010
tools:
1111
# If you change this, you also need to update .github/workflows/test.yml
1212
# to make sure doc test builds run on the same version.
13-
#
14-
# Why 3.9?
15-
# 1. It's the lowest version compatible w/ Sphinx 7.2.2, a doc build dependency
16-
# 2. Better doc build accessibility for contributors who may have trouble
17-
# setting up newer Python versions (Debian, etc).
18-
python: "3.9"
13+
python: "3.10" # July 2024 | See autobuild info in pyproject.toml's dev dependencies
1914

2015
python:
2116
install:

0 commit comments

Comments
 (0)