fix: add pyenv + workspace tools to PATH in .bashrc#93
Merged
itscooleric merged 2 commits intodevfrom Mar 22, 2026
Merged
Conversation
Docker ENV PATH isn't reliably propagated through gosu → tmux → bash, so pip/pytest/ruff from /opt/pyenv were unavailable in interactive shells despite being installed in the image. Also adds PYTHONPATH entries for workspace Python tools (sdale, clidetext) so they work without pip install — they live on the bind-mounted workspace and stay current across container rebuilds. After this change, interactive shells get: - `pip`, `pytest`, `ruff` from /opt/pyenv/bin - `python3 -m sdale` from /workspace/clide-sdale - `python3 -m clidetext` from /workspace/clidetext Closes #92 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Links to public companion projects: clidesdale (agent VPS access) and clidestable (VPS-side dashboard). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/opt/pyenv/binto PATH in.bashrcsopip,pytest,ruffare available in interactive shells (Docker ENV PATH doesn't survivegosu→tmux→bash)/workspace/clide-sdaleand/workspace/clidetextso sdale and clidetext work withoutpip installWhy
The pyenv venv with pip/pytest/ruff is already installed in the image (Dockerfile line 63-71) but the PATH wasn't making it to interactive shells. Agents had to discover the
PYTHONPATH=workaround or fail silently.Test plan
pip,sdale,clidetextall work after sourcing the updated.bashrcpip --versionworks in a fresh tmux sessionpython3 -m sdale listworks without any setup in a fresh sessionCloses #92
🤖 Generated with Claude Code