fix(async): convert PoA proposer methods to async and update coordinator dependencies

- Convert _propose_block, _ensure_genesis_block to async methods in PoAProposer
- Add await to gossip_broker.publish calls in block broadcasting
- Add await to _ensure_genesis_block and _propose_block method calls
- Update coordinator-api Python version constraint to >=3.13,<3.15
- Add torch ^2.10.0 dependency to coordinator-api
- Add make_asgi_app import to prometheus_client in main.py
- Export new routers: global
This commit is contained in:
oib
2026-03-03 15:32:05 +01:00
parent cabbd2d9b7
commit 14d0ed3b44
16 changed files with 829 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ packages = [
]
[tool.poetry.dependencies]
python = "^3.13"
python = ">=3.13,<3.15"
fastapi = "^0.111.0"
uvicorn = { extras = ["standard"], version = "^0.30.0" }
pydantic = ">=2.7.0"
@@ -26,6 +26,7 @@ aitbc-crypto = {path = "../../packages/py/aitbc-crypto"}
asyncpg = ">=0.29.0"
aitbc-core = {path = "../../packages/py/aitbc-core"}
numpy = "^2.4.2"
torch = "^2.10.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"