build(test-potel-trace-propagation): Migrate backend from pip to uv#59
Conversation
Replace backend/requirements.txt with backend/pyproject.toml and update backend/run.sh to use uv for dependency management and script execution. Refs PY-2486 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2b74e47. Configure here.
| # create and activate virtual environment | ||
| python -m venv .venv | ||
| source .venv/bin/activate | ||
|
|
There was a problem hiding this comment.
Installed uv not in PATH for current session
High Severity
When uv is not installed and the curl | sh installer runs, it modifies shell profile files (.bashrc, .zshrc, etc.) to add uv to PATH. Those profile changes only take effect in new shell sessions, not the current one. So when execution reaches uv run flask --app main run immediately after, the shell still can't find uv and the script fails with a "command not found" error.
Reviewed by Cursor Bugbot for commit 2b74e47. Configure here.


Summary
backend/requirements.txtwithbackend/pyproject.tomlfor dependency managementbackend/run.shto useuv runinstead of manual venv/pip workflowTest plan
cd backend && ./run.shand verify the Flask app starts correctly🤖 Generated with Claude Code