Message369637
It seems the underlying reason the behavior fails is the (intended) difference resolving the empty path to a realpath when a symlink points to another volume. The failing routine invokes realpath early (https://github.com/pypa/setuptools_scm/blob/d7c122e14c9eaca96574dec0ea530ad7204965a9/src/setuptools_scm/file_finder.py#L19).
```
path master # pwd
C:\Users\jaraco\code\main\path
path master # py -3.7 -c "import os; print(os.path.realpath(''))"
C:\Users\jaraco\code\main\path
path master # py -3.8 -c "import os; print(os.path.realpath(''))"
\\vmware-host\Shared Folders\home\code\main\path
```
But that doesn't explain why this issue would not have been triggered on non-Windows systems. |
|
Date |
User |
Action |
Args |
2020-05-22 20:11:53 | jaraco | set | recipients:
+ jaraco, paul.moore, tim.golden, zach.ware, eryksun, steve.dower |
2020-05-22 20:11:53 | jaraco | set | messageid: <1590178313.17.0.643909984111.issue40732@roundup.psfhosted.org> |
2020-05-22 20:11:53 | jaraco | link | issue40732 messages |
2020-05-22 20:11:53 | jaraco | create | |
|