refactor: consolidate logging to shared aitbc-core package and upgrade database dependencies

- Upgrade SQLAlchemy to 2.0.47 with asyncio extras in blockchain-node and coordinator-api
- Add asyncpg >=0.29.0 for PostgreSQL async support
- Remove uvloop as optional dependency, make it required >=0.22.0
- Delete duplicate logger.py from blockchain-node (117 lines)
- Refactor coordinator-api logging to use shared aitbc.logging from aitbc-core package
- Add aitbc-core package dependency to coordinator
This commit is contained in:
oib
2026-02-28 21:09:14 +01:00
parent d072acb468
commit f6ee77f497
23 changed files with 6179 additions and 553 deletions

View File

@@ -12,7 +12,7 @@ python = "^3.13"
fastapi = "^0.111.0"
uvicorn = { extras = ["standard"], version = "^0.30.0" }
sqlmodel = "^0.0.16"
sqlalchemy = "^2.0.30"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.47"}
alembic = "^1.13.1"
aiosqlite = "^0.20.0"
websockets = "^12.0"
@@ -21,9 +21,10 @@ pydantic-settings = "^2.2.1"
orjson = "^3.10.0"
python-dotenv = "^1.0.1"
httpx = "^0.27.0"
uvloop = { version = "^0.19.0", optional = true }
uvloop = ">=0.22.0"
rich = "^13.7.1"
cryptography = "^42.0.5"
asyncpg = ">=0.29.0"
[tool.poetry.extras]
uvloop = ["uvloop"]