chore(several samples) Updating all instances of Pytest up to version 9.0.3 Part I #14230
chore(several samples) Updating all instances of Pytest up to version 9.0.3 Part I #14230XrossFox wants to merge 4 commits into
Conversation
…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.
There was a problem hiding this comment.
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.
The versions 3.14 and apache beam SDK do in fact exist in docker hub. While also apache beam 2.73 existing in PYPI. https://pypi.org/project/apache-beam/ |
The lowest version supported by pytest is Python 3.10, so all tests should be upgraded to run that at minimum. Python 3.14 and apache beam 2.73 have been released and are both, available on pypi and docker hub. https://pypi.org/project/apache-beam/ |
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
nox -s py-3.9(see Test Environment Setup)nox -s lint(see Test Environment Setup)