Skip to content

Commit e1c2b45

Browse files
committed
Build tools: update latest versions
1 parent 7120315 commit e1c2b45

File tree

5 files changed

+52
-34
lines changed

5 files changed

+52
-34
lines changed

docs/user/config-file/v2.rst

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Configuration for Conda support.
211211
version: 2
212212
213213
build:
214-
os: "ubuntu-22.04"
214+
os: "ubuntu-24.04"
215215
tools:
216216
python: "mambaforge-22.9"
217217
@@ -244,12 +244,12 @@ Python, Node.js, Rust, and Go.
244244
version: 2
245245
246246
build:
247-
os: ubuntu-22.04
247+
os: ubuntu-24.04
248248
tools:
249-
python: "3.12"
250-
nodejs: "18"
251-
rust: "1.64"
252-
golang: "1.19"
249+
python: "3.13"
250+
nodejs: "22"
251+
rust: "1.82"
252+
golang: "1.23"
253253
254254
build.os
255255
````````
@@ -316,9 +316,11 @@ You can use several interpreters and versions, from CPython, Miniconda, and Mamb
316316
- ``3.10``
317317
- ``3.11``
318318
- ``3.12``
319+
- ``3.13``
319320
- ``latest`` (alias for the latest version available on Read the Docs)
320321
- ``miniconda3-4.7``
321322
- ``miniconda3-3.12-24.1``
323+
- ``miniconda3-3.12-24.9``
322324
- ``miniconda-latest`` (alias for the latest version available on Read the Docs)
323325
- ``mambaforge-4.10``
324326
- ``mambaforge-22.9``
@@ -337,6 +339,8 @@ Node.js version to use.
337339
- ``18``
338340
- ``19``
339341
- ``20``
342+
- ``22``
343+
- ``23``
340344
- ``latest`` (alias for the latest version available on Read the Docs)
341345

342346
build.tools.ruby
@@ -362,6 +366,7 @@ Rust version to use.
362366
- ``1.70``
363367
- ``1.75``
364368
- ``1.78``
369+
- ``1.82``
365370
- ``latest`` (alias for the latest version available on Read the Docs)
366371

367372
build.tools.golang
@@ -377,6 +382,7 @@ Go version to use.
377382
- ``1.20``
378383
- ``1.21``
379384
- ``1.22``
385+
- ``1.23``
380386
- ``latest`` (alias for the latest version available on Read the Docs)
381387

382388
build.apt_packages
@@ -423,9 +429,9 @@ See :doc:`/build-customization` for more details.
423429
version: 2
424430
425431
build:
426-
os: ubuntu-22.04
432+
os: ubuntu-24.04
427433
tools:
428-
python: "3.12"
434+
python: "3.13"
429435
jobs:
430436
pre_create_environment:
431437
- echo "Command run at 'pre_create_environment' step"
@@ -468,9 +474,9 @@ The ``$READTHEDOCS_OUTPUT/html`` directory will be uploaded and hosted by Read t
468474
version: 2
469475
470476
build:
471-
os: ubuntu-22.04
477+
os: ubuntu-24.04
472478
tools:
473-
python: "3.12"
479+
python: "3.13"
474480
commands:
475481
- pip install pelican
476482
- pelican --settings docs/pelicanconf.py --output $READTHEDOCS_OUTPUT/html/ docs/

readthedocs/builds/constants_docker.py

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,30 @@
3333
"2.7": "2.7.18",
3434
"3.6": "3.6.15",
3535
"3.7": "3.7.17",
36-
"3.8": "3.8.19",
37-
"3.9": "3.9.19",
38-
"3.10": "3.10.14",
39-
"3.11": "3.11.9",
40-
"3.12": "3.12.3",
36+
"3.8": "3.8.20",
37+
"3.9": "3.9.20",
38+
"3.10": "3.10.15",
39+
"3.11": "3.11.10",
40+
"3.12": "3.12.7",
41+
"3.13": "3.13.0",
4142
"miniconda3-4.7": "miniconda3-4.7.12",
4243
"miniconda3-3.12-24.1": "miniconda3-3.12-24.1.2-0",
44+
"miniconda3-3.12-24.9": "miniconda3-3.12-24.9.2-0",
4345
"mambaforge-4.10": "mambaforge-4.10.3-10",
4446
"mambaforge-22.9": "mambaforge-22.9.0-3",
4547
"mambaforge-23.11": "mambaforge-23.11.0-0",
4648
},
4749
"nodejs": {
48-
"14": "14.20.1",
49-
"16": "16.18.1",
50-
"18": "18.16.1",
51-
"19": "19.0.1",
52-
"20": "20.14.0", # LTS
50+
"14": "14.21.3",
51+
"16": "16.20.2",
52+
"18": "18.20.4",
53+
"19": "19.9.0",
54+
"20": "20.18.0", # LTS
55+
"22": "22.11.0", # LTS
56+
"23": "23.1.0",
5357
},
5458
"ruby": {
55-
"3.3": "3.3.2",
59+
"3.3": "3.3.5",
5660
},
5761
"rust": {
5862
"1.55": "1.55.0",
@@ -61,14 +65,16 @@
6165
"1.70": "1.70.0",
6266
"1.75": "1.75.0",
6367
"1.78": "1.78.0",
68+
"1.82": "1.82.0",
6469
},
6570
"golang": {
6671
"1.17": "1.17.13",
6772
"1.18": "1.18.10",
6873
"1.19": "1.19.13",
6974
"1.20": "1.20.14",
70-
"1.21": "1.21.11",
71-
"1.22": "1.22.4",
75+
"1.21": "1.21.13",
76+
"1.22": "1.22.8",
77+
"1.23": "1.23.2",
7278
},
7379
},
7480
}
@@ -81,11 +87,11 @@
8187
# in production after some weeks
8288
_OS["ubuntu-lts-latest"] = _OS["ubuntu-22.04"]
8389

84-
_TOOLS["python"]["3"] = _TOOLS["python"]["3.12"]
90+
_TOOLS["python"]["3"] = _TOOLS["python"]["3.13"]
8591
_TOOLS["python"]["latest"] = _TOOLS["python"]["3"]
86-
_TOOLS["python"]["miniconda-latest"] = _TOOLS["python"]["miniconda3-3.12-24.1"]
92+
_TOOLS["python"]["miniconda-latest"] = _TOOLS["python"]["miniconda3-3.12-24.9"]
8793
_TOOLS["python"]["mambaforge-latest"] = _TOOLS["python"]["mambaforge-23.11"]
88-
_TOOLS["nodejs"]["latest"] = _TOOLS["nodejs"]["20"]
94+
_TOOLS["nodejs"]["latest"] = _TOOLS["nodejs"]["23"]
8995
_TOOLS["ruby"]["latest"] = _TOOLS["ruby"]["3.3"]
90-
_TOOLS["rust"]["latest"] = _TOOLS["rust"]["1.78"]
91-
_TOOLS["golang"]["latest"] = _TOOLS["golang"]["1.22"]
96+
_TOOLS["rust"]["latest"] = _TOOLS["rust"]["1.82"]
97+
_TOOLS["golang"]["latest"] = _TOOLS["golang"]["1.23"]

readthedocs/projects/tests/test_build_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def test_successful_build(
572572
},
573573
"tools": {
574574
"python": {
575-
"full_version": "3.12.3",
575+
"full_version": "3.13.0",
576576
"version": "3",
577577
}
578578
},

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,11 @@
152152
"3.10",
153153
"3.11",
154154
"3.12",
155+
"3.13",
155156
"latest",
156157
"miniconda3-4.7",
157158
"miniconda3-3.12-24.1",
159+
"miniconda3-3.12-24.9",
158160
"miniconda-latest",
159161
"mambaforge-4.10",
160162
"mambaforge-22.9",
@@ -169,6 +171,8 @@
169171
"18",
170172
"19",
171173
"20",
174+
"22",
175+
"23",
172176
"latest"
173177
]
174178
},
@@ -186,6 +190,7 @@
186190
"1.70",
187191
"1.75",
188192
"1.78",
193+
"1.82",
189194
"latest"
190195
]
191196
},
@@ -197,6 +202,7 @@
197202
"1.20",
198203
"1.21",
199204
"1.22",
205+
"1.23",
200206
"latest"
201207
]
202208
}

readthedocs/templates/projects/import_config.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ <h3>{% trans "Add a project configuration file" %}</h3>
2929

3030
# Set the OS, Python version and other tools you might need
3131
build:
32-
os: ubuntu-22.04
32+
os: ubuntu-24.04
3333
tools:
34-
python: "3.12"
34+
python: "3.13"
3535
# You can also specify other tool versions:
36-
# nodejs: "19"
37-
# rust: "1.64"
38-
# golang: "1.19"
36+
# nodejs: "23"
37+
# rust: "1.82"
38+
# golang: "1.23"
3939

4040
# Build documentation in the "docs/" directory with Sphinx
4141
sphinx:

0 commit comments

Comments
 (0)