[issue46171] venv module produces spurious warning that location has moved

Eryk Sun report at bugs.python.org
Tue Dec 28 23:34:23 EST 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> There are plenty of other ways to get a venv through a potentially 
> unexpected path (turns out I've been doing one for years)

Examples would be appreciated because I'm drawing a blank here. A junction or directory symlink in the parent path shouldn't be a problem. Otherwise I'd prefer that the solution for bpo-45337 was limited to an app container and paths in "%USERPROFILE%\AppData" (excluding "%TEMP%"). An app container can be detected via the package family name, if any, as returned by GetCurrentPackageFamilyName().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46171>
_______________________________________


More information about the Python-bugs-list mailing list