-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows path length issues #192
Comments
Simple solution: Tell pytest to xfail that test if run locally on Windows.
Won't work. I remember the issue was with Doxygen itself, not in the Python scripts. Without a workaround the issue would need to be fixed upstream. |
Ok good points, thanks! I think local xfail + a quick check in Exhale could also choose different test directory names / paths to stage tests in. That sounds like a long term wish list item with the brief "fix it for local devs" being the priority. |
Using a temp directory should work. Those are usually not nested too deeply. Using |
In other cases, one can also give a reason with xfail: @pytest.mark.xfail(sys.platform == "win32", reason="Paths my be too long for Windows.") |
See discussion in #175. Windows users struggle.
Might be able to add a check in for developers that checks if they are on windows and if so look at where they have cloned and make sure it is not too long (encourage them to clone to
C:\dev
or something).Or I guess use the magic
\\?\
shenangians? (Don't want to go down that road again, exhale can handle longer paths than sphinx, I'm not the full bottleneck).I do generally treat this as a "not my problem" aka blame windows issue. While it is also true that this prevents windows users from contributing as easily. Some kind of balance should be found.
The text was updated successfully, but these errors were encountered: