Skip to content

v0.4.4

Choose a tag to compare

@github-actions github-actions released this 19 May 09:35
· 134 commits to dev since this release
c0499b9

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 of Path(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 own bin/ on
    Linux, macOS framework venvs, and Windows alike. Verified: on the same
    venv where .resolve().parent returned the framework Python's bin,
    sysconfig.get_path("scripts") returns the venv's bin and the
    e2er-data shim exists there.