Skip to content

Commit

Permalink
SA20: Update to SQLAlchemy 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 30, 2023
1 parent dfcdd0f commit 71a7f0a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fail-fast: false
matrix:
language: [ python ]
sqla-version: ['1.3.24', '1.4.46', '2.0.0b4']
sqla-version: ['1.3.24', '1.4.46', '2.0.0']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
os: ['ubuntu-latest', 'macos-latest']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
cratedb-version: ['5.2.0']
sqla-version: ['1.3.24', '1.4.46', '2.0.0b4']
sqla-version: ['1.3.24', '1.4.46', '2.0.0']
# To save resources, only use the most recent Python version on macOS.
exclude:
- os: 'macos-latest'
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ Changes for crate
Unreleased
==========

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

- Added support for SQLAlchemy 2.0.


2022/12/08 0.29.0
=================
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function setup_package() {
if [ "${SQLALCHEMY_VERSION}" = "latest" ]; then
pip install "sqlalchemy" --upgrade
else
pip install "sqlalchemy==${SQLALCHEMY_VERSION}" --pre
pip install "sqlalchemy==${SQLALCHEMY_VERSION}"
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion src/crate/client/sqlalchemy/sa_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
SA_VERSION = V(sa.__version__)

SA_1_4 = V('1.4.0b1')
SA_2_0 = V('2.0.0b1')
SA_2_0 = V('2.0.0')

0 comments on commit 71a7f0a

Please sign in to comment.