CI / Build and push docker image (push) Successful in 1m43s
kaya 0.0.5 surfaces a vanished websocket peer as kaya.core.WebSocketDisconnect instead of leaking granian's RSGIProtocolClosed: receive() reports a close message so iteration ends normally, sends raise the new exception, and KayaApp.handle_websocket swallows it as normal termination. Adopt it: drop the granian-specific workaround from the platform websocket handler, catch WebSocketDisconnect in the send helper, and model the new semantics in the abrupt-disconnect test (with coverage that a send on a vanished peer is ignored). Regenerate the lock: the eight kaya pins move to 0.0.5 (declared metadata is unchanged) and pip-compile also bumps PyJWT to 2.15.1, a security release with no breaking changes for kaya-oidc's jwt.decode usage. tavolo-platform now floors kaya-core>=0.0.5 (it imports WebSocketDisconnect) and tavolo-app floors kaya-otel>=0.0.5.
51 lines
1007 B
TOML
51 lines
1007 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "tavolo-app"
|
|
version = "0.1.0"
|
|
description = "Tavolo multiplayer card-game application: platform + scopone game wiring"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"tavolo-platform",
|
|
"tavolo-scopone",
|
|
"kaya-core",
|
|
"kaya-cors",
|
|
"kaya-session",
|
|
"kaya-session-redis",
|
|
"kaya-oidc",
|
|
"kaya-openapi",
|
|
"kaya-rsgi",
|
|
"granian>=2.0",
|
|
"asyncpg",
|
|
"aerich",
|
|
"httpx",
|
|
"PyJWT[crypto]",
|
|
"pwo",
|
|
"PyYAML",
|
|
"redis",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"mypy",
|
|
"httpx-ws",
|
|
]
|
|
otel = [
|
|
"kaya-otel>=0.0.5",
|
|
"opentelemetry-instrumentation-asyncpg>=0.66b0",
|
|
"opentelemetry-instrumentation-redis>=0.66b0",
|
|
"opentelemetry-instrumentation-system-metrics>=0.66b0",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
namespaces = true
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
ignore_missing_imports = true
|
|
plugins = []
|