Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-python3
python-3.9.10-mingw-workaround.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-3.9.10-mingw-workaround.patch of Package mingw64-python3
diff -ur a/Python-3.9.10/Lib/test/support/__init__.py Python-3.9.10/Lib/test/support/__init__.py --- a/Python-3.9.10/Lib/test/support/__init__.py 2022-01-13 22:21:23.000000000 +0100 +++ b/Python-3.9.10/Lib/test/support/__init__.py 2022-10-21 10:18:50.152866773 +0200 @@ -776,6 +776,13 @@ FS_NONASCII = character break +# temporary workaround for mingw for +# ...\build\lib\python3.9\os.py", line 225, in makedirs +# mkdir(name, mode) +# FileNotFoundError: [WinError 2] File not found: +if sys.platform == 'nt': + FS_NONASCII = '' + # TESTFN_UNICODE is a non-ascii filename TESTFN_UNICODE = TESTFN_ASCII + "-\xe0\xf2\u0258\u0141\u011f" if sys.platform == 'darwin':
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor