Skip to content

chore(several samples) Updating all instances of Pytest up to version 9.0.3 Part I #14230

Draft
XrossFox wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
XrossFox:python-pytest-dependency-update-I
Draft

chore(several samples) Updating all instances of Pytest up to version 9.0.3 Part I #14230
XrossFox wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
XrossFox:python-pytest-dependency-update-I

Conversation

@XrossFox
Copy link
Copy Markdown
Contributor

to close security alerts from dependabot.

Directories that start from A to B.

Extra: modified versions on which pipelines are wllowed to rune, since python 9.0.3 only support Python 3.10 onwards, so pipelines will only run 3.10 and 3.14 versions, which are the older and latest versions that are still maintained.

Some surrounding packages had it's versions updated to avoid building issues with pip.

Description

Fixes b/511241844

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

…y alerts from dependabot.

Extra: modified versions on which pipelines are wllowed to rune, since python 9.0.3
only support Python 3.10 onwards, so pipelines will only run 3.10 and 3.14 versions,
which are the older and latest versions that are still maintained.

Some surrounding packages had it's versions updated to avoid building issues with pip.
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. api: notebooks Issues related to the Agent Platform Workbench API. labels May 25, 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 testing configurations and dependencies across multiple directories, notably upgrading pytest to 9.0.3 for Python 3.10+ and adjusting ignored_versions in noxfile_config.py files. However, several critical issues were identified in the dependency updates: the specified versions for pytest-asyncio (1.3.0) and Django (5.2.14) do not exist on PyPI, which will cause installation failures. Additionally, Python 3.13 should be removed from the ignored_versions list in alloydb/notebooks/noxfile_config.py to ensure tests run on the latest maintained Python version as intended.

Comment thread alloydb/notebooks/requirements-test.txt
Comment thread appengine/flexible/django_cloudsql/requirements.txt Outdated
Comment thread alloydb/notebooks/noxfile_config.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: appengine Issues related to the App Engine Admin API API. api: notebooks Issues related to the Agent Platform Workbench API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant