Repository navigation
[deps] Update py3.14 dependencies and generate python lock files - #64495
elliot-barn wants to merge 8 commits into
Conversation
Carve the dependency layer out of the py3.14 release-testing branch: raydepsets configs, all python/deplocks lock files, requirements (incl. requirements_compiled_py3.13/3.14), the vllm/nixl setup.py extras, the pip-tools bump used to compile them, and the torch-requirements list. Signed-off-by: elliot-barn <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request introduces support for Python 3.14 across the Ray build and CI infrastructure. It updates dependency configurations, setup scripts, and lockfiles to target Python 3.14, including upgrading pytest to 8.3.3, numpy to 2.3.3, and urllib3 to 2.0.7. It also handles Python 3.14 compatibility workarounds, such as pinning vllm to 0.22.0 on Python 3.14 (due to flashinfer/cuda-tile wheel conflicts) and excluding TensorFlow-related packages since TensorFlow cp314 wheels are not yet available. There are no review comments to address, and I have no feedback to provide.
ray-llm is not built for py3.14 (see stacked images PR), so remove the py3.14 LLM dependency additions from this PR: - Delete the 10 new py3.14 LLM lock files (python/deplocks/llm/*_py314_* and ray-llm-base_extra_testdeps_py3.14.lock). - Revert rayllm.depsets.yaml, llm_release_tests.depsets.yaml, ci/test_compile_llm_requirements.sh, python/requirements/llm/llm-requirements.txt and python/setup.py (vllm 0.22.0 split + nixl-cu13) to master. - Drop the py314_cu130 build_arg_set usage from ray_base_extra_testdeps_llm_cuda in rayimg.depsets.yaml (it also referenced a non-existent requirements_llm_byod_3.14.txt). Non-LLM py3.14 deps are unchanged, including the ray_base_deps_tpu py314 addition in rayimg.depsets.yaml. Signed-off-by: elliot-barn <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Add py3.14 to the image-build matrices and bump the cu130 base/llm/torch images from py3.12 to py3.14. Covers the buildkite image pipelines (_images, build, linux_aarch64, release/build), the wanda/Dockerfile image specs (ray-llm, ray-torch, min, torch-anyscale-cuda), the ray_torch_cuda release-image mapping, wheel py3.14 support, and the ray-images.json manifest. Stacked on the py3.14 dependencies PR (#64495). Signed-off-by: elliot-barn <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b6fe277. Configure here.
| - --index https://download.pytorch.org/whl/${CUDA_CODE} | ||
| - --unsafe-package ray | ||
| - --python-version=${PYTHON_VERSION} | ||
| - --python-platform=linux |
There was a problem hiding this comment.
Ray torch depset missing constraints
Medium Severity
The new ray_torch_* expand depset pulls in ray_img_depset_* but, unlike ray_base_extra_testdeps_*, it does not pass requirements_compiled_py${PYTHON_VERSION}.txt (or the ray_img lock) as compile constraints. The resulting ray-torch-cu128_base_py3.14.lock therefore pins different versions of shared packages (e.g. adlfs, aiohappyeyeballs, certifi) than ray_base_deps_py3.14.lock, breaking the cross-lock consistency raydepsets is meant to enforce for layered images.
Reviewed by Cursor Bugbot for commit b6fe277. Configure here.
Add py3.14 to the image-build matrices and bump the cu130 base/llm/torch images from py3.12 to py3.14. Covers the buildkite image pipelines (_images, build, linux_aarch64, release/build), the wanda/Dockerfile image specs (ray-llm, ray-torch, min, torch-anyscale-cuda), the ray_torch_cuda release-image mapping, wheel py3.14 support, and the ray-images.json manifest. Stacked on the py3.14 dependencies PR (#64495). Signed-off-by: elliot-barn <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: elliot-barn <[email protected]>
Ports the py3.14-specific changes from #64495 onto current master. ## What this does - Enables the `py314` build arg for the **TPU base-deps** depset in `rayimg.depsets.yaml` and adds the generated `ray_base_deps_tpu_py3.14.lock`. - Refreshes the py3.14 lock files (`base_deps`, `base_extra`, `base_extra_testdeps`, `base_slim`, `ray_img`) via `raydepsets`. - Bumps the py3.14 compiled constraints: numpy 2.3.3, urllib3 2.0.7, numba 0.65.0, llvmlite 0.47.0, cupy-cuda12x 14.0.1, pytest 8.3.3. All lock files were regenerated with `raydepsets` (not hand-copied) and come out byte-identical to #64495. ## Deliberately excluded - The **ray-torch image** changes from #64495 (out of scope here). - The py313 requirements changes — those directories have been unified/removed on master. - The **cu130 py3.14** image lock: master intentionally excludes py3.14 from the cu130 relax block (`cupy-cuda13x` has no cp314 wheel and no cu130 target uses py3.14). - Non-py314 changes (the `pip-tools` bump in `ci.sh`, base `requirements.txt`, cloud/serve requirements, and the `ci/*_py3.10/py3.12` locks). --------- Signed-off-by: elliot-barn <[email protected]>
…ject#64750) Ports the py3.14-specific changes from ray-project#64495 onto current master. ## What this does - Enables the `py314` build arg for the **TPU base-deps** depset in `rayimg.depsets.yaml` and adds the generated `ray_base_deps_tpu_py3.14.lock`. - Refreshes the py3.14 lock files (`base_deps`, `base_extra`, `base_extra_testdeps`, `base_slim`, `ray_img`) via `raydepsets`. - Bumps the py3.14 compiled constraints: numpy 2.3.3, urllib3 2.0.7, numba 0.65.0, llvmlite 0.47.0, cupy-cuda12x 14.0.1, pytest 8.3.3. All lock files were regenerated with `raydepsets` (not hand-copied) and come out byte-identical to ray-project#64495. ## Deliberately excluded - The **ray-torch image** changes from ray-project#64495 (out of scope here). - The py313 requirements changes — those directories have been unified/removed on master. - The **cu130 py3.14** image lock: master intentionally excludes py3.14 from the cu130 relax block (`cupy-cuda13x` has no cp314 wheel and no cu130 target uses py3.14). - Non-py314 changes (the `pip-tools` bump in `ci.sh`, base `requirements.txt`, cloud/serve requirements, and the `ci/*_py3.10/py3.12` locks). --------- Signed-off-by: elliot-barn <[email protected]> Signed-off-by: 400Ping <[email protected]>


Description
Carves the dependency layer out of #63270 (
py3.14-release-testing) so the dependency updates can land independently of the release-test / image / runtime changes.Applied as a 3-way merge of #63270's dependency diff onto current
master, preserving master's recent changes (e.g. theray-haproxy2.8.25 bump) and layering the py3.14 additions on top.What's included (60 files)
rayimg,ray_torch.depsets.yamlpython/deplocks/**— new py3.14 base/ci/ray_img locks, updated py3.10/3.12 CI locks, ray-torch cu128requirements.txt,requirements_compiled_py3.13.txt,requirements_compiled_py3.14.txt,requirements/ml/py313/*, serve/cloudci/ci.sh(pip-tools 7.4.1→7.5.3),docker/ray-torch/torch-requirements.txt