Jason R. Coombs <jar...@jaraco.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com