Check, audit, and update Python dependencies
Check, audit, and update Python dependencies.
uvpyproject.tomluv.lock# Check installed versions
uv pip list
# Check outdated packages
uv pip list --outdated
# Sync dependencies
uv sync
uv sync --extra dev
# Add dependency
uv add <package>
uv add --dev <package>
uv add "<package>>=1.0,<2.0"
# Remove dependency
uv remove <package>
# Update lock file
uv lock
# Update specific package
uv lock --upgrade-package <package> && uv sync
# Update all
uv lock --upgrade && uv sync
uv pip list to show installed packagesuv pip list --outdated to show outdated packagesuv pip list --outdated)uv lock --upgrade-package <name> && uv syncuv lock --upgrade && uv syncuv run pytest to verify nothing brokeuv add <package> or uv add --dev <package>pyproject.tomluv run pytest to verify compatibilityuv remove <package>uv run pytest to verifyuv pip list to get all packagespip-audit if available)torch is very large (~2GB). Updates should be deliberate.litellm updates frequently and may introduce breaking changes.sentence-transformers must remain compatible with the project's embedding model.neo4j driver version must match the server version (currently 5-community).uv.lock should be committed after dependency changes.torch or sentence-transformers without explicit user consentuv sync fails, check Python version compatibility (requires >=3.13)