Skip to content

Commit 1ccc22e

Browse files
[Doc] Add setuptools dependency for building docs (ray-project#46375)
This PR: - Adds a _temporary_ `setuptools>=70.0.0` dependency for building the docs to make `sphinxcontrib-redoc` usable on Python 3.12. This is not intended to be a long term solution, so ray-project#46374 has been made to track the follow-up work. - Remove unused environment variable in the buildkite job that builds docs - Bump the os version and python version used to build the docs on RTD Signed-off-by: pdmurray <[email protected]>
1 parent acf792e commit 1ccc22e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.buildkite/build.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ steps:
4545
key: doc_build
4646
instance_type: medium
4747
commands:
48-
- FAST=True make -C doc/ html
48+
- make -C doc/ html
4949
depends_on: docbuild
5050
job_env: docbuild
5151

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-24.04
1111
tools:
12-
python: "3.11"
12+
python: "3.12"
1313

1414
# Build documentation in the docs/ directory with Sphinx
1515
sphinx:

doc/requirements-doc.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Production requirements. This is what readthedocs.com picks up
22

3+
# Required to build the docs on 3.12 due to pkg_resources deprecation
4+
setuptools>=70.0.0
5+
36
# Syntax highlighting
47
Pygments==2.16.1
58

0 commit comments

Comments
 (0)