-
Notifications
You must be signed in to change notification settings - Fork 479
Support python 3.14 #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
base: main
Are you sure you want to change the base?
Support python 3.14 #3299
Changes from 5 commits
1a2a1f3
6a80ad7
dd1b67c
b50e909
518974e
4e32059
1e34152
f43c6a5
bd1d144
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3036,7 +3036,6 @@ def ray_session() -> Generator[Any, None, None]: | |
|
|
||
| ray.init( | ||
| ignore_reinit_error=True, | ||
| runtime_env={"working_dir": None}, # Prevent Ray from serializing the working directory to workers | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this removed?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, raised an issue for this earlier today: #3318 Thanks for fixing |
||
| ) | ||
| yield ray | ||
| ray.shutdown() | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/ray-project/ray/blob/1c7c90775cc56ced98ef24754e790e2d0d9c732e/python/ray/_private/ray_constants.py#L537-L549
should we set this in the
ray_sessiontest fixture instead?so it works outside of CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually tried that initially, but it cannot be done because the ray uv hook looks at the parent uv run process, including the env vars, at it's import time. So by the time it gets to the
ray_sessiontest fixture and does theray.init(), the new env var is not refreshed to be picked up.I tested using the same commands (
PYTHON=3.14 make test:PYTHON=3.14 RAY_ENABLE_UV_RUN_RUNTIME_ENV=0 make test-integration) that you mentioned, and something to keep in mind for next is that including them in the pr description would be helpful.What we can do is remove this change in python-ci.yml and make the following change instead
https://github.com/apache/iceberg-python/blob/main/Makefile#L118
RAY_ENABLE_UV_RUN_RUNTIME_ENV=0 $(TEST_RUNNER) pytest tests/ -m integration $(PYTEST_ARGS)