Skip to content

Conversation

@elliot-barn
Copy link
Contributor

@elliot-barn elliot-barn commented Oct 21, 2025

creating a depset for doc builds
Pinning pydantic==2.50 for doc requirements due to api_policy_check failing due to dependencies (failure below)
Installing ray without deps

Failure due to dependencies: https://buildkite.com/ray-project/premerge/builds/52231#019a04a9-e9f8-4151-b5e5-d4bceb48a3cc

Successful api_policy_check run on this PR: https://buildkite.com/ray-project/microcheck/builds/29312#019a05b8-ef40-4449-9ca2-6dd9d8e790a7

elliot-barn and others added 20 commits October 17, 2025 00:31
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn elliot-barn requested a review from aslonnie October 21, 2025 15:51
@elliot-barn elliot-barn marked this pull request as ready for review October 21, 2025 15:51
@elliot-barn elliot-barn requested review from a team as code owners October 21, 2025 15:51
@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Oct 21, 2025
@elliot-barn elliot-barn changed the title [deps][ci] updating pydantic doc ver [deps][ci] Creating depset for docs & updating pydantic doc ver Oct 21, 2025
cursor[bot]

This comment was marked as outdated.

Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work! this will make doc building a bit more stable!

some comments on small things.


COPY . .

RUN mv python/deplocks/docs/docbuild_depset_py${PYTHON}.lock python_depset.lock
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need to make the move here? why not just do the pip install directly with the file name down at line 29?

it is a little bit confusing on where the python_depset.lock file comes from if just reading line 29.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this follows the pattern we use for byod. All images will eventually install python dependencies from python_depset.lock

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to just install the lock file directly

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this is a CI base file, it is different from the release test byod images.

fi
}

_install_ray_no_deps() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you changed the only two places that were using _install_ray to run _install_ray_no_deps, maybe just remove the _install_ray function?

job_env: manylinux
depends_on: manylinux

- label: ":tapioca: build: raydepsets: compile doc dependencies"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should think about merging some of those into one single test job. those are rather fast checks, they do not justify the overhead of spinning up separate test job instances.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me

cp /mnt/ray-dashboard/dashboard.tar.gz /opt/ray-build/dashboard.tar.gz

pip install -r doc/requirements-doc.txt
pip install -r python_depset.lock
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you check if readthedocs is also using the lock file? let's make sure that it is consistent with how CI builds the doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@aslonnie aslonnie self-requested a review October 21, 2025 19:03
@ray-gardener ray-gardener bot added docs An issue or change related to documentation core Issues that should be addressed in Ray Core devprod labels Oct 21, 2025
python:
install:
- requirements: doc/requirements-doc.txt
- requirements: python/deplocks/docs/docbuild_depset_py3.12.lock
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful!

@aslonnie aslonnie merged commit e51f803 into master Oct 21, 2025
6 checks passed
@aslonnie aslonnie deleted the elliot-barn/updating-pydantic-doc-ver branch October 21, 2025 21:59
elliot-barn added a commit that referenced this pull request Oct 23, 2025
creating a depset for doc builds
Pinning pydantic==2.50 for doc requirements due to api_policy_check
failing due to dependencies (failure below)
Installing ray without deps

Failure due to dependencies:
https://buildkite.com/ray-project/premerge/builds/52231#019a04a9-e9f8-4151-b5e5-d4bceb48a3cc

Successful api_policy_check run on this PR:
https://buildkite.com/ray-project/microcheck/builds/29312#019a05b8-ef40-4449-9ca2-6dd9d8e790a7

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Lonnie Liu <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…project#57947)

creating a depset for doc builds
Pinning pydantic==2.50 for doc requirements due to api_policy_check
failing due to dependencies (failure below)
Installing ray without deps

Failure due to dependencies:
https://buildkite.com/ray-project/premerge/builds/52231#019a04a9-e9f8-4151-b5e5-d4bceb48a3cc

Successful api_policy_check run on this PR:
https://buildkite.com/ray-project/microcheck/builds/29312#019a05b8-ef40-4449-9ca2-6dd9d8e790a7

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Lonnie Liu <[email protected]>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…project#57947)

creating a depset for doc builds
Pinning pydantic==2.50 for doc requirements due to api_policy_check
failing due to dependencies (failure below)
Installing ray without deps

Failure due to dependencies:
https://buildkite.com/ray-project/premerge/builds/52231#019a04a9-e9f8-4151-b5e5-d4bceb48a3cc

Successful api_policy_check run on this PR:
https://buildkite.com/ray-project/microcheck/builds/29312#019a05b8-ef40-4449-9ca2-6dd9d8e790a7

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Lonnie Liu <[email protected]>
Signed-off-by: Aydin Abiar <[email protected]>
Future-Outlier pushed a commit to Future-Outlier/ray that referenced this pull request Dec 7, 2025
…project#57947)

creating a depset for doc builds
Pinning pydantic==2.50 for doc requirements due to api_policy_check
failing due to dependencies (failure below)
Installing ray without deps

Failure due to dependencies:
https://buildkite.com/ray-project/premerge/builds/52231#019a04a9-e9f8-4151-b5e5-d4bceb48a3cc

Successful api_policy_check run on this PR:
https://buildkite.com/ray-project/microcheck/builds/29312#019a05b8-ef40-4449-9ca2-6dd9d8e790a7

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Lonnie Liu <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core devprod docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants