We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
build.tools
ubuntu-lts-latest
1 parent cee310d commit 5b092b7Copy full SHA for 5b092b7
readthedocs/doc_builder/director.py
@@ -491,7 +491,12 @@ def install_build_tools(self):
491
# TODO: generate the correct path for the Python version
492
# see https://github.com/readthedocs/readthedocs.org/pull/8447#issuecomment-911562267
493
# tool_path = f'{self.config.build.os}/{tool}/2021-08-30/{full_version}.tar.gz'
494
- tool_path = f"{self.data.config.build.os}-{tool}-{full_version}.tar.gz"
+
495
+ build_os = self.data.config.build.os
496
+ if "lts-latest" in self.data.config.build.os:
497
+ build_os = settings.RTD_DOCKER_BUILD_SETTINGS["os"]["ubuntu-lts-latest"]
498
499
+ tool_path = f"{build_os}-{tool}-{full_version}.tar.gz"
500
tool_version_cached = build_tools_storage.exists(tool_path)
501
if tool_version_cached:
502
remote_fd = build_tools_storage.open(tool_path, mode="rb")
0 commit comments