-
Always use
uvfor Python env management, installs, and execution — never usepipdirectly.- Install/resolve deps:
uv sync - Run server (manual):
cd backend && uv run uvicorn app:app --reload --port 8000 - Run tests:
uv run pytest -q - Add deps:
uv add <pkg>(or editpyproject.tomlthenuv sync) - Do not run
pip installorpython -m pipin this project.
- Install/resolve deps:
-
The run script already uses
uv:./run.shstarts the API viauv run uvicorn …
-
If a virtualenv appears broken, prefer
rm -rf .venv && uv syncover pip. -
make sure to use uv to manage all dependencies
-
use uv to run python files