Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.12 to allowed Python versions #10808

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/user/build-customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Here is an example that cancels builds from pull requests when there are no chan
build:
os: "ubuntu-22.04"
tools:
python: "3.11"
python: "3.12"
jobs:
post_checkout:
# Cancel building pull requests when there aren't changed in the docs directory or YAML file.
Expand All @@ -161,7 +161,7 @@ This other example shows how to cancel a build if the commit message contains ``
build:
os: "ubuntu-22.04"
tools:
python: "3.11"
python: "3.12"
jobs:
post_checkout:
# Use `git log` to check if the latest commit contains "skip ci",
Expand Down
2 changes: 1 addition & 1 deletion docs/user/config-file/examples/mkdocs/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"

mkdocs:
configuration: mkdocs.yml
Expand Down
2 changes: 1 addition & 1 deletion docs/user/config-file/examples/sphinx/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
Expand Down
7 changes: 4 additions & 3 deletions docs/user/config-file/v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ Python, Node.js, Rust, and Go.
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
nodejs: "18"
rust: "1.64"
golang: "1.19"
Expand Down Expand Up @@ -322,6 +322,7 @@ You can use several interpreters and versions, from CPython, Miniconda, and Mamb
- ``3.9``
- ``3.10``
- ``3.11``
- ``3.12``
- ``miniconda3-4.7``
- ``mambaforge-4.10``
- ``mambaforge-22.9``
Expand Down Expand Up @@ -409,7 +410,7 @@ See :doc:`/build-customization` for more details.
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
jobs:
pre_create_environment:
- echo "Command run at 'pre_create_environment' step"
Expand Down Expand Up @@ -454,7 +455,7 @@ The ``$READTHEDOCS_OUTPUT/html`` directory will be uploaded and hosted by Read t
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
commands:
- pip install pelican
- pelican --settings docs/pelicanconf.py --output $READTHEDOCS_OUTPUT/html/ docs/
Expand Down
2 changes: 1 addition & 1 deletion docs/user/environment-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The following example shows how a non-secret single-purpose environment variable
build:
os: "ubuntu-22.04"
tools:
python: "3.11"
python: "3.12"
jobs:
post_build:
- EXAMPLE_ENVIRONMENT_VARIABLE=foobar command --flag
2 changes: 1 addition & 1 deletion docs/user/guides/reproducible-builds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ A configuration file with explicit dependencies looks like this:
build:
os: "ubuntu-22.04"
tools:
python: "3.11"
python: "3.12"

# Build from the docs/ directory with Sphinx
sphinx:
Expand Down
11 changes: 6 additions & 5 deletions readthedocs/builds/constants_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@
"2.7": "2.7.18",
"3.6": "3.6.15",
"3.7": "3.7.17",
"3.8": "3.8.17",
"3.9": "3.9.17",
"3.10": "3.10.12",
"3.11": "3.11.4",
"3.8": "3.8.18",
"3.9": "3.9.18",
"3.10": "3.10.13",
"3.11": "3.11.6",
"3.12": "3.12.0",
# Always point to the latest stable release.
"3": "3.11.4",
"3": "3.12.0",
"miniconda3-4.7": "miniconda3-4.7.12",
"mambaforge-4.10": "mambaforge-4.10.3-10",
"mambaforge-22.9": "mambaforge-22.9.0-3",
Expand Down
1 change: 1 addition & 0 deletions readthedocs/rtd_tests/fixtures/spec/v2/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
"3.9",
"3.10",
"3.11",
"3.12",
"miniconda3-4.7",
"mambaforge-4.10",
"mambaforge-22.9"
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/import_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3>{% trans "Add a project configuration file" %}</h3>
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
Expand Down