Skip to content

chore(multiple samples) Update pytest dependencies to solve dependabot security alerts.#14147

Draft
XrossFox wants to merge 2 commits intoGoogleCloudPlatform:mainfrom
XrossFox:python-pytest-dependency-update-1
Draft

chore(multiple samples) Update pytest dependencies to solve dependabot security alerts.#14147
XrossFox wants to merge 2 commits intoGoogleCloudPlatform:mainfrom
XrossFox:python-pytest-dependency-update-1

Conversation

@XrossFox
Copy link
Copy Markdown
Contributor

@XrossFox XrossFox commented May 8, 2026

WIP

Description

Fixes b/511241844

Checklist

@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: auth Issues related to the Google Authentication API labels May 8, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several dependencies, but the review identifies that the specified versions for pytest and google-cloud-storage do not exist on PyPI, which will cause installation failures. Additionally, the reviewer suggests splitting the PR to separate test and production dependency updates to follow the best practice of focusing on a single change per pull request.

@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

The version 9.0.3 for pytest does not exist on PyPI. The current stable version is in the 8.x range. This will cause installation to fail. Please check if this was a typo for a version like 8.3.3.

google-cloud-compute==1.11.0
google-cloud-language==2.15.1
google-cloud-storage==2.9.0
google-cloud-storage==3.10.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

The version 3.10.1 for google-cloud-storage does not exist on PyPI. The current stable version is in the 2.x range. This update will likely cause installation failures. Please check if this was a typo for 2.10.1.

@@ -1,7 +1,7 @@
google-api-python-client==2.131.0
google-api-python-client==2.196.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This PR updates production dependencies in addition to pytest. Per the general rules, PRs should be focused on a single change. Consider splitting these updates or updating the PR title to reflect the broader scope.

References
  1. To simplify the review process, pull requests should be focused on a single change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: auth Issues related to the Google Authentication API samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant