Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 708ec59

Browse files
committed
Fixed minimum version of sqlalchemy for 1.4 backwards compatibility
1 parent a71e1ee commit 708ec59

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def compliance(session):
369369
session.skip("Compliance tests were not found")
370370

371371
session.install("--pre", "grpcio")
372-
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4,<2.1")
372+
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4.15,<2.1")
373373
session.install(
374374
"mock",
375375
"pytest",
@@ -527,7 +527,7 @@ def prerelease_deps(session):
527527

528528
prerel_deps = [
529529
"protobuf",
530-
"sqlalchemy>=1.4,<2.1",
530+
"sqlalchemy>=1.4.15,<2.1",
531531
# dependency of grpc
532532
"six",
533533
"googleapis-common-protos",

owlbot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
""""protobuf",
9797
# dependency of grpc""",
9898
""""protobuf",
99-
"sqlalchemy>=1.4,<2.1",
99+
"sqlalchemy>=1.4.15,<2.1",
100100
# dependency of grpc""",
101101
)
102102

@@ -120,7 +120,7 @@ def place_before(path, text, *before_text, escape=None):
120120
"noxfile.py",
121121
"SYSTEM_TEST_PYTHON_VERSIONS=",
122122
"",
123-
"# We're using two Python versions to test with sqlalchemy>=1.4",
123+
"# We're using two Python versions to test with sqlalchemy>=1.4.15",
124124
)
125125

126126
place_before(
@@ -167,7 +167,7 @@ def compliance(session):
167167
session.skip("Compliance tests were not found")
168168
169169
session.install("--pre", "grpcio")
170-
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4,<2.1")
170+
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4.15,<2.1")
171171
session.install(
172172
"mock",
173173
"pytest",

samples/snippets/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ requests==2.31.0
2828
rsa==4.9
2929
shapely==2.0.2
3030
six==1.16.0
31-
sqlalchemy===2.0.22
31+
sqlalchemy===1.4.15
3232
typing-extensions==4.9.0
3333
urllib3==2.1.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def readme():
101101
"google-auth>=1.25.0,<3.0.0dev", # Work around pip wack.
102102
"google-cloud-bigquery>=3.3.6,<4.0.0dev",
103103
"packaging",
104-
"sqlalchemy>=1.4,<2.0.23",
104+
"sqlalchemy>=1.4.15,<2.1",
105105
],
106106
extras_require=extras,
107107
python_requires=">=3.8, <3.13",

testing/constraints-3.8.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Pin the version to the lower bound.
55
#
66
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
7-
sqlalchemy==1.4.0
7+
sqlalchemy==1.4.15
88
google-auth==1.25.0
99
google-cloud-bigquery==3.3.6
1010
google-cloud-bigquery-storage==2.0.0

0 commit comments

Comments
 (0)