ray icon indicating copy to clipboard operation
ray copied to clipboard

[Core] Address MAX_PATH issues on Windows in runtime_env/packaging

Open marosset opened this issue 1 month ago • 1 comments

Description

This PR addresses MAX_PATH issues (file lengths longer than 260 character) on Windows in runtime_env/packaging.py

Prior to these changes, running test_runtime_env_working_dir test could fail with errors like

FileNotFoundError: [WinError 206] The filename or extension is too long: 'C:\Users\marosset\AppData\Local\Temp\pytest-of-marosset\pytest-8\test_working_dir_cleanup0\working_dir_files\https_github_com_shrekris-anyscale_test_module_archive_a885b80879665a49d5cd4c3ebd33bb6f865644e5\test_module-a885b80879665a49d5cd4c3ebd33bb6f865644e5'

Related issues

Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

marosset avatar Dec 04 '25 21:12 marosset

Let me address the ci issues and cursor review comments

marosset avatar Dec 09 '25 20:12 marosset