From f6f1bd34968578ae00d0fb31e0ed6b4dfd90bd17 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 21 Dec 2022 02:09:22 +0100 Subject: [PATCH] SA20: Add SQLAlchemy 2.x to CI build matrix Currently, this is 2.0.0rc1. --- .github/workflows/codeql.yml | 2 +- .github/workflows/tests.yml | 2 +- bootstrap.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a3958325..918f143a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,7 +30,7 @@ jobs: fail-fast: false matrix: language: [ python ] - sqla-version: ['1.3.24', '1.4.45'] + sqla-version: ['1.3.24', '1.4.45', '2.0.0rc1'] steps: - name: Checkout diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6641daf1..8ced30d0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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.1.2'] - sqla-version: ['1.3.24', '1.4.45'] + sqla-version: ['1.3.24', '1.4.45', '2.0.0rc1'] # To save resources, only use the most recent Python version on macOS. exclude: - os: 'macos-latest' diff --git a/bootstrap.sh b/bootstrap.sh index 613373a1..53cf453e 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -70,7 +70,7 @@ function setup_package() { if [ "${SQLALCHEMY_VERSION}" = "latest" ]; then pip install "sqlalchemy" --upgrade else - pip install "sqlalchemy==${SQLALCHEMY_VERSION}" + pip install "sqlalchemy==${SQLALCHEMY_VERSION}" --pre fi fi