Skip to content

Build: update all build.tools and add latest versions #11386

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

Merged
merged 3 commits into from
Jun 12, 2024
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: 4 additions & 0 deletions docs/user/config-file/v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,11 @@ You can use several interpreters and versions, from CPython, Miniconda, and Mamb
- ``3.12``
- ``latest`` (alias for the latest version available on Read the Docs)
- ``miniconda3-4.7``
- ``miniconda3-3.12-24.1``
- ``miniconda-latest`` (alias for the latest version available on Read the Docs)
- ``mambaforge-4.10``
- ``mambaforge-22.9``
- ``mambaforge-23.11``
- ``mambaforge-latest`` (alias for the latest version available on Read the Docs)

build.tools.nodejs
Expand Down Expand Up @@ -371,6 +373,7 @@ Rust version to use.
- ``1.64``
- ``1.70``
- ``1.75``
- ``1.78``
- ``latest`` (alias for the latest version available on Read the Docs)

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

build.apt_packages
Expand Down
32 changes: 18 additions & 14 deletions readthedocs/builds/constants_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,38 +32,42 @@
"2.7": "2.7.18",
"3.6": "3.6.15",
"3.7": "3.7.17",
"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",
"3.8": "3.8.19",
"3.9": "3.9.19",
"3.10": "3.10.14",
"3.11": "3.11.9",
"3.12": "3.12.3",
"miniconda3-4.7": "miniconda3-4.7.12",
"miniconda3-3.12-24.1": "miniconda3-3.12-24.1.2-0",
"mambaforge-4.10": "mambaforge-4.10.3-10",
"mambaforge-22.9": "mambaforge-22.9.0-3",
"mambaforge-23.11": "mambaforge-23.11.0-0",
},
"nodejs": {
"14": "14.20.1",
"16": "16.18.1",
"18": "18.16.1",
"19": "19.0.1",
"20": "20.11.0", # LTS
"20": "20.14.0", # LTS
},
"ruby": {
"3.3": "3.3.0",
"3.3": "3.3.2",
},
"rust": {
"1.55": "1.55.0",
"1.61": "1.61.0",
"1.64": "1.64.0",
"1.70": "1.70.0",
"1.75": "1.75.0",
"1.78": "1.78.0",
},
"golang": {
"1.17": "1.17.13",
"1.18": "1.18.10",
"1.19": "1.19.10",
"1.20": "1.20.5",
"1.21": "1.21.6",
"1.19": "1.19.13",
"1.20": "1.20.14",
"1.21": "1.21.11",
"1.22": "1.22.4",
},
},
}
Expand All @@ -74,9 +78,9 @@
_OS["ubuntu-lts-latest"] = _OS["ubuntu-22.04"]
_TOOLS["python"]["3"] = _TOOLS["python"]["3.12"]
_TOOLS["python"]["latest"] = _TOOLS["python"]["3"]
_TOOLS["python"]["miniconda-latest"] = _TOOLS["python"]["miniconda3-4.7"]
_TOOLS["python"]["mambaforge-latest"] = _TOOLS["python"]["mambaforge-22.9"]
_TOOLS["python"]["miniconda-latest"] = _TOOLS["python"]["miniconda3-3.12-24.1"]
_TOOLS["python"]["mambaforge-latest"] = _TOOLS["python"]["mambaforge-23.11"]
_TOOLS["nodejs"]["latest"] = _TOOLS["nodejs"]["20"]
_TOOLS["ruby"]["latest"] = _TOOLS["ruby"]["3.3"]
_TOOLS["rust"]["latest"] = _TOOLS["rust"]["1.75"]
_TOOLS["golang"]["latest"] = _TOOLS["golang"]["1.21"]
_TOOLS["rust"]["latest"] = _TOOLS["rust"]["1.78"]
_TOOLS["golang"]["latest"] = _TOOLS["golang"]["1.22"]
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 @@ -524,7 +524,7 @@ def test_successful_build(
},
"tools": {
"python": {
"full_version": "3.12.0",
"full_version": "3.12.3",
"version": "3",
}
},
Expand Down
4 changes: 4 additions & 0 deletions readthedocs/rtd_tests/fixtures/spec/v2/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@
"3.12",
"latest",
"miniconda3-4.7",
"miniconda3-3.12-24.1",
"miniconda-latest",
"mambaforge-4.10",
"mambaforge-22.9",
"mambaforge-23.11",
"mambaforge-latest"
]
},
Expand All @@ -182,6 +184,7 @@
"1.64",
"1.70",
"1.75",
"1.78",
"latest"
]
},
Expand All @@ -192,6 +195,7 @@
"1.19",
"1.20",
"1.21",
"1.22",
"latest"
]
}
Expand Down