Skip to content

Commit 14c6a9c

Browse files
authored
Add Python 3.12 to allowed Python versions (#10808)
Bump Python versions
1 parent aa7df9a commit 14c6a9c

File tree

9 files changed

+18
-15
lines changed

9 files changed

+18
-15
lines changed

docs/user/build-customization.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Here is an example that cancels builds from pull requests when there are no chan
136136
build:
137137
os: "ubuntu-22.04"
138138
tools:
139-
python: "3.11"
139+
python: "3.12"
140140
jobs:
141141
post_checkout:
142142
# Cancel building pull requests when there aren't changed in the docs directory or YAML file.
@@ -161,7 +161,7 @@ This other example shows how to cancel a build if the commit message contains ``
161161
build:
162162
os: "ubuntu-22.04"
163163
tools:
164-
python: "3.11"
164+
python: "3.12"
165165
jobs:
166166
post_checkout:
167167
# Use `git log` to check if the latest commit contains "skip ci",

docs/user/config-file/examples/mkdocs/.readthedocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.11"
11+
python: "3.12"
1212

1313
mkdocs:
1414
configuration: mkdocs.yml

docs/user/config-file/examples/sphinx/.readthedocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.11"
11+
python: "3.12"
1212
# You can also specify other tool versions:
1313
# nodejs: "20"
1414
# rust: "1.70"

docs/user/config-file/v2.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ Python, Node.js, Rust, and Go.
272272
build:
273273
os: ubuntu-22.04
274274
tools:
275-
python: "3.11"
275+
python: "3.12"
276276
nodejs: "18"
277277
rust: "1.64"
278278
golang: "1.19"
@@ -322,6 +322,7 @@ You can use several interpreters and versions, from CPython, Miniconda, and Mamb
322322
- ``3.9``
323323
- ``3.10``
324324
- ``3.11``
325+
- ``3.12``
325326
- ``miniconda3-4.7``
326327
- ``mambaforge-4.10``
327328
- ``mambaforge-22.9``
@@ -409,7 +410,7 @@ See :doc:`/build-customization` for more details.
409410
build:
410411
os: ubuntu-22.04
411412
tools:
412-
python: "3.11"
413+
python: "3.12"
413414
jobs:
414415
pre_create_environment:
415416
- echo "Command run at 'pre_create_environment' step"
@@ -454,7 +455,7 @@ The ``$READTHEDOCS_OUTPUT/html`` directory will be uploaded and hosted by Read t
454455
build:
455456
os: ubuntu-22.04
456457
tools:
457-
python: "3.11"
458+
python: "3.12"
458459
commands:
459460
- pip install pelican
460461
- pelican --settings docs/pelicanconf.py --output $READTHEDOCS_OUTPUT/html/ docs/

docs/user/environment-variables.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ The following example shows how a non-secret single-purpose environment variable
129129
build:
130130
os: "ubuntu-22.04"
131131
tools:
132-
python: "3.11"
132+
python: "3.12"
133133
jobs:
134134
post_build:
135135
- EXAMPLE_ENVIRONMENT_VARIABLE=foobar command --flag

docs/user/guides/reproducible-builds.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A configuration file with explicit dependencies looks like this:
3838
build:
3939
os: "ubuntu-22.04"
4040
tools:
41-
python: "3.11"
41+
python: "3.12"
4242
4343
# Build from the docs/ directory with Sphinx
4444
sphinx:

readthedocs/builds/constants_docker.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@
3232
"2.7": "2.7.18",
3333
"3.6": "3.6.15",
3434
"3.7": "3.7.17",
35-
"3.8": "3.8.17",
36-
"3.9": "3.9.17",
37-
"3.10": "3.10.12",
38-
"3.11": "3.11.4",
35+
"3.8": "3.8.18",
36+
"3.9": "3.9.18",
37+
"3.10": "3.10.13",
38+
"3.11": "3.11.6",
39+
"3.12": "3.12.0",
3940
# Always point to the latest stable release.
40-
"3": "3.11.4",
41+
"3": "3.12.0",
4142
"miniconda3-4.7": "miniconda3-4.7.12",
4243
"mambaforge-4.10": "mambaforge-4.10.3-10",
4344
"mambaforge-22.9": "mambaforge-22.9.0-3",

readthedocs/rtd_tests/fixtures/spec/v2/schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
"3.9",
177177
"3.10",
178178
"3.11",
179+
"3.12",
179180
"miniconda3-4.7",
180181
"mambaforge-4.10",
181182
"mambaforge-22.9"

readthedocs/templates/projects/import_config.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3>{% trans "Add a project configuration file" %}</h3>
3131
build:
3232
os: ubuntu-22.04
3333
tools:
34-
python: "3.11"
34+
python: "3.12"
3535
# You can also specify other tool versions:
3636
# nodejs: "19"
3737
# rust: "1.64"

0 commit comments

Comments
 (0)