[issue39469] Support for relative home path in pyvenv.cfg

2020-02-04 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Jeff Edwards
Jeff Edwards added the comment: Interesting, I hadn’t realized that it would embed the FQ Executable path, but that does make sense overall. I guess I had always planned on fixing the ‘bin’ directory anyway afterwards, it’s just that the lack of relative home made it significantly harder to enc

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Eryk Sun
Eryk Sun added the comment: > Suffice to say, is there a significant reason to not allow it? It's poorly supported by packaging. In particular, relocating an environment isn't supported with entry-point scripts, which pip installs with a fully-qualified shebang. Moreover, entry-point scripts

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: > Suffice to say, is there a significant reason to not allow it? We have to support that use-case forever. ;) In all seriousness, relative paths get tricky when you forget to resolve the path as appropriate (and in a way that people expect) and it requires mak

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Jeff Edwards
Jeff Edwards added the comment: I would say they’re not designed to be, but the also aren’t designed to not be portable. This is often useful where open network access isn’t reasonable, so access to Pip/pipx/pipenv is limited at best. Suffice to say, is there a significant reason to not allow

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: Do note that virtual environments are not designed to be portable in general, so this would be a fundamental change in the design and purpose of virtual environments. -- nosy: +brett.cannon, vinay.sajip ___ Python t

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-27 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +17592 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18213 ___ Python tracker ___ __

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-27 Thread Jeff Edwards
New submission from Jeff Edwards : Currently, the interpreter only supports absolute paths for the 'home' directory in the pyvenv.cfg file. While this works when the interpreter is always installed at a fixed location, it impacts the portability of virtual environments and can make it notabl