Skip to content

Isolate Python deps with uv-managed venv - #3

Merged
modimihir07 merged 3 commits into
modimihir07:mainfrom
J-eremy:feature/venv
Aug 11, 2026
Merged

Isolate Python deps with uv-managed venv#3
modimihir07 merged 3 commits into
modimihir07:mainfrom
J-eremy:feature/venv

Conversation

@J-eremy

@J-eremy J-eremy commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

What

Replaces global pip3 install with an isolated Python environment managed by uv.

Why

Running pip3 install -r requirements.txt pollutes the system Python. This makes the project self-contained — nothing installs outside the project folder.

Changes

  • install.sh: Downloads uv to bin/, creates .venv/ via uv venv --python 3.12, installs deps with uv pip install
  • start.sh: Uses .venv/bin/python3 directly, syncs deps via bin/uv
  • .gitignore: Added .venv/ and bin/
  • README.md: Updated prerequisites table to reflect uv auto-install
  • scheduler/scheduler.py: Fixed stale pip install error message

Result

bin/        ← uv binary (gitignored)
.venv/      ← Python venv with all deps (gitignored)

System Python is untouched. The dashboard works with any subset of installed agents.

J-eremy added 3 commits August 6, 2026 05:16
- install.sh: downloads uv to bin/, creates .venv/ via uv venv, installs deps
- start.sh: uses .venv/bin/python3 directly, syncs deps via bin/uv
- .gitignore: added .venv/ and bin/
- Removes global pip3 usage, all Python deps stay project-local
- README: prerequisites table now notes uv auto-installs Python deps
- scheduler.py: error message points to ./install.sh instead of pip install
- start.sh: removed stderr suppression on pip fallback so errors are visible
@modimihir07
modimihir07 merged commit eeb6cc4 into modimihir07:main Aug 11, 2026
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.

2 participants