From e82bf3a37f12190f12efe540f51fe40735c479fc Mon Sep 17 00:00:00 2001 From: Max Buchholz Date: Thu, 13 Mar 2025 09:11:02 +0100 Subject: [PATCH 1/2] Pin sqlalchemy to major version 1 in setup.py If the package is installed from pip, the newest version is installed. As this is SQLAlchemy v2, which does not work yet, the script doesn't work either. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 396e0a4..5716291 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ install_requires = [ 'geoalchemy2', - 'sqlalchemy', + 'sqlalchemy>=1.3.22', ] setup( From 3401f824bed06f0682c0839b659a92008490c57e Mon Sep 17 00:00:00 2001 From: Max Buchholz Date: Thu, 13 Mar 2025 09:13:40 +0100 Subject: [PATCH 2/2] Pin to exact version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5716291..279f0f5 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ install_requires = [ 'geoalchemy2', - 'sqlalchemy>=1.3.22', + 'sqlalchemy==1.3.22', ] setup(