Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 551
infra: add python 3.14 support#3299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
1a2a1f36a80ad7dd1b67cb50e909518974e4e320591e34152f43c6a5bd1d1443cf28e8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3029,14 +3029,22 @@ def pyarrow_table_with_promoted_types(pyarrow_schema_with_promoted_types: "pa.Sc | ||
| ) | ||
| def pytest_configure(config: pytest.Config) -> None: | ||
| # Disable Ray's automatic uv environment propagation to workers. | ||
| # When tests are invoked via `uv run`, Ray detects the wrapper and tries | ||
| # to package the working directory for remote workers, which is unnecessary | ||
| # and problematic in local single-node test mode | ||
| # See https://docs.ray.io/en/latest/_modules/ray/_private/worker.html | ||
| os.environ["RAY_ENABLE_UV_RUN_RUNTIME_ENV"] = "0" | ||
afeldman1 marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| @pytest.fixture(scope="session") | ||
| def ray_session() -> Generator[Any, None, None]: | ||
| """Fixture to manage Ray initialization and shutdown for tests.""" | ||
| import ray | ||
| ray.init( | ||
| ignore_reinit_error=True, | ||
| runtime_env={"working_dir": None}, # Prevent Ray from serializing the working directory to workers | ||
afeldman1 marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| ) | ||
| yield ray | ||
| ray.shutdown() | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.