Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/desktopapp/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-testutils==1.6.4
pytest==8.4.2
google-cloud-testutils==1.7.0
pytest==9.0.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Updating pytest to version 9.0.2 is a major upgrade. Pytest 9.0 removed several features that were deprecated in version 8. If the tests for these samples rely on any of those removed features, they will fail. To prevent test failures, it would be safer to either update the tests to be compatible with Pytest 9, or to pin pytest to the latest 8.x version.

mock==5.2.0
pytest-xdist==3.8.0
4 changes: 2 additions & 2 deletions samples/desktopapp/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-bigquery==3.38.0
google-auth-oauthlib==1.2.2
google-cloud-bigquery==3.40.1
google-auth-oauthlib==1.3.0
2 changes: 1 addition & 1 deletion samples/geography/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.4.2
pytest==9.0.2
mock==5.2.0
pytest-xdist==3.8.0
42 changes: 21 additions & 21 deletions samples/geography/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
attrs==25.4.0
certifi==2025.10.5
certifi==2026.2.25
cffi==2.0.0
charset-normalizer==3.4.3
charset-normalizer==3.4.5
click===8.1.8; python_version == '3.9'
click==8.3.0; python_version >= '3.10'
click==8.3.1; python_version >= '3.10'
click-plugins==1.1.1.2
cligj==0.7.2
db-dtypes==1.4.3
db-dtypes==1.5.0
Fiona==1.10.1
geojson==3.2.0
geopandas===1.0.1; python_version <= '3.9'
geopandas==1.1.2; python_version >= '3.10'
google-api-core==2.25.2
google-auth==2.41.1
google-cloud-bigquery==3.38.0
google-cloud-bigquery-storage==2.33.1
google-cloud-core==2.4.3
google-crc32c==1.7.1
google-resumable-media==2.7.2
googleapis-common-protos==1.70.0
grpcio==1.75.1
idna==3.10
google-api-core==2.30.0
google-auth==2.48.0
google-cloud-bigquery==3.40.1
google-cloud-bigquery-storage==2.36.2
google-cloud-core==2.5.0
google-crc32c==1.8.0
google-resumable-media==2.8.0
googleapis-common-protos==1.72.0
grpcio==1.78.0
idna==3.11
munch==4.0.0
mypy-extensions==1.1.0
packaging==25.0
pandas==2.3.3
proto-plus==1.26.1
pyarrow==21.0.0
packaging==26.0
pandas==3.0.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Updating pandas to version 3.0.1 is a major upgrade that includes potentially breaking changes. For example, Pandas 3.0 changes some defaults and promotes PyArrow usage. Since this PR doesn't include any code changes to adapt to the new version, there's a risk of the sample code breaking for users. A safer approach would be to either add any necessary code adjustments for Pandas 3.0, or to restrict the update to the latest 2.x version for now.

proto-plus==1.27.1
pyarrow==23.0.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The update of pyarrow from version 21.0.0 to 23.0.1 spans multiple major versions and likely includes breaking changes. This could cause the sample to fail for users. Consider either adapting the code for pyarrow 23.0.1 or pinning to a less distant version to mitigate this risk.

pyasn1==0.6.2
pyasn1-modules==0.4.2
pycparser==2.23
pyparsing==3.2.5
pycparser==3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The major version update of pycparser from 2.23 to 3.0 may be incompatible with cffi==2.0.0, which is not updated in this PR. This could cause runtime errors. A safer approach would be to update cffi to a version known to be compatible with pycparser 3.0, or to hold off on the pycparser major version upgrade.

pyparsing==3.3.2
python-dateutil==2.9.0.post0
pytz==2025.2
pytz==2026.1.post1
PyYAML==6.0.3
requests==2.32.5
rsa==4.9.1
Expand Down
4 changes: 2 additions & 2 deletions samples/magics/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-testutils==1.6.4
pytest==8.4.2
google-cloud-testutils==1.7.0
pytest==9.0.2
mock==5.2.0
pytest-xdist==3.8.0
10 changes: 5 additions & 5 deletions samples/magics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bigquery_magics==0.10.3
db-dtypes==1.4.3
google.cloud.bigquery==3.38.0
google-cloud-bigquery-storage==2.33.1
bigquery_magics==0.12.1
db-dtypes==1.5.0
google.cloud.bigquery==3.40.1
google-cloud-bigquery-storage==2.36.2
ipython===8.18.1
pandas==2.3.3
pandas==3.0.1
4 changes: 2 additions & 2 deletions samples/notebooks/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-testutils==1.6.4
pytest==8.4.2
google-cloud-testutils==1.7.0
pytest==9.0.2
mock==5.2.0
pytest-xdist==3.8.0
14 changes: 7 additions & 7 deletions samples/notebooks/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
bigquery-magics==0.10.3
db-dtypes==1.4.3
google-cloud-bigquery==3.38.0
google-cloud-bigquery-storage==2.33.1
bigquery-magics==0.12.1
db-dtypes==1.5.0
google-cloud-bigquery==3.40.1
google-cloud-bigquery-storage==2.36.2
ipython===8.18.1; python_version == '3.9'
ipython==9.6.0; python_version >= '3.10'
ipython==9.11.0; python_version >= '3.10'
matplotlib===3.9.2; python_version == '3.9'
matplotlib==3.10.6; python_version >= '3.10'
pandas==2.3.3
matplotlib==3.10.8; python_version >= '3.10'
pandas==3.0.1
4 changes: 2 additions & 2 deletions samples/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# samples/snippets should be runnable with no "extras"
google-cloud-testutils==1.6.4
pytest==8.4.2
google-cloud-testutils==1.7.0
pytest==9.0.2
mock==5.2.0
pytest-xdist==3.8.0
2 changes: 1 addition & 1 deletion samples/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# samples/snippets should be runnable with no "extras"
google-cloud-bigquery==3.38.0
google-cloud-bigquery==3.40.1