We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd1b67c commit b50e909Copy full SHA for b50e909
1 file changed
tests/conftest.py
@@ -3032,17 +3032,16 @@ def pyarrow_table_with_promoted_types(pyarrow_schema_with_promoted_types: "pa.Sc
3032
@pytest.fixture(scope="session")
3033
def ray_session() -> Generator[Any, None, None]:
3034
"""Fixture to manage Ray initialization and shutdown for tests."""
3035
- import tempfile
+ import os
3036
3037
import ray
3038
3039
- with tempfile.TemporaryDirectory() as tmpdir:
3040
- ray.init(
3041
- ignore_reinit_error=True,
3042
- runtime_env={"working_dir": tmpdir},
3043
- )
3044
- yield ray
3045
- ray.shutdown()
+ os.environ["RAY_ENABLE_UV_RUN_RUNTIME_ENV"] = "0"
+ ray.init(
+ ignore_reinit_error=True,
+ )
+ yield ray
+ ray.shutdown()
3046
3047
3048
# Catalog fixtures
0 commit comments