Skip to content

Build: update build tools #12143

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions docs/user/config-file/v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ Ruby version to use.
:Type: ``string``
:Options:
- ``3.3``
- ``3.4``
- ``latest`` (alias for the latest version available on Read the Docs)

build.tools.rust
Expand All @@ -367,6 +368,7 @@ Rust version to use.
- ``1.75``
- ``1.78``
- ``1.82``
- ``1.86``
- ``latest`` (alias for the latest version available on Read the Docs)

build.tools.golang
Expand All @@ -383,6 +385,7 @@ Go version to use.
- ``1.21``
- ``1.22``
- ``1.23``
- ``1.24``
- ``latest`` (alias for the latest version available on Read the Docs)

build.apt_packages
Expand Down
31 changes: 17 additions & 14 deletions readthedocs/builds/constants_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"3.6": "3.6.15",
"3.7": "3.7.17",
"3.8": "3.8.20",
"3.9": "3.9.20",
"3.10": "3.10.15",
"3.11": "3.11.10",
"3.12": "3.12.7",
"3.13": "3.13.0",
"3.9": "3.9.22",
"3.10": "3.10.17",
"3.11": "3.11.12",
"3.12": "3.12.10",
"3.13": "3.13.3",
"miniconda3-4.7": "miniconda3-4.7.12",
"miniconda3-3.12-24.1": "miniconda3-3.12-24.1.2-0",
"miniconda3-3.12-24.9": "miniconda3-3.12-24.9.2-0",
Expand All @@ -49,14 +49,15 @@
"nodejs": {
"14": "14.21.3",
"16": "16.20.2",
"18": "18.20.4",
"18": "18.20.8",
"19": "19.9.0",
"20": "20.18.0",
"22": "22.11.0", # LTS
"23": "23.1.0",
"20": "20.19.1",
"22": "22.15.0", # LTS
"23": "23.11.0",
},
"ruby": {
"3.3": "3.3.5",
"3.4": "3.4.3",
},
"rust": {
"1.55": "1.55.0",
Expand All @@ -66,15 +67,17 @@
"1.75": "1.75.0",
"1.78": "1.78.0",
"1.82": "1.82.0",
"1.86": "1.86.0",
},
"golang": {
"1.17": "1.17.13",
"1.18": "1.18.10",
"1.19": "1.19.13",
"1.20": "1.20.14",
"1.21": "1.21.13",
"1.22": "1.22.8",
"1.23": "1.23.2",
"1.22": "1.22.12",
"1.23": "1.23.8",
"1.24": "1.24.2",
},
},
}
Expand All @@ -92,6 +95,6 @@
_TOOLS["python"]["miniconda-latest"] = _TOOLS["python"]["miniconda3-3.12-24.9"]
_TOOLS["python"]["mambaforge-latest"] = _TOOLS["python"]["mambaforge-23.11"]
_TOOLS["nodejs"]["latest"] = _TOOLS["nodejs"]["23"]
_TOOLS["ruby"]["latest"] = _TOOLS["ruby"]["3.3"]
_TOOLS["rust"]["latest"] = _TOOLS["rust"]["1.82"]
_TOOLS["golang"]["latest"] = _TOOLS["golang"]["1.23"]
_TOOLS["ruby"]["latest"] = _TOOLS["ruby"]["3.4"]
_TOOLS["rust"]["latest"] = _TOOLS["rust"]["1.86"]
_TOOLS["golang"]["latest"] = _TOOLS["golang"]["1.24"]
2 changes: 1 addition & 1 deletion readthedocs/projects/tests/test_build_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def test_successful_build(
},
"tools": {
"python": {
"full_version": "3.13.0",
"full_version": "3.13.3",
"version": "3",
}
},
Expand Down
4 changes: 3 additions & 1 deletion readthedocs/rtd_tests/fixtures/spec/v2/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"enum": ["14", "16", "18", "19", "20", "22", "23", "latest"]
},
"ruby": {
"enum": ["3.3", "latest"]
"enum": ["3.3", "3.4", "latest"]
},
"rust": {
"enum": [
Expand All @@ -220,6 +220,7 @@
"1.75",
"1.78",
"1.82",
"1.86",
"latest"
]
},
Expand All @@ -232,6 +233,7 @@
"1.21",
"1.22",
"1.23",
"1.24",
"latest"
]
}
Expand Down