From 663167359693331941a0a510a17a88c70185a310 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 30 Mar 2023 21:26:07 +0200 Subject: Migrate to SQLAlchemy 2.0 This needs very few changes: - Use declarative_base from sqlalchemy.orm instead of ext [1] - Enable the future flag on both engine and session [1] https://docs.sqlalchemy.org/en/20/errors.html#error-b8d9 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 32d4a35..e2a8c0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ [tool.poetry.dependencies] python = "^3.8" -SQLAlchemy = "^1.4.0" +SQLAlchemy = "^2.0.0" python-dateutil = "^2.8.2" [tool.poetry.scripts] -- cgit v1.2.3-2-gb3c3