Skip to content

Commit 71a7f0a

Browse files
committed
SA20: Update to SQLAlchemy 2.0.0
1 parent dfcdd0f commit 71a7f0a

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
language: [ python ]
33-
sqla-version: ['1.3.24', '1.4.46', '2.0.0b4']
33+
sqla-version: ['1.3.24', '1.4.46', '2.0.0']
3434

3535
steps:
3636
- name: Checkout

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
os: ['ubuntu-latest', 'macos-latest']
2323
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2424
cratedb-version: ['5.2.0']
25-
sqla-version: ['1.3.24', '1.4.46', '2.0.0b4']
25+
sqla-version: ['1.3.24', '1.4.46', '2.0.0']
2626
# To save resources, only use the most recent Python version on macOS.
2727
exclude:
2828
- os: 'macos-latest'

CHANGES.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ Changes for crate
55
Unreleased
66
==========
77

8-
- Add deprecation warning about dropping support for SQLAlchemy 1.3 soon, it is
8+
- Added deprecation warning about dropping support for SQLAlchemy 1.3 soon, it is
99
effectively EOL.
1010

11+
- Added support for SQLAlchemy 2.0.
12+
1113

1214
2022/12/08 0.29.0
1315
=================

bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function setup_package() {
7070
if [ "${SQLALCHEMY_VERSION}" = "latest" ]; then
7171
pip install "sqlalchemy" --upgrade
7272
else
73-
pip install "sqlalchemy==${SQLALCHEMY_VERSION}" --pre
73+
pip install "sqlalchemy==${SQLALCHEMY_VERSION}"
7474
fi
7575
fi
7676

src/crate/client/sqlalchemy/sa_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
SA_VERSION = V(sa.__version__)
2626

2727
SA_1_4 = V('1.4.0b1')
28-
SA_2_0 = V('2.0.0b1')
28+
SA_2_0 = V('2.0.0')

0 commit comments

Comments
 (0)