Issue 36768: distutils.util.convert_path mangles windows paths with forward slashes (original) (raw)
Issue36768
Created on 2019-05-01 14:01 by LordAro, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg341197 - (view) | Author: Charles P (LordAro) * | Date: 2019-05-01 14:01 |
https://github.com/python/cpython/blob/master/Lib/distutils/util.py#L106-L131 Due to the split('/') and os.path.join(), this function converts an absolute path of the form "C:/foobar" into a relative "C:foobar", which is likely to be entirely different Usecase: pip install --prefix=/home/charles/python foobar within an MSYS2 terminal automagically converts the path to C:/Users/charles/python for some reason or another, but it's not exactly uncommon for users to use forward slashes on Windows regardless I'm not entirely sure what the correct fix would be here, or even if it should be fixed at a higher level - in setuptools or pip | ||
msg386292 - (view) | Author: Steve Dower (steve.dower) * ![]() |
Date: 2021-02-03 18:11 |
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:14 | admin | set | github: 80949 |
2021-02-03 18:11:00 | steve.dower | set | status: open -> closednosy: + steve.dowermessages: + resolution: out of datestage: resolved |
2019-05-01 14:01:56 | LordAro | create |