From 0edfcaa8a6cddf3cff753530b1a755281130cfff Mon Sep 17 00:00:00 2001 From: pdmurray Date: Mon, 1 Jul 2024 23:26:12 -0700 Subject: [PATCH] [Doc] Add setuptools dependency for building docs Signed-off-by: pdmurray --- .buildkite/build.rayci.yml | 2 +- .readthedocs.yaml | 4 ++-- doc/requirements-doc.txt | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.buildkite/build.rayci.yml b/.buildkite/build.rayci.yml index 03dada331066..c2d4a7441126 100644 --- a/.buildkite/build.rayci.yml +++ b/.buildkite/build.rayci.yml @@ -45,7 +45,7 @@ steps: key: doc_build instance_type: medium commands: - - FAST=True make -C doc/ html + - make -C doc/ html depends_on: docbuild job_env: docbuild diff --git a/.readthedocs.yaml b/.readthedocs.yaml index fb0bdb55d3d8..bacb44b5f58d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,9 +7,9 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.11" + python: "3.12" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/doc/requirements-doc.txt b/doc/requirements-doc.txt index 5c71cba7c6de..febbdefcbabb 100644 --- a/doc/requirements-doc.txt +++ b/doc/requirements-doc.txt @@ -1,5 +1,8 @@ # Production requirements. This is what readthedocs.com picks up +# Required to build the docs on 3.12 due to pkg_resources deprecation +setuptools>=70.0.0 + # Syntax highlighting Pygments==2.16.1