Skip to content

fix(install): bind pip to selected Python interpreter - #50

Merged
ShuhaoZhangTony merged 1 commit into
mainfrom
codex/issue-22-interpreter-bound-pip
Jul 30, 2026
Merged

fix(install): bind pip to selected Python interpreter#50
ShuhaoZhangTony merged 1 commit into
mainfrom
codex/issue-22-interpreter-bound-pip

Conversation

@ShuhaoZhangTony

@ShuhaoZhangTony ShuhaoZhangTony commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • select one Python interpreter at startup through PYTHON_BIN (default: python)
  • run every installation through that interpreter's -m pip
  • report sys.executable and the bound pip in normal/doctor diagnostics
  • update installation documentation and CI, with regression guardrails against bare pip install

Validation

  • bash -n quickstart.sh
  • PYTHON_BIN=/usr/bin/python3.11 ./quickstart.sh --doctor
  • python3 -m pytest -q tests/test_install_interpreter_guardrails.py tests/test_boundary_dependency_audit.py tests/test_runtime_cleanup_guardrails.py
  • result: 13 passed

Closes #22.

@ShuhaoZhangTony
ShuhaoZhangTony force-pushed the codex/issue-22-interpreter-bound-pip branch from 73ba715 to 8861f27 Compare July 30, 2026 10:31
@ShuhaoZhangTony
ShuhaoZhangTony merged commit f374ff1 into main Jul 30, 2026
3 checks passed
@ShuhaoZhangTony
ShuhaoZhangTony deleted the codex/issue-22-interpreter-bound-pip branch July 30, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(install): enforce interpreter-bound pip usage

1 participant