-
-
Notifications
You must be signed in to change notification settings - Fork 11k
BLD: distutils does not gracefully handle separate Windows Drive Paths #12530
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
Comments
We could change that to |
This is unfortunate, we should have merged @mattip's PR in one form of another. I'll see if scipy/scipy#11990 fixes the SciPy issues, and if so will submit the same fix here - much better than continuing with the Azure config file. |
Should we just revive that PR and simply risk exchanging a known issue with only a hypothetical issue due to the inability to test things perfectly? |
I think the |
But yes, +1 for not requiring test perfection. |
just revisiting this, can we do something like : sphinx-doc/sphinx#4807 where we just use path if os.path.relpath doesn't work, or does it have certain implications with absolute paths being used for certain compilers as @mattip mentions here : #16107 (comment) . |
I revived the older PR in a new gh-16308. I think the fix should remain straight-forward to smoke out possible problems; if we hit a snag we can always do the |
Building NumPy from source on a Windows path that starts from a different drive letter from the library paths causes a traceback as shown below. One might generally assume this is a bad idea, but it is the exact scenario currently present for Windows images on Azure (I use the
-n
flag toruntests.py
to circumvent this, but this may prevent the junit xml file from containing build info, which may be causing one of the two Windows warnings observed there at the moment; the other warning I've patched in my fork already).The text was updated successfully, but these errors were encountered: