Skip to content

Commit a50fcfd

Browse files
tswastabdelmegahedgoogle
authored andcommitted
test: exclude geopandas from snippets-3.10 session (googleapis#1044)
1 parent 5bdc3c7 commit a50fcfd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

noxfile.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,11 @@ def snippets(session):
186186
session.install("google-cloud-storage", "-c", constraints_path)
187187
session.install("grpcio", "-c", constraints_path)
188188

189-
session.install("-e", ".[all]", "-c", constraints_path)
189+
if session.python == "3.10":
190+
extras = "[bqstorage,pandas,tqdm,opentelemetry]"
191+
else:
192+
extras = "[all]"
193+
session.install("-e", f".{extras}", "-c", constraints_path)
190194

191195
# Run py.test against the snippets tests.
192196
# Skip tests in samples/snippets, as those are run in a different session

0 commit comments

Comments
 (0)