Skip to content

Commit 3cf28e8

Browse files
Document RAY_ENABLE_UV_RUN_RUNTIME_ENV flag
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
1 parent bd1d144 commit 3cf28e8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,6 +3030,11 @@ def pyarrow_table_with_promoted_types(pyarrow_schema_with_promoted_types: "pa.Sc
30303030

30313031

30323032
def pytest_configure(config: pytest.Config) -> None:
3033+
# Disable Ray's automatic uv environment propagation to workers.
3034+
# When tests are invoked via `uv run`, Ray detects the wrapper and tries
3035+
# to package the working directory for remote workers, which is unnecessary
3036+
# and problematic in local single-node test mode
3037+
# See https://docs.ray.io/en/latest/_modules/ray/_private/worker.html
30333038
os.environ["RAY_ENABLE_UV_RUN_RUNTIME_ENV"] = "0"
30343039

30353040

0 commit comments

Comments
 (0)