Skip to content

Commit 5c8ccc7

Browse files
committed
SA20: Add SQLAlchemy 2.x to CI build matrix
Currently, this is 2.0.0b4.
1 parent 91c1e26 commit 5c8ccc7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
os: [ubuntu-latest, macos-latest]
2323
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2424
cratedb-version: ['5.1.2']
25-
sqla-version: ['1.3.24', '1.4.45']
26-
fail-fast: true
25+
sqla-version: ['1.3.24', '1.4.45', 'next']
26+
fail-fast: false
2727
env:
2828
CRATEDB_VERSION: ${{ matrix.cratedb-version }}
2929
SQLALCHEMY_VERSION: ${{ matrix.sqla-version }}

bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function before_setup() {
6363
function setup_package() {
6464

6565
# Install package in editable mode.
66-
pip install --editable='.[sqlalchemy,test,doc]'
66+
pip install --editable='.[sqlalchemy,test,doc]' --pre
6767

6868
}
6969

devtools/setup_ci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ function main() {
2121
# Install designated SQLAlchemy version.
2222
if [ ${SQLALCHEMY_VERSION} = "latest" ]; then
2323
pip install "sqlalchemy" --upgrade
24+
elif [ ${SQLALCHEMY_VERSION} = "next" ]; then
25+
pip install "sqlalchemy" --upgrade --pre
2426
else
2527
pip install "sqlalchemy==${SQLALCHEMY_VERSION}"
2628
fi

0 commit comments

Comments
 (0)