- Add httpx>=0.28.0 to services/bff/pyproject.toml for the planned TMDB movie search proxy (M4.3). - Add grpcio-health-checking>=1.83.1 to services/worker/pyproject.toml for Worker gRPC health probing (M3.4/M5.3), updating uv.lock via uv lock. - Copy sibling workspace manifests (pyproject.toml, README.md) in services/worker/Dockerfile and services/bff/Dockerfile so uv sync --frozen --no-dev resolves the monorepo lockfile. - Set ENV DATABASE_URL="sqlite+aiosqlite:////data/magnetflix.sqlite3" in services/worker/Dockerfile to match docs/deployment.md when run standalone. - Update CLAUDE.md and flake.nix shellHook to use uv sync --all-packages so syncing does not uninstall workspace member packages. - Update Makefile generate target to invoke buf directly when already inside nix develop.
29 lines
588 B
TOML
29 lines
588 B
TOML
[project]
|
|
name = "magnetflix-bff"
|
|
version = "0.1.0"
|
|
description = "FastAPI Backend-for-Frontend and Web Gateway for MagNetFlix"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"grpcio>=1.83.1",
|
|
"httpx>=0.28.0",
|
|
"jinja2>=3.1.4",
|
|
"protobuf>=7.36.1",
|
|
"pydantic>=2.10.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"magnetflix-contracts",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.12.5,<0.13.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.uv.build-backend]
|
|
module-name = "bff"
|
|
module-root = "src"
|
|
|
|
[tool.uv.sources]
|
|
magnetflix-contracts = { workspace = true }
|
|
|