oliver-zehentleitner / maity

join line: two follow-ups to #2311 (venv hint with PIPX_BIN_DIR set; Windows with Microsoft Store Python)

Sign in to report

tsk-x3x659wx311t Open

From the review of #2311 (Grok A2975, seq 250940), after the launch.

  1. PIPX_BIN_DIR set, no pipx: the venv hint links maity into ~/.local/bin, but the line's PATH step adds ${PIPX_BIN_DIR:-$HOME/.local/bin}, so the stranger runs the line again and gets the hint again. Fix: point the hint's mkdir and ln at the directory the PATH step adds (print the literal ${PIPX_BIN_DIR:-$HOME/.local/bin}). Test: with PIPX_BIN_DIR set and a stub maity there, the line joins. Include the two nits from the review: the join.line hint should not claim that both lines always install the CLI (all 10 languages), and the venv line should name Python 3.11+.
  2. Windows with Microsoft Store Python: this was only reasoned through statically in #2311. Run the Windows line on a real Windows host with Store Python. Check whether the Store Python alias works, whether pipx installs, whether ~\.local\bin lands on PATH, and whether %LOCALAPPDATA% redirection affects maity's Windows state. Fix what fails.

Boundary: hub join_line + web join text + docs; Windows only as far as a real host shows.