Skip to content

Commit 000c4e7

Browse files
committed
Support SQL Alchemy 2.1
1 parent a22fde8 commit 000c4e7

11 files changed

Lines changed: 541 additions & 24 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
os: ['ubuntu-22.04']
2323
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
2424
cratedb-version: ['nightly']
25-
sqla-version: ['<1.4', '<1.5', '<2.1']
25+
sqla-version: ['<1.4', '<1.5', '<2.1', '<2.2']
2626
pip-allow-prerelease: ['false']
2727

2828
exclude:
@@ -34,6 +34,12 @@ jobs:
3434
- python-version: '3.14'
3535
sqla-version: '<1.4'
3636

37+
# SQLAlchemy 2.1 requires Python 3.9+.
38+
- python-version: '3.7'
39+
sqla-version: '<2.2'
40+
- python-version: '3.8'
41+
sqla-version: '<2.2'
42+
3743
# Another CI test matrix slot to test against prerelease versions of Python packages.
3844
include:
3945
- os: 'ubuntu-latest'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ dependencies = [
8787
"geojson>=2.5,<4",
8888
"importlib-metadata; python_version<'3.8'",
8989
"importlib-resources; python_version<'3.9'",
90-
"sqlalchemy>=1,<2.1",
90+
"sqlalchemy>=1,<2.2",
9191
"verlib2<0.4",
9292
]
9393
optional-dependencies.all = [

0 commit comments

Comments
 (0)