v0.4.4
Hot-fix over v0.4.3. The PATH-propagation logic added in v0.4.3 used
Path(sys.executable).resolve().parent to find the venv bin/ where pip
puts the e2er-data entry-point shim. On macOS framework venvs this is
wrong — bin/python in the venv is a symlink to the underlying
Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python,
and .resolve() follows it, so .parent lands in
.../Python.framework/Versions/3.12/bin/ — which does not contain the
venv's entry-point shims. Live test on run 3f921299 confirmed
e2er-data was still command not found even though the shim existed
at /tmp/<venv>/bin/e2er-data.
Lane C — Data
- Use
sysconfig.get_path("scripts")instead ofPath(sys.executable).resolve().parent.
sysconfig.get_path("scripts")is the canonical Python API for the
current-install entry-point dir and returns the venv's ownbin/on
Linux, macOS framework venvs, and Windows alike. Verified: on the same
venv where.resolve().parentreturned the framework Python's bin,
sysconfig.get_path("scripts")returns the venv's bin and the
e2er-datashim exists there.