You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config file: add support for latest aliases (#11081)
* Config file: add support for latest aliases
- Closes#8861
- Closes#10912
Ref readthedocs/meta#140
* User variables to make it shorter
* Update OS
* Updates from review
* Rename ubuntu-latest-lts to ubuntu-lts-latest
* Add alias for ruby
The ``ubuntu-lts-latest`` option refers to the latest Ubuntu LTS version of Ubuntu available on Read the Docs,
283
+
which may not match the latest Ubuntu LTS officially released.
284
+
285
+
.. warning::
286
+
287
+
Using ``ubuntu-lts-latest`` may break your builds unexpectedly if your project isn't compatible with the newest Ubuntu LTS version when it's updated by Read the Docs.
288
+
280
289
build.tools
281
290
```````````
282
291
@@ -286,6 +295,16 @@ Version specifiers for each tool. It must contain at least one tool.
Each tool has a ``latest`` option available, which refers to the latest version available on Read the Docs,
301
+
which may not match the latest version officially released.
302
+
Versions and the ``latest`` option are updated at least once every six months to keep up with the latest releases.
303
+
304
+
.. warning::
305
+
306
+
Using ``latest`` may break your builds unexpectedly if your project isn't compatible with the newest version of the tool when it's updated by Read the Docs.
307
+
289
308
build.tools.python
290
309
``````````````````
291
310
@@ -301,17 +320,20 @@ You can use several interpreters and versions, from CPython, Miniconda, and Mamb
301
320
:Type: ``string``
302
321
:Options:
303
322
- ``2.7``
304
-
- ``3`` (last stable CPython version)
323
+
- ``3`` (alias for the latest 3.x version available on Read the Docs)
305
324
- ``3.6``
306
325
- ``3.7``
307
326
- ``3.8``
308
327
- ``3.9``
309
328
- ``3.10``
310
329
- ``3.11``
311
330
- ``3.12``
331
+
- ``latest`` (alias for the latest version available on Read the Docs)
312
332
- ``miniconda3-4.7``
333
+
- ``miniconda-latest`` (alias for the latest version available on Read the Docs)
313
334
- ``mambaforge-4.10``
314
335
- ``mambaforge-22.9``
336
+
- ``mambaforge-latest`` (alias for the latest version available on Read the Docs)
315
337
316
338
build.tools.nodejs
317
339
``````````````````
@@ -325,6 +347,7 @@ Node.js version to use.
325
347
- ``18``
326
348
- ``19``
327
349
- ``20``
350
+
- ``latest`` (alias for the latest version available on Read the Docs)
328
351
329
352
build.tools.ruby
330
353
````````````````
@@ -334,6 +357,7 @@ Ruby version to use.
334
357
:Type: ``string``
335
358
:Options:
336
359
- ``3.3``
360
+
- ``latest`` (alias for the latest version available on Read the Docs)
337
361
338
362
build.tools.rust
339
363
````````````````
@@ -346,6 +370,8 @@ Rust version to use.
346
370
- ``1.61``
347
371
- ``1.64``
348
372
- ``1.70``
373
+
- ``1.75``
374
+
- ``latest`` (alias for the latest version available on Read the Docs)
349
375
350
376
build.tools.golang
351
377
``````````````````
@@ -358,6 +384,8 @@ Go version to use.
358
384
- ``1.18``
359
385
- ``1.19``
360
386
- ``1.20``
387
+
- ``1.21``
388
+
- ``latest`` (alias for the latest version available on Read the Docs)
0 commit comments