Open sanderegg opened 1 year ago
@sanderegg add progress list of packages/services
Quoting @sanderegg .
So the current idea is to remove ALL the SQLAlchemy2.0 warnings from the tests (I do hope this should remove >90% of the problems since we do not have full coverage maybe some stuff could slip by)
@sanderegg @pcrespov should we maybe do this upgrade for the next sprint? like we did for mypy?
@sanderegg @pcrespov should we maybe do this upgrade for the next sprint? like we did for mypy?
I would do this together with https://github.com/ITISFoundation/osparc-simcore/issues/4529. BTW I started creating the infrastructure e.g. to test with asyncpg in https://github.com/ITISFoundation/osparc-simcore/pull/6281
@pcrespov @GitHK @giancarloromeo @matusdrobuliak66 I would first wait for pydantic v2 migration.
and install sqlalchemy like so: _base.in
sqlalchemy[postgresql_asyncpg]
_test.insqlalchemy[postgresql_asyncpg, mypy]
Includes async features through asyncpg engine.
Here the sqlaclhemy 2.0 migration guide: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html
TIPs: