PyPy3 Windows Long path support
pypy3 --version
Python 3.6.9 (d38cd66c14b8, Sep 23 2020, 08:02:17)
[PyPy 7.3.2 with MSC v.1927 32 bit]
pypy3 -c "import os; a='C:\\tmp\\' + '\\a' * 150; print(len(a)); os.makedirs(a)"
307
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\extra\pypy3.6\pypy3.6-v7.3.2-win32\lib-python\3\os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "C:\extra\pypy3.6\pypy3.6-v7.3.2-win32\lib-python\3\os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "C:\extra\pypy3.6\pypy3.6-v7.3.2-win32\lib-python\3\os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
[Previous line repeated 20 more times]
File "C:\extra\pypy3.6\pypy3.6-v7.3.2-win32\lib-python\3\os.py", line 220, in makedirs
mkdir(name, mode)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\tmp\\\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a\\a'
Discovered part of the virtualenv test suite https://github.com/pypa/virtualenv/runs/1596390627?check_suite_focus=true
This works on CPython. Long paths have been enabled as per https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation.
Seems this issue was exposed because of https://github.com/pypa/setuptools/issues/2505
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information