Steve Dower <steve.do...@python.org> added the comment:

Thanks Adam.

This analysis is correct, and I think there are two parts to this.

First, we probably need to add an os.path.realpath(path_to_venv) before we try 
and launch the environment. We *could* limit this to when it's under AppData, 
but I think limiting it to Windows is enough.

Second, if the realpath generated a different path, we should warn the caller. 
That wouldn't have helped in this (programmatic) case, but at least if someone 
is looking at the output they'll get an important hint.

(The docs describing this behaviour are at 
https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes
 )

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45337>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to