Django 5.2 project (config/, apps/accounts with a custom User and case-insensitive usernames, apps/lottery with the run_worker command, apps/web with a placeholder home and /health/live, apps/ops), SQLite in WAL with IMMEDIATE transactions, secrets and hosts from the environment. The compose stack is now web + worker + caddy and serves https://localhost; the old FastAPI service is out of the stack until roadmap D1. The three old infrastructure tests follow the new Dockerfile and compose. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
37 lines
758 B
TOML
37 lines
758 B
TOML
[project]
|
|
name = "plm-lottery"
|
|
version = "0.1.0"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.32",
|
|
"sqlalchemy[asyncio]>=2.0",
|
|
"aiosqlite>=0.20",
|
|
"alembic>=1.13",
|
|
"pydantic-settings>=2.6",
|
|
"argon2-cffi>=23.1",
|
|
"pyjwt>=2.7",
|
|
"cryptography>=43.0",
|
|
"embit>=0.7",
|
|
"qrcode[pil]>=7.4",
|
|
"Django>=5.2,<5.3",
|
|
"gunicorn>=23",
|
|
"whitenoise>=6.7",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3",
|
|
"pytest-asyncio>=0.24",
|
|
"httpx>=0.27",
|
|
"pytest-django>=4.9",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
DJANGO_SETTINGS_MODULE = "config.settings_test"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*", "config*", "apps*"]
|