@@ -17,7 +17,7 @@ in a Python virtual environment's :file:`pyvenv.cfg` file.
1717
1818Specifically, we will discuss how such relative paths are understood
1919by the Python startup process, including their conversion to absolute
20- paths for use by the runtime.
20+ paths for use by the runtime.
2121This is a fundamental building block for virtual environments to
2222become more portable.
2323
@@ -27,7 +27,7 @@ Motivation
2727There are two main motivations for allowing relative paths in ``pyvenv.cfg ``.
2828
2929First, it is currently prescribed that the ``home `` value in ``pyvenv.cfg `` be
30- an absolute path. The behavior of relative paths is unspecified. While
30+ an absolute path (` gh-135773 `) . The behavior of relative paths is unspecified. While
3131techniques exist to work around this for every other sub-part of a virtual
3232environment, the one remaining part without a tenable solution is how the
3333Python runtime itself finds ``PYTHONHOME ``. This is because, currently, the
@@ -83,7 +83,7 @@ Tools that currently look to enable virtual environment portability across
8383machines do so either by relying on undocumented interpreter behaviour
8484(Bazel, omitting the ``home `` key entirely to trigger an implementation
8585dependent fallback to resolving via a symlinked interpreter binary on
86- non-Windows systems) or by requiring a post-installation script to be executed
86+ non-Windows systems, see ` gh-135773 ` ) or by requiring a post-installation script to be executed
8787after the environment is placed in its target location (venvstacks).
8888
8989Specification
@@ -122,8 +122,8 @@ primitives are there, so the only change needed is to define how it resolves
122122relative paths for ``home `` in ``pyvenv.cfg ``.
123123
124124Currently, relative paths resolve relative to the process's current working
125- directory. Because CWD isn't knowable in advance, it makes relative paths today
126- effectively impossible.
125+ directory. Because the current working directory isn't knowable in advance, it
126+ makes relative paths today effectively impossible.
127127
128128Instead, the paths should be relative to the location of the ``pyvenv.cfg ``
129129file. This file is chosen as the anchor point because the tool that creates the
0 commit comments