Upgrade sqlalchemy

`sqlalchemy` v2.1 uses `psycopg` v3 as the default PostgreSQL driver.

So, we replace `psycopg2` with `psycopg`,
using its binary wheel that bundles `libpq`,
so CI no longer needs `libpq-dev` from `apt`.
This commit is contained in:
Alexander Hess 2026-11-25 13:56:12 +01:00
commit 0e2b8f75f8
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -38,9 +38,9 @@ dependencies = [
"matplotlib>=3.3.3",
"ordered-set>=4.0.2,<5",
"pandas>=1.1.0",
"psycopg2>=2.8.5,<3", # Adapter for PostgreSQL
"psycopg[binary]>=3.2", # Adapter for PostgreSQL
"rpy2>=3.4.1,<4",
"sqlalchemy>=1.3.18,<2.1",
"sqlalchemy>=1.3.18",
"statsmodels>=0.12.1,<0.15",
"utm>=0.7.0,<0.9",
]