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
Check if temp_dir is subdir of virtualenv, to prevent problem of runtime virtualenv (#58084)
If temp_dir is a subdirectory of current virtualenv root, it will cause
copying files recursively and not finishing when ray try to create
runtime virtualenv.
## Description
If temp_dir is a subdirectory of current virtualenv root, when we submit
a task, and specify pip dependencies, ray will create a runtime
virtualenv, cause copying directories recursively, and runtime
virtualenv directory explosion.
---------
Signed-off-by: ideal <[email protected]>
0 commit comments