Skip to content

Commit

Permalink
roachtest: test with sqlalchemy 2.0
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
rafiss committed Feb 9, 2023
1 parent c10f9d7 commit d48d5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/roachtest/tests/sqlalchemy.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
var sqlAlchemyResultRegex = regexp.MustCompile(`^(?P<test>test.*::.*::[^ \[\]]*(?:\[.*])?) (?P<result>\w+)\s+\[.+]$`)
var sqlAlchemyReleaseTagRegex = regexp.MustCompile(`^rel_(?P<major>\d+)_(?P<minor>\d+)_(?P<point>\d+)$`)

var supportedSQLAlchemyTag = "1.4.46"
var supportedSQLAlchemyTag = "2.0.2"

// This test runs the SQLAlchemy dialect test suite against a single Cockroach
// node.
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit d48d5a3

Please sign in to comment.