analytics.py imports duckdb at the top level. The Dockerfile runs `uv sync --package padelnomics` which only installs padelnomics deps — duckdb was missing, so hypercorn failed to import padelnomics.app entirely and never bound to port 5000. The health check timed out and the container was marked unhealthy. Tests passed because uv sync in CI syncs all workspace members (including transform/ which has duckdb). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
589 B
TOML
27 lines
589 B
TOML
[project]
|
|
name = "padelnomics"
|
|
version = "0.1.0"
|
|
description = "Plan, finance, and build your padel business"
|
|
readme = "../README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"quart>=0.19.0",
|
|
"aiosqlite>=0.19.0",
|
|
"python-dotenv>=1.0.0",
|
|
"itsdangerous>=2.1.0",
|
|
"jinja2>=3.1.0",
|
|
"hypercorn>=0.17.0",
|
|
"paddle-python-sdk>=1.13.0",
|
|
"mistune>=3.0.0",
|
|
"resend>=2.22.0",
|
|
"weasyprint>=68.1",
|
|
"duckdb>=1.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/padelnomics"]
|