You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[core] Update sys.path to ensure that import lib works, thereby fixing test_job_isolation (#51765)
This PR fixes#51738.
I found that `sys.path` is different when we run `test_job.py` with
`pytest` and `bazel test //python/ray/tests:test_job` in CI runners (at
least the one for Python 3.12).
For the bazel command, `tmpdir/v1` is not in `sys.path`, so `import lib`
fails.
---------
Signed-off-by: kaihsun <[email protected]>
0 commit comments