From 912b615b6d8d0ff11451c247fb65e9a293b06490 Mon Sep 17 00:00:00 2001 From: Lingqing Gan Date: Tue, 21 Jan 2025 09:55:13 -0800 Subject: [PATCH] test: use main branch of python-bigquery and python-bigquery-storage for pre-release tests (#857) --- noxfile.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 461b761c..cf3405af 100644 --- a/noxfile.py +++ b/noxfile.py @@ -324,8 +324,6 @@ def prerelease(session): "--pre", "--upgrade", "google-api-core", - "google-cloud-bigquery", - "google-cloud-bigquery-storage", "google-cloud-core", "google-resumable-media", # Exclude version 1.49.0rc1 which has a known issue. See https://github.com/grpc/grpc/pull/30642 @@ -344,6 +342,14 @@ def prerelease(session): "pytest-cov", ) + # Install python-bigquery and python-bigquery-storage from main to detect + # any potential breaking changes. For context, see: + # https://github.com/googleapis/python-bigquery-pandas/issues/854 + session.install( + "https://github.com/googleapis/python-bigquery/archive/main.zip", + "https://github.com/googleapis/python-bigquery-storage/archive/main.zip", + ) + # Because we test minimum dependency versions on the minimum Python # version, the first version we test with in the unit tests sessions has a # constraints file containing all dependencies and extras.