From a3e760ff2d2dc83611031a889805f3c6d99bbf8a Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Thu, 9 Feb 2023 13:39:54 -0500 Subject: [PATCH] roachtest: test with sqlalchemy 2.0 Release note: None --- pkg/cmd/roachtest/tests/sqlalchemy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/roachtest/tests/sqlalchemy.go b/pkg/cmd/roachtest/tests/sqlalchemy.go index 52ba71246c94..8dc6f1646fdc 100644 --- a/pkg/cmd/roachtest/tests/sqlalchemy.go +++ b/pkg/cmd/roachtest/tests/sqlalchemy.go @@ -30,7 +30,7 @@ import ( var sqlAlchemyResultRegex = regexp.MustCompile(`^(?Ptest.*::.*::[^ \[\]]*(?:\[.*])?) (?P\w+)\s+\[.+]$`) var sqlAlchemyReleaseTagRegex = regexp.MustCompile(`^rel_(?P\d+)_(?P\d+)_(?P\d+)$`) -var supportedSQLAlchemyTag = "1.4.46" +var supportedSQLAlchemyTag = "2.0.2" // This test runs the SQLAlchemy dialect test suite against a single Cockroach // node. @@ -96,7 +96,7 @@ func runSQLAlchemy(ctx context.Context, t test.Test, c cluster.Cluster) { if err := repeatRunE(ctx, t, c, node, "install pytest", fmt.Sprintf(` source venv/bin/activate && - pip3 install --upgrade --force-reinstall setuptools pytest==6.0.1 pytest-xdist psycopg2 alembic sqlalchemy==%s`, + pip3 install --upgrade --force-reinstall setuptools pytest==7.2.1 pytest-xdist psycopg2 alembic sqlalchemy==%s`, supportedSQLAlchemyTag)); err != nil { t.Fatal(err) }