Skip to content

Commit 6d22e9e

Browse files
authored
[deps] removing strip extras from raydepsets (#58438)
Removing unnecessary --strip-extras flag from raydepsets (only updates depset lock file headers): [--strip-extras](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--no-strip-extras) Include extras in the output file. By default, uv strips extras, as any packages pulled in by the extras are already included as dependencies in the output file directly. Further, output files generated with --no-strip-extras cannot be used as constraints files in install and sync invocations. --------- Signed-off-by: elliot-barn <[email protected]>
1 parent 59dd271 commit 6d22e9e

30 files changed

+29
-30
lines changed

ci/raydepsets/cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
DEFAULT_UV_FLAGS = """
1919
--generate-hashes
20-
--strip-extras
2120
--unsafe-package setuptools
2221
--index-url https://pypi.org/simple
2322
--index-strategy unsafe-best-match

python/deplocks/docs/docbuild_depset_py3.10.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.10 --python-platform=linux --unsafe-package ray doc/requirements-doc.txt -o python/deplocks/docs/docbuild_depset_py3.10.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.10 --python-platform=linux --unsafe-package ray doc/requirements-doc.txt -o python/deplocks/docs/docbuild_depset_py3.10.lock
33
--index-url https://pypi.org/simple
44

55
accessible-pygments==0.0.5 \

python/deplocks/docs/docbuild_depset_py3.12.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.12 --python-platform=linux --unsafe-package ray doc/requirements-doc.txt -o python/deplocks/docs/docbuild_depset_py3.12.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.12 --python-platform=linux --unsafe-package ray doc/requirements-doc.txt -o python/deplocks/docs/docbuild_depset_py3.12.lock
33
--index-url https://pypi.org/simple
44

55
accessible-pygments==0.0.5 \

python/deplocks/docs/docbuild_depset_py3.9.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.9 --python-platform=linux --unsafe-package ray doc/requirements-doc.txt -o python/deplocks/docs/docbuild_depset_py3.9.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.9 --python-platform=linux --unsafe-package ray doc/requirements-doc.txt -o python/deplocks/docs/docbuild_depset_py3.9.lock
33
--index-url https://pypi.org/simple
44

55
accessible-pygments==0.0.5 \

python/deplocks/llm/ray_py311_cpu.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cpu -c python/deplocks/llm/ray_test_py311_cpu.lock python/requirements.txt -o python/deplocks/llm/ray_py311_cpu.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cpu -c python/deplocks/llm/ray_test_py311_cpu.lock python/requirements.txt -o python/deplocks/llm/ray_py311_cpu.lock
33
--index-url https://pypi.org/simple
44
--extra-index-url https://download.pytorch.org/whl/cpu
55

python/deplocks/llm/ray_py311_cu128.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cu128 -c python/deplocks/llm/ray_test_py311_cu128.lock python/requirements.txt -o python/deplocks/llm/ray_py311_cu128.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cu128 -c python/deplocks/llm/ray_test_py311_cu128.lock python/requirements.txt -o python/deplocks/llm/ray_py311_cu128.lock
33
--index-url https://pypi.org/simple
44
--extra-index-url https://download.pytorch.org/whl/cu128
55

python/deplocks/llm/ray_test_py311_cpu.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cpu -c /tmp/ray-deps/requirements_compiled.txt python/requirements.txt python/requirements/base-test-requirements.txt python/requirements/cloud-requirements.txt -o python/deplocks/llm/ray_test_py311_cpu.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cpu -c /tmp/ray-deps/requirements_compiled.txt python/requirements.txt python/requirements/base-test-requirements.txt python/requirements/cloud-requirements.txt -o python/deplocks/llm/ray_test_py311_cpu.lock
33
--index-url https://pypi.org/simple
44
--extra-index-url https://download.pytorch.org/whl/cpu
55

python/deplocks/llm/ray_test_py311_cu128.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cu128 -c /tmp/ray-deps/requirements_compiled.txt python/requirements.txt python/requirements/base-test-requirements.txt python/requirements/cloud-requirements.txt -o python/deplocks/llm/ray_test_py311_cu128.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cu128 -c /tmp/ray-deps/requirements_compiled.txt python/requirements.txt python/requirements/base-test-requirements.txt python/requirements/cloud-requirements.txt -o python/deplocks/llm/ray_test_py311_cu128.lock
33
--index-url https://pypi.org/simple
44
--extra-index-url https://download.pytorch.org/whl/cu128
55

python/deplocks/llm/rayllm_py311_cpu.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cpu -c python/deplocks/llm/rayllm_test_py311_cpu.lock python/requirements.txt python/requirements/llm/llm-requirements.txt -o python/deplocks/llm/rayllm_py311_cpu.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cpu -c python/deplocks/llm/rayllm_test_py311_cpu.lock python/requirements.txt python/requirements/llm/llm-requirements.txt -o python/deplocks/llm/rayllm_py311_cpu.lock
33
--index-url https://pypi.org/simple
44
--extra-index-url https://download.pytorch.org/whl/cpu
55

python/deplocks/llm/rayllm_py311_cu128.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --strip-extras --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cu128 -c python/deplocks/llm/rayllm_test_py311_cu128.lock python/requirements.txt python/requirements/llm/llm-requirements.txt -o python/deplocks/llm/rayllm_py311_cu128.lock
2+
# uv pip compile --generate-hashes --unsafe-package setuptools --index-url https://pypi.org/simple --index-strategy unsafe-best-match --no-strip-markers --emit-index-url --emit-find-links --python-version=3.11 --unsafe-package ray --python-platform=linux --extra-index-url https://download.pytorch.org/whl/cu128 -c python/deplocks/llm/rayllm_test_py311_cu128.lock python/requirements.txt python/requirements/llm/llm-requirements.txt -o python/deplocks/llm/rayllm_py311_cu128.lock
33
--index-url https://pypi.org/simple
44
--extra-index-url https://download.pytorch.org/whl/cu128
55

0 commit comments

Comments
 (0)