diff --git a/cdn/requirements-test.txt b/cdn/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cdn/requirements-test.txt +++ b/cdn/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud-media-livestream/keypublisher/noxfile_config.py b/cloud-media-livestream/keypublisher/noxfile_config.py index 3f0b74f9b96..5659ab2853c 100644 --- a/cloud-media-livestream/keypublisher/noxfile_config.py +++ b/cloud-media-livestream/keypublisher/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud-media-livestream/keypublisher/requirements.txt b/cloud-media-livestream/keypublisher/requirements.txt index f56357f0f87..d09861d381b 100644 --- a/cloud-media-livestream/keypublisher/requirements.txt +++ b/cloud-media-livestream/keypublisher/requirements.txt @@ -6,6 +6,6 @@ pycryptodome==3.21.0 pyOpenSSL==25.0.0 requests==2.32.4 signxml==4.0.4 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-mock==3.14.0 Werkzeug==3.0.6 diff --git a/cloud-sql/mysql/client-side-encryption/noxfile_config.py b/cloud-sql/mysql/client-side-encryption/noxfile_config.py index 67016bd9634..322efba33e8 100644 --- a/cloud-sql/mysql/client-side-encryption/noxfile_config.py +++ b/cloud-sql/mysql/client-side-encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud-sql/mysql/client-side-encryption/requirements-test.txt b/cloud-sql/mysql/client-side-encryption/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud-sql/mysql/client-side-encryption/requirements-test.txt +++ b/cloud-sql/mysql/client-side-encryption/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud-sql/mysql/sqlalchemy/requirements-test.txt b/cloud-sql/mysql/sqlalchemy/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud-sql/mysql/sqlalchemy/requirements-test.txt +++ b/cloud-sql/mysql/sqlalchemy/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud-sql/postgres/client-side-encryption/noxfile_config.py b/cloud-sql/postgres/client-side-encryption/noxfile_config.py index 67016bd9634..322efba33e8 100644 --- a/cloud-sql/postgres/client-side-encryption/noxfile_config.py +++ b/cloud-sql/postgres/client-side-encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud-sql/postgres/client-side-encryption/requirements-test.txt b/cloud-sql/postgres/client-side-encryption/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud-sql/postgres/client-side-encryption/requirements-test.txt +++ b/cloud-sql/postgres/client-side-encryption/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud-sql/postgres/sqlalchemy/requirements-test.txt b/cloud-sql/postgres/sqlalchemy/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud-sql/postgres/sqlalchemy/requirements-test.txt +++ b/cloud-sql/postgres/sqlalchemy/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud-sql/sql-server/client-side-encryption/noxfile_config.py b/cloud-sql/sql-server/client-side-encryption/noxfile_config.py index 692cb4ecd26..c74cec2355d 100644 --- a/cloud-sql/sql-server/client-side-encryption/noxfile_config.py +++ b/cloud-sql/sql-server/client-side-encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/cloud-sql/sql-server/client-side-encryption/requirements-test.txt b/cloud-sql/sql-server/client-side-encryption/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud-sql/sql-server/client-side-encryption/requirements-test.txt +++ b/cloud-sql/sql-server/client-side-encryption/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud-sql/sql-server/sqlalchemy/requirements-test.txt b/cloud-sql/sql-server/sqlalchemy/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud-sql/sql-server/sqlalchemy/requirements-test.txt +++ b/cloud-sql/sql-server/sqlalchemy/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud_scheduler/snippets/noxfile_config.py b/cloud_scheduler/snippets/noxfile_config.py index 9a4b880f934..0973c8621c7 100644 --- a/cloud_scheduler/snippets/noxfile_config.py +++ b/cloud_scheduler/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud_scheduler/snippets/requirements-test.txt b/cloud_scheduler/snippets/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud_scheduler/snippets/requirements-test.txt +++ b/cloud_scheduler/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloud_tasks/http_queues/requirements-test.txt b/cloud_tasks/http_queues/requirements-test.txt index 5e1e631ee52..62b9771c178 100644 --- a/cloud_tasks/http_queues/requirements-test.txt +++ b/cloud_tasks/http_queues/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-auth==2.38.0 google-api-core==2.17.1 diff --git a/cloud_tasks/snippets/noxfile_config.py b/cloud_tasks/snippets/noxfile_config.py index 359b876b767..1b9d9e4a580 100644 --- a/cloud_tasks/snippets/noxfile_config.py +++ b/cloud_tasks/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud_tasks/snippets/requirements-test.txt b/cloud_tasks/snippets/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/cloud_tasks/snippets/requirements-test.txt +++ b/cloud_tasks/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/cloudbuild/snippets/noxfile_config.py b/cloudbuild/snippets/noxfile_config.py index 35d32a1f9e4..322efba33e8 100644 --- a/cloudbuild/snippets/noxfile_config.py +++ b/cloudbuild/snippets/noxfile_config.py @@ -22,8 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # NOTE: We currently only run the test in Python 3.9. - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloudbuild/snippets/requirements-test.txt b/cloudbuild/snippets/requirements-test.txt index 060ed652e0b..c9e154ba440 100644 --- a/cloudbuild/snippets/requirements-test.txt +++ b/cloudbuild/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/composer/cicd_sample/utils/noxfile_config.py b/composer/cicd_sample/utils/noxfile_config.py index 1583c4e637d..59eb70b5b1c 100644 --- a/composer/cicd_sample/utils/noxfile_config.py +++ b/composer/cicd_sample/utils/noxfile_config.py @@ -30,15 +30,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": [ - "2.7", - "3.6", - "3.7", - "3.9", - "3.10", - "3.11", - "3.12", - ], # Composer w/ Airflow 2 only supports Python 3.8 + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Composer w/ Airflow 2 only supports Python 3.8 # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/composer/cicd_sample/utils/requirements-test.txt b/composer/cicd_sample/utils/requirements-test.txt index 92e25bbd179..767b3914b9e 100644 --- a/composer/cicd_sample/utils/requirements-test.txt +++ b/composer/cicd_sample/utils/requirements-test.txt @@ -1,4 +1,4 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.31.0 google-api-core==2.17.1 google-resumable-media==2.7.2 diff --git a/composer/functions/requirements-test.txt b/composer/functions/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/composer/functions/requirements-test.txt +++ b/composer/functions/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/composer/rest/composer2/requirements-test.txt b/composer/rest/composer2/requirements-test.txt index 6420b5190a5..8bf1ef72ba5 100644 --- a/composer/rest/composer2/requirements-test.txt +++ b/composer/rest/composer2/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.32.2 diff --git a/composer/rest/requirements-test.txt b/composer/rest/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/composer/rest/requirements-test.txt +++ b/composer/rest/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/compute/api/requirements-test.txt b/compute/api/requirements-test.txt index 185d62c4204..23df1e03c7e 100644 --- a/compute/api/requirements-test.txt +++ b/compute/api/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 diff --git a/compute/auth/noxfile_config.py b/compute/auth/noxfile_config.py index 457e86f5413..0973c8621c7 100644 --- a/compute/auth/noxfile_config.py +++ b/compute/auth/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/compute/auth/requirements-test.txt b/compute/auth/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/compute/auth/requirements-test.txt +++ b/compute/auth/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/compute/client_library/requirements-test.txt b/compute/client_library/requirements-test.txt index 32f96d024ee..567e8b4fac2 100644 --- a/compute/client_library/requirements-test.txt +++ b/compute/client_library/requirements-test.txt @@ -1,4 +1,4 @@ -pytest==8.3.2 +pytest==9.0.3; python_version >= "3.10" pytest-xdist==3.6.1 flaky==3.8.1 google-cloud-storage==2.18.0 diff --git a/compute/encryption/noxfile_config.py b/compute/encryption/noxfile_config.py index 457e86f5413..0973c8621c7 100644 --- a/compute/encryption/noxfile_config.py +++ b/compute/encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/compute/encryption/requirements-test.txt b/compute/encryption/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/compute/encryption/requirements-test.txt +++ b/compute/encryption/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/compute/load_balancing/requirements-test.txt b/compute/load_balancing/requirements-test.txt index 060ed652e0b..c9e154ba440 100644 --- a/compute/load_balancing/requirements-test.txt +++ b/compute/load_balancing/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/compute/managed-instances/demo/requirements-test.txt b/compute/managed-instances/demo/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/compute/managed-instances/demo/requirements-test.txt +++ b/compute/managed-instances/demo/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/compute/metadata/requirements-test.txt b/compute/metadata/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/compute/metadata/requirements-test.txt +++ b/compute/metadata/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/compute/oslogin/requirements-test.txt b/compute/oslogin/requirements-test.txt index a8518ad953b..e30f061590f 100644 --- a/compute/oslogin/requirements-test.txt +++ b/compute/oslogin/requirements-test.txt @@ -1,5 +1,5 @@ backoff==2.2.1; python_version < "3.7" backoff==2.2.1; python_version >= "3.7" -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-iam==2.17.0 google-api-python-client==2.131.0 diff --git a/connectgateway/noxfile_config.py b/connectgateway/noxfile_config.py index ea71c27ca40..192bea7d9f8 100644 --- a/connectgateway/noxfile_config.py +++ b/connectgateway/noxfile_config.py @@ -14,7 +14,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], "enforce_type_hints": True, "gcloud_project_env": "GOOGLE_CLOUD_PROJECT", "pip_version_override": None, diff --git a/connectgateway/requirements-test.txt b/connectgateway/requirements-test.txt index 8c22c500206..b945dc72083 100644 --- a/connectgateway/requirements-test.txt +++ b/connectgateway/requirements-test.txt @@ -1,2 +1,2 @@ google-cloud-container==2.56.1 -pytest==8.3.5 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/contact-center-insights/snippets/noxfile_config.py b/contact-center-insights/snippets/noxfile_config.py index 2be8b96be22..309b7dcec18 100644 --- a/contact-center-insights/snippets/noxfile_config.py +++ b/contact-center-insights/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them # "enforce_type_hints": True, diff --git a/contact-center-insights/snippets/requirements-test.txt b/contact-center-insights/snippets/requirements-test.txt index 63f2d349e99..2d33e042cc1 100644 --- a/contact-center-insights/snippets/requirements-test.txt +++ b/contact-center-insights/snippets/requirements-test.txt @@ -1,3 +1,3 @@ google-auth==2.38.0 google-cloud-pubsub==2.28.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/container/snippets/noxfile_config.py b/container/snippets/noxfile_config.py index 9f90577041b..1b9d9e4a580 100644 --- a/container/snippets/noxfile_config.py +++ b/container/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/container/snippets/requirements.txt b/container/snippets/requirements.txt index 8f29e2f0eb9..e0a9e8cbe81 100644 --- a/container/snippets/requirements.txt +++ b/container/snippets/requirements.txt @@ -1,3 +1,3 @@ google-cloud-container==2.54.0 backoff==2.2.1 -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/containeranalysis/snippets/requirements-test.txt b/containeranalysis/snippets/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/containeranalysis/snippets/requirements-test.txt +++ b/containeranalysis/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/containeranalysis/snippets/requirements.txt b/containeranalysis/snippets/requirements.txt index 25ce20b0657..8118ef068de 100644 --- a/containeranalysis/snippets/requirements.txt +++ b/containeranalysis/snippets/requirements.txt @@ -1,6 +1,6 @@ google-cloud-pubsub==2.28.0 google-cloud-containeranalysis==2.16.0 grafeas==1.12.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 mock==5.1.0 diff --git a/contentwarehouse/snippets/noxfile_config.py b/contentwarehouse/snippets/noxfile_config.py index a85697d4eb5..b7d8115d773 100644 --- a/contentwarehouse/snippets/noxfile_config.py +++ b/contentwarehouse/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/contentwarehouse/snippets/requirements-test.txt b/contentwarehouse/snippets/requirements-test.txt index d752d70577e..8f9d5a165a3 100644 --- a/contentwarehouse/snippets/requirements-test.txt +++ b/contentwarehouse/snippets/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-resource-manager==1.10.1 diff --git a/datacatalog/quickstart/requirements-test.txt b/datacatalog/quickstart/requirements-test.txt index 11dc8bbd341..b1d77d220e8 100644 --- a/datacatalog/quickstart/requirements-test.txt +++ b/datacatalog/quickstart/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-bigquery==3.27.0 \ No newline at end of file diff --git a/datacatalog/snippets/requirements-test.txt b/datacatalog/snippets/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/datacatalog/snippets/requirements-test.txt +++ b/datacatalog/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/datacatalog/v1beta1/requirements-test.txt b/datacatalog/v1beta1/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/datacatalog/v1beta1/requirements-test.txt +++ b/datacatalog/v1beta1/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/encryption-keys/noxfile_config.py b/dataflow/encryption-keys/noxfile_config.py index bf456e51902..932bef266b6 100644 --- a/dataflow/encryption-keys/noxfile_config.py +++ b/dataflow/encryption-keys/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/dataflow/encryption-keys/requirements-test.txt b/dataflow/encryption-keys/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/dataflow/encryption-keys/requirements-test.txt +++ b/dataflow/encryption-keys/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/extensible-templates/noxfile_config.py b/dataflow/extensible-templates/noxfile_config.py index d15bd45490f..3fb32a57d23 100644 --- a/dataflow/extensible-templates/noxfile_config.py +++ b/dataflow/extensible-templates/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/extensible-templates/requirements-test.txt b/dataflow/extensible-templates/requirements-test.txt index a51578c86f2..ba4350c2c77 100644 --- a/dataflow/extensible-templates/requirements-test.txt +++ b/dataflow/extensible-templates/requirements-test.txt @@ -2,5 +2,5 @@ google-api-python-client==2.131.0 google-cloud-bigquery==3.27.0 google-cloud-storage==2.9.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pyyaml==6.0.2 \ No newline at end of file diff --git a/dataflow/flex-templates/pipeline_with_dependencies/noxfile_config.py b/dataflow/flex-templates/pipeline_with_dependencies/noxfile_config.py index 8df70c1108b..a3d8b458d0f 100644 --- a/dataflow/flex-templates/pipeline_with_dependencies/noxfile_config.py +++ b/dataflow/flex-templates/pipeline_with_dependencies/noxfile_config.py @@ -19,5 +19,5 @@ # > ℹ️ We're opting out of all Python versions except 3.11. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.12", "3.13", "3.14"], } diff --git a/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt b/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt index 16c7c4dffed..0e00d92a3e5 100644 --- a/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt +++ b/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt @@ -17,5 +17,5 @@ google-api-python-client==2.87.0 google-cloud-storage==2.9.0 pytest-xdist==3.3.0 -pytest==7.0.1 +pytest==9.0.3; python_version >= "3.10" pyyaml==6.0 diff --git a/dataflow/gemma-flex-template/noxfile_config.py b/dataflow/gemma-flex-template/noxfile_config.py index 7e6ba7ba31b..57d166d0b34 100644 --- a/dataflow/gemma-flex-template/noxfile_config.py +++ b/dataflow/gemma-flex-template/noxfile_config.py @@ -19,7 +19,7 @@ # Opting out of all Python versions except 3.10. # The Python version used is defined by the Dockerfile and the job # submission enviornment must match. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], "envs": { "PYTHONPATH": ".." }, diff --git a/dataflow/gemma-flex-template/requirements-test.txt b/dataflow/gemma-flex-template/requirements-test.txt index 5e6dcfc99aa..95aeed12fb1 100644 --- a/dataflow/gemma-flex-template/requirements-test.txt +++ b/dataflow/gemma-flex-template/requirements-test.txt @@ -2,6 +2,6 @@ google-cloud-aiplatform==1.62.0 google-cloud-dataflow-client==0.8.14 google-cloud-pubsub==2.28.0 google-cloud-storage==2.18.2 -pytest==8.3.2 +pytest==9.0.3; python_version >= "3.10" pytest-timeout==2.3.1 pyyaml==6.0.2 diff --git a/dataflow/gemma/noxfile_config.py b/dataflow/gemma/noxfile_config.py index 7b3b1b9ebf6..763463629a5 100644 --- a/dataflow/gemma/noxfile_config.py +++ b/dataflow/gemma/noxfile_config.py @@ -19,7 +19,7 @@ # Opting out of all Python versions except 3.11. # The Python version used is defined by the Dockerfile and the job # submission enviornment must match. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.12", "3.13", "3.14"], "envs": { "PYTHONPATH": ".." }, diff --git a/dataflow/gemma/requirements-test.txt b/dataflow/gemma/requirements-test.txt index 511d704b396..238d774fdde 100644 --- a/dataflow/gemma/requirements-test.txt +++ b/dataflow/gemma/requirements-test.txt @@ -1,5 +1,5 @@ google-cloud-aiplatform==1.49.0 google-cloud-dataflow-client==0.8.10 google-cloud-storage==2.16.0 -pytest==7.4.0 +pytest==9.0.3; python_version >= "3.10" pytest-timeout==2.3.1 \ No newline at end of file diff --git a/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py b/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py index 99b1fb47b8e..aee7536f2f9 100644 --- a/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py +++ b/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.10. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/pytorch-minimal/requirements-test.txt b/dataflow/gpu-examples/pytorch-minimal/requirements-test.txt index cf8059020cf..12743ff3576 100644 --- a/dataflow/gpu-examples/pytorch-minimal/requirements-test.txt +++ b/dataflow/gpu-examples/pytorch-minimal/requirements-test.txt @@ -1,4 +1,4 @@ google-api-python-client==2.131.0 google-cloud-storage==2.9.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py b/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py index 376ea30e3b6..5deeeaf05c2 100644 --- a/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ Test only on Python 3.10. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-landsat-prime/requirements-test.txt b/dataflow/gpu-examples/tensorflow-landsat-prime/requirements-test.txt index c1f8e786b49..f69c50afa50 100644 --- a/dataflow/gpu-examples/tensorflow-landsat-prime/requirements-test.txt +++ b/dataflow/gpu-examples/tensorflow-landsat-prime/requirements-test.txt @@ -1,3 +1,3 @@ google-api-python-client==2.87.0 google-cloud-storage==2.9.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py b/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py index baf97789883..08e83e4f7e7 100644 --- a/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ Test only on Python 3.10. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-landsat/requirements-test.txt b/dataflow/gpu-examples/tensorflow-landsat/requirements-test.txt index c1f8e786b49..f69c50afa50 100644 --- a/dataflow/gpu-examples/tensorflow-landsat/requirements-test.txt +++ b/dataflow/gpu-examples/tensorflow-landsat/requirements-test.txt @@ -1,3 +1,3 @@ google-api-python-client==2.87.0 google-cloud-storage==2.9.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py b/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py index baf97789883..08e83e4f7e7 100644 --- a/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ Test only on Python 3.10. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-minimal/requirements-test.txt b/dataflow/gpu-examples/tensorflow-minimal/requirements-test.txt index e5602fb507b..36a5b86295e 100644 --- a/dataflow/gpu-examples/tensorflow-minimal/requirements-test.txt +++ b/dataflow/gpu-examples/tensorflow-minimal/requirements-test.txt @@ -1,3 +1,3 @@ google-api-python-client==2.131.0 google-cloud-storage==2.9.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/run-inference/noxfile_config.py b/dataflow/run-inference/noxfile_config.py index a2c4bb212c8..2d0a4b0316e 100644 --- a/dataflow/run-inference/noxfile_config.py +++ b/dataflow/run-inference/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Only test on Python 3.11. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.12", "3.13", "3.14"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/run-inference/requirements-test.txt b/dataflow/run-inference/requirements-test.txt index c9095c832fd..03d1c64ee5d 100644 --- a/dataflow/run-inference/requirements-test.txt +++ b/dataflow/run-inference/requirements-test.txt @@ -1,4 +1,4 @@ google-cloud-aiplatform==1.57.0 google-cloud-dataflow-client==0.8.14 google-cloud-storage==2.10.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataflow/run_template/requirements-test.txt b/dataflow/run_template/requirements-test.txt index 1cb9b76028c..341e9cabab0 100644 --- a/dataflow/run_template/requirements-test.txt +++ b/dataflow/run_template/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flask==3.0.3 backoff==2.2.1; python_version >= "3.7" diff --git a/dataflow/snippets/noxfile_config.py b/dataflow/snippets/noxfile_config.py index 900f58e0ddf..fd69813938c 100644 --- a/dataflow/snippets/noxfile_config.py +++ b/dataflow/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/snippets/requirements-test.txt b/dataflow/snippets/requirements-test.txt index f7b11f32fc5..4835ba7a447 100644 --- a/dataflow/snippets/requirements-test.txt +++ b/dataflow/snippets/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" docker==7.1.0 diff --git a/datalabeling/snippets/noxfile_config.py b/datalabeling/snippets/noxfile_config.py index b6ac0672eb5..af568dc67ca 100644 --- a/datalabeling/snippets/noxfile_config.py +++ b/datalabeling/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Declare optional test sessions you want to opt-in. Currently we # have the following optional test sessions: # 'cloud_run' # Test session for Cloud Run application. diff --git a/datalabeling/snippets/requirements-test.txt b/datalabeling/snippets/requirements-test.txt index f3230681cda..79932f83530 100644 --- a/datalabeling/snippets/requirements-test.txt +++ b/datalabeling/snippets/requirements-test.txt @@ -1,2 +1,2 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataplex/quickstart/noxfile_config.py b/dataplex/quickstart/noxfile_config.py index 457e86f5413..0973c8621c7 100644 --- a/dataplex/quickstart/noxfile_config.py +++ b/dataplex/quickstart/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataplex/snippets/noxfile_config.py b/dataplex/snippets/noxfile_config.py index 457e86f5413..0973c8621c7 100644 --- a/dataplex/snippets/noxfile_config.py +++ b/dataplex/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataplex/snippets/requirements-test.txt b/dataplex/snippets/requirements-test.txt index 40543aababf..c9e154ba440 100644 --- a/dataplex/snippets/requirements-test.txt +++ b/dataplex/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.3.3 +pytest==9.0.3; python_version >= "3.10" diff --git a/dataproc/snippets/noxfile_config.py b/dataproc/snippets/noxfile_config.py index 99f474dc0b6..ebf6e09f415 100644 --- a/dataproc/snippets/noxfile_config.py +++ b/dataproc/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them # "enforce_type_hints": True, diff --git a/dataproc/snippets/requirements-test.txt b/dataproc/snippets/requirements-test.txt index 3cb027c3ea4..8c1be52bfa9 100644 --- a/dataproc/snippets/requirements-test.txt +++ b/dataproc/snippets/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-xdist==3.3.0 \ No newline at end of file diff --git a/datastore/cloud-client/requirements-test.txt b/datastore/cloud-client/requirements-test.txt index 2a635ea7b6a..322ae75b68c 100644 --- a/datastore/cloud-client/requirements-test.txt +++ b/datastore/cloud-client/requirements-test.txt @@ -1,4 +1,4 @@ backoff==2.2.1; python_version < "3.7" backoff==2.2.1; python_version >= "3.7" -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 diff --git a/datastore/cloud-ndb/noxfile_config.py b/datastore/cloud-ndb/noxfile_config.py index 25d1d4e081c..50cd5669209 100644 --- a/datastore/cloud-ndb/noxfile_config.py +++ b/datastore/cloud-ndb/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ Test only on Python 3.10. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them # "enforce_type_hints": True, diff --git a/datastore/cloud-ndb/requirements-test.txt b/datastore/cloud-ndb/requirements-test.txt index 8ce117fb56e..36921e74453 100644 --- a/datastore/cloud-ndb/requirements-test.txt +++ b/datastore/cloud-ndb/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1; python_version < "3.7" backoff==2.2.1; python_version >= "3.7" -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/datastore/samples/snippets/requirements-test.txt b/datastore/samples/snippets/requirements-test.txt index 2a21e952015..cf225d98c69 100644 --- a/datastore/samples/snippets/requirements-test.txt +++ b/datastore/samples/snippets/requirements-test.txt @@ -1,7 +1,4 @@ backoff===1.11.1; python_version < "3.7" backoff==2.2.1; python_version >= "3.7" -pytest===7.4.3; python_version == '3.7' -pytest===8.3.5; python_version == '3.8' -pytest===8.4.2; python_version == '3.9' -pytest==9.0.2; python_version >= '3.10' +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 diff --git a/datastore/samples/snippets/schedule-export/requirements-test.txt b/datastore/samples/snippets/schedule-export/requirements-test.txt index cb982446b31..c9e154ba440 100644 --- a/datastore/samples/snippets/schedule-export/requirements-test.txt +++ b/datastore/samples/snippets/schedule-export/requirements-test.txt @@ -1,2 +1 @@ -pytest===8.4.2; python_version == '3.9' -pytest==9.0.2; python_version >= '3.10' +pytest==9.0.3; python_version >= "3.10" diff --git a/dialogflow-cx/noxfile_config.py b/dialogflow-cx/noxfile_config.py index cc8143940ee..601efb269d6 100644 --- a/dialogflow-cx/noxfile_config.py +++ b/dialogflow-cx/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # An envvar key for determining the project id to use. Change it # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a # build specific Cloud project. You can also use your own string diff --git a/dialogflow-cx/requirements-test.txt b/dialogflow-cx/requirements-test.txt index f15b2186bd1..3afe4814dde 100644 --- a/dialogflow-cx/requirements-test.txt +++ b/dialogflow-cx/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-asyncio==0.21.1 \ No newline at end of file diff --git a/dialogflow/noxfile_config.py b/dialogflow/noxfile_config.py index 3285f14ee14..0c031160d38 100644 --- a/dialogflow/noxfile_config.py +++ b/dialogflow/noxfile_config.py @@ -25,7 +25,7 @@ # # Disable these tests for now until there is time for significant refactoring # related to exception handling and timeouts. - "ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/dialogflow/requirements-test.txt b/dialogflow/requirements-test.txt index 185d62c4204..23df1e03c7e 100644 --- a/dialogflow/requirements-test.txt +++ b/dialogflow/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 diff --git a/discoveryengine/requirements-test.txt b/discoveryengine/requirements-test.txt index e8a7ae0cb55..8dbf80c54bc 100644 --- a/discoveryengine/requirements-test.txt +++ b/discoveryengine/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-api-core==2.21.0 google-cloud-resource-manager==1.12.5 diff --git a/dlp/snippets/noxfile_config.py b/dlp/snippets/noxfile_config.py index 798647726bd..295ef23e354 100644 --- a/dlp/snippets/noxfile_config.py +++ b/dlp/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/dlp/snippets/requirements-test.txt b/dlp/snippets/requirements-test.txt index 632e5ad15a8..0d2bade1bed 100644 --- a/dlp/snippets/requirements-test.txt +++ b/dlp/snippets/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 diff --git a/documentai/snippets/noxfile_config.py b/documentai/snippets/noxfile_config.py index 24b01d2b9ab..0973c8621c7 100644 --- a/documentai/snippets/noxfile_config.py +++ b/documentai/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/documentai/snippets/requirements-test.txt b/documentai/snippets/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/documentai/snippets/requirements-test.txt +++ b/documentai/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/endpoints/bookstore-grpc-transcoding/requirements-test.txt b/endpoints/bookstore-grpc-transcoding/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/endpoints/bookstore-grpc-transcoding/requirements-test.txt +++ b/endpoints/bookstore-grpc-transcoding/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/endpoints/bookstore-grpc/requirements-test.txt b/endpoints/bookstore-grpc/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/endpoints/bookstore-grpc/requirements-test.txt +++ b/endpoints/bookstore-grpc/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/endpoints/getting-started-grpc/requirements-test.txt b/endpoints/getting-started-grpc/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/endpoints/getting-started-grpc/requirements-test.txt +++ b/endpoints/getting-started-grpc/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/endpoints/getting-started/clients/service_to_service_non_default/requirements-test.txt b/endpoints/getting-started/clients/service_to_service_non_default/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/endpoints/getting-started/clients/service_to_service_non_default/requirements-test.txt +++ b/endpoints/getting-started/clients/service_to_service_non_default/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/endpoints/getting-started/noxfile_config.py b/endpoints/getting-started/noxfile_config.py index 26f09f74ce6..50cd5669209 100644 --- a/endpoints/getting-started/noxfile_config.py +++ b/endpoints/getting-started/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ Test only on Python 3.10. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them # "enforce_type_hints": True, diff --git a/endpoints/getting-started/requirements-test.txt b/endpoints/getting-started/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/endpoints/getting-started/requirements-test.txt +++ b/endpoints/getting-started/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/enterpriseknowledgegraph/entity_reconciliation/requirements-test.txt b/enterpriseknowledgegraph/entity_reconciliation/requirements-test.txt index 55d9a1d34d9..2313637c624 100644 --- a/enterpriseknowledgegraph/entity_reconciliation/requirements-test.txt +++ b/enterpriseknowledgegraph/entity_reconciliation/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-api-core google-cloud-enterpriseknowledgegraph diff --git a/enterpriseknowledgegraph/search/requirements-test.txt b/enterpriseknowledgegraph/search/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/enterpriseknowledgegraph/search/requirements-test.txt +++ b/enterpriseknowledgegraph/search/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/error_reporting/fluent_on_compute/requirements-test.txt b/error_reporting/fluent_on_compute/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/error_reporting/fluent_on_compute/requirements-test.txt +++ b/error_reporting/fluent_on_compute/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/error_reporting/snippets/requirements-test.txt b/error_reporting/snippets/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/error_reporting/snippets/requirements-test.txt +++ b/error_reporting/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/eventarc/audit-storage/requirements-test.txt b/eventarc/audit-storage/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/eventarc/audit-storage/requirements-test.txt +++ b/eventarc/audit-storage/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/eventarc/audit_iam/requirements-test.txt b/eventarc/audit_iam/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/eventarc/audit_iam/requirements-test.txt +++ b/eventarc/audit_iam/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/eventarc/generic/requirements-test.txt b/eventarc/generic/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/eventarc/generic/requirements-test.txt +++ b/eventarc/generic/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/eventarc/pubsub/requirements-test.txt b/eventarc/pubsub/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/eventarc/pubsub/requirements-test.txt +++ b/eventarc/pubsub/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/eventarc/storage_handler/requirements-test.txt b/eventarc/storage_handler/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/eventarc/storage_handler/requirements-test.txt +++ b/eventarc/storage_handler/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/firestore/cloud-async-client/requirements-test.txt b/firestore/cloud-async-client/requirements-test.txt index 8e8f4270ac6..e8081946e32 100644 --- a/firestore/cloud-async-client/requirements-test.txt +++ b/firestore/cloud-async-client/requirements-test.txt @@ -1,4 +1,4 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-asyncio==0.21.0; python_version > '3.6' pytest-asyncio==0.16.0; python_version < '3.7' flaky==3.8.1 diff --git a/firestore/cloud-client/requirements-test.txt b/firestore/cloud-client/requirements-test.txt index 632e5ad15a8..0d2bade1bed 100644 --- a/firestore/cloud-client/requirements-test.txt +++ b/firestore/cloud-client/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 diff --git a/functions/bigtable/requirements-test.txt b/functions/bigtable/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/bigtable/requirements-test.txt +++ b/functions/bigtable/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/billing/requirements-test.txt b/functions/billing/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/billing/requirements-test.txt +++ b/functions/billing/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/billing_stop_on_notification/requirements-test.txt b/functions/billing_stop_on_notification/requirements-test.txt index 66801836e20..34976cd306a 100644 --- a/functions/billing_stop_on_notification/requirements-test.txt +++ b/functions/billing_stop_on_notification/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.3.5 +pytest==9.0.3; python_version >= "3.10" cloudevents==1.11.0 \ No newline at end of file diff --git a/functions/concepts-filesystem/requirements-test.txt b/functions/concepts-filesystem/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/concepts-filesystem/requirements-test.txt +++ b/functions/concepts-filesystem/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/concepts-requests/requirements-test.txt b/functions/concepts-requests/requirements-test.txt index 8122137827f..489873e5d01 100644 --- a/functions/concepts-requests/requirements-test.txt +++ b/functions/concepts-requests/requirements-test.txt @@ -1,5 +1,5 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.31.0 responses==0.17.0; python_version < '3.7' responses==0.23.1; python_version > '3.6' diff --git a/functions/concepts-stateless/requirements-test.txt b/functions/concepts-stateless/requirements-test.txt index 06c13ca892f..3a22512ad68 100644 --- a/functions/concepts-stateless/requirements-test.txt +++ b/functions/concepts-stateless/requirements-test.txt @@ -1,3 +1,3 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" functions-framework==3.9.2 diff --git a/functions/env_vars/requirements-test.txt b/functions/env_vars/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/env_vars/requirements-test.txt +++ b/functions/env_vars/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/firebase/requirements-test.txt b/functions/firebase/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/firebase/requirements-test.txt +++ b/functions/firebase/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/helloworld/requirements-test.txt b/functions/helloworld/requirements-test.txt index 6031c4d8ee4..dcffe86697c 100644 --- a/functions/helloworld/requirements-test.txt +++ b/functions/helloworld/requirements-test.txt @@ -1,3 +1,3 @@ functions-framework==3.9.2 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" uuid==1.30 diff --git a/functions/http/requirements-test.txt b/functions/http/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/http/requirements-test.txt +++ b/functions/http/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/imagemagick/requirements-test.txt b/functions/imagemagick/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/imagemagick/requirements-test.txt +++ b/functions/imagemagick/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/log/requirements-test.txt b/functions/log/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/log/requirements-test.txt +++ b/functions/log/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/memorystore/redis/requirements-test.txt b/functions/memorystore/redis/requirements-test.txt index f110b22346d..5be5b32d46e 100644 --- a/functions/memorystore/redis/requirements-test.txt +++ b/functions/memorystore/redis/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/ocr/app/noxfile_config.py b/functions/ocr/app/noxfile_config.py index de1a75b6996..ba2433bfcbd 100644 --- a/functions/ocr/app/noxfile_config.py +++ b/functions/ocr/app/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.8"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Declare optional test sessions you want to opt-in. Currently we # have the following optional test sessions: # 'cloud_run' # Test session for Cloud Run application. diff --git a/functions/ocr/app/requirements-test.txt b/functions/ocr/app/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/ocr/app/requirements-test.txt +++ b/functions/ocr/app/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/pubsub/requirements-test.txt b/functions/pubsub/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/pubsub/requirements-test.txt +++ b/functions/pubsub/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/security/requirements-test.txt b/functions/security/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/security/requirements-test.txt +++ b/functions/security/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/slack/requirements-test.txt b/functions/slack/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/slack/requirements-test.txt +++ b/functions/slack/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/spanner/requirements-test.txt b/functions/spanner/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/spanner/requirements-test.txt +++ b/functions/spanner/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/tips-avoid-infinite-retries/requirements-test.txt b/functions/tips-avoid-infinite-retries/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/tips-avoid-infinite-retries/requirements-test.txt +++ b/functions/tips-avoid-infinite-retries/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/tips-connection-pooling/requirements-test.txt b/functions/tips-connection-pooling/requirements-test.txt index 8122137827f..489873e5d01 100644 --- a/functions/tips-connection-pooling/requirements-test.txt +++ b/functions/tips-connection-pooling/requirements-test.txt @@ -1,5 +1,5 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.31.0 responses==0.17.0; python_version < '3.7' responses==0.23.1; python_version > '3.6' diff --git a/functions/tips-gcp-apis/requirements-test.txt b/functions/tips-gcp-apis/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/tips-gcp-apis/requirements-test.txt +++ b/functions/tips-gcp-apis/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/tips-lazy-globals/requirements-test.txt b/functions/tips-lazy-globals/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/tips-lazy-globals/requirements-test.txt +++ b/functions/tips-lazy-globals/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/tips-retry/requirements-test.txt b/functions/tips-retry/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/tips-retry/requirements-test.txt +++ b/functions/tips-retry/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/tips-scopes/requirements-test.txt b/functions/tips-scopes/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/tips-scopes/requirements-test.txt +++ b/functions/tips-scopes/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/audit_log/requirements-test.txt b/functions/v2/audit_log/requirements-test.txt index 6e4d1d97ce0..34976cd306a 100644 --- a/functions/v2/audit_log/requirements-test.txt +++ b/functions/v2/audit_log/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" cloudevents==1.11.0 \ No newline at end of file diff --git a/functions/v2/datastore/hello-datastore/requirements-test.txt b/functions/v2/datastore/hello-datastore/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/v2/datastore/hello-datastore/requirements-test.txt +++ b/functions/v2/datastore/hello-datastore/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/deploy-function/requirements-test.txt b/functions/v2/deploy-function/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/v2/deploy-function/requirements-test.txt +++ b/functions/v2/deploy-function/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/firebase/hello-firestore/requirements-test.txt b/functions/v2/firebase/hello-firestore/requirements-test.txt index 060ed652e0b..c9e154ba440 100644 --- a/functions/v2/firebase/hello-firestore/requirements-test.txt +++ b/functions/v2/firebase/hello-firestore/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/firebase/hello-remote-config/requirements-test.txt b/functions/v2/firebase/hello-remote-config/requirements-test.txt index 060ed652e0b..c9e154ba440 100644 --- a/functions/v2/firebase/hello-remote-config/requirements-test.txt +++ b/functions/v2/firebase/hello-remote-config/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/firebase/hello-rtdb/requirements-test.txt b/functions/v2/firebase/hello-rtdb/requirements-test.txt index 060ed652e0b..c9e154ba440 100644 --- a/functions/v2/firebase/hello-rtdb/requirements-test.txt +++ b/functions/v2/firebase/hello-rtdb/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/firebase/upper-firestore/requirements-test.txt b/functions/v2/firebase/upper-firestore/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/v2/firebase/upper-firestore/requirements-test.txt +++ b/functions/v2/firebase/upper-firestore/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/http_logging/requirements-test.txt b/functions/v2/http_logging/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/v2/http_logging/requirements-test.txt +++ b/functions/v2/http_logging/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/imagemagick/requirements-test.txt b/functions/v2/imagemagick/requirements-test.txt index c6ff41faf3f..b0e8a4a8ace 100644 --- a/functions/v2/imagemagick/requirements-test.txt +++ b/functions/v2/imagemagick/requirements-test.txt @@ -1,3 +1,3 @@ six==1.16.0 uuid==1.30 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/label_gce_instance/requirements-test.txt b/functions/v2/label_gce_instance/requirements-test.txt index 241f2ead47a..fb125a765d8 100644 --- a/functions/v2/label_gce_instance/requirements-test.txt +++ b/functions/v2/label_gce_instance/requirements-test.txt @@ -1,4 +1,4 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" backoff==2.2.1; python_version < "3.7" backoff==2.2.1; python_version >= "3.7" cloudevents==1.11.0 diff --git a/functions/v2/log/helloworld/requirements-test.txt b/functions/v2/log/helloworld/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/v2/log/helloworld/requirements-test.txt +++ b/functions/v2/log/helloworld/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/log/stackdriver/requirements-test.txt b/functions/v2/log/stackdriver/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/v2/log/stackdriver/requirements-test.txt +++ b/functions/v2/log/stackdriver/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/ocr/noxfile_config.py b/functions/v2/ocr/noxfile_config.py index c5762624034..2c0d1f22101 100644 --- a/functions/v2/ocr/noxfile_config.py +++ b/functions/v2/ocr/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Declare optional test sessions you want to opt-in. Currently we # have the following optional test sessions: # 'cloud_run' # Test session for Cloud Run application. diff --git a/functions/v2/ocr/requirements-test.txt b/functions/v2/ocr/requirements-test.txt index 8c11dec956d..70ea7e526e4 100644 --- a/functions/v2/ocr/requirements-test.txt +++ b/functions/v2/ocr/requirements-test.txt @@ -1,2 +1,2 @@ cloudevents==1.11.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/pubsub/requirements-test.txt b/functions/v2/pubsub/requirements-test.txt index 15d066af319..c9e154ba440 100644 --- a/functions/v2/pubsub/requirements-test.txt +++ b/functions/v2/pubsub/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/response_streaming/requirements.txt b/functions/v2/response_streaming/requirements.txt index 56da3662b54..a66e00cc23b 100644 --- a/functions/v2/response_streaming/requirements.txt +++ b/functions/v2/response_streaming/requirements.txt @@ -1,5 +1,5 @@ Flask==2.2.2 functions-framework==3.9.2 google-cloud-bigquery==3.27.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" Werkzeug==2.3.8 diff --git a/functions/v2/storage/noxfile_config.py b/functions/v2/storage/noxfile_config.py index 457e86f5413..0973c8621c7 100644 --- a/functions/v2/storage/noxfile_config.py +++ b/functions/v2/storage/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/functions/v2/storage/requirements-test.txt b/functions/v2/storage/requirements-test.txt index 6e4d1d97ce0..34976cd306a 100644 --- a/functions/v2/storage/requirements-test.txt +++ b/functions/v2/storage/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" cloudevents==1.11.0 \ No newline at end of file diff --git a/functions/v2/tips-avoid-infinite-retries/requirements-test.txt b/functions/v2/tips-avoid-infinite-retries/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/v2/tips-avoid-infinite-retries/requirements-test.txt +++ b/functions/v2/tips-avoid-infinite-retries/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/tips-retry/requirements-test.txt b/functions/v2/tips-retry/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/v2/tips-retry/requirements-test.txt +++ b/functions/v2/tips-retry/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/typed/googlechatbot/requirements-test.txt b/functions/v2/typed/googlechatbot/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/v2/typed/googlechatbot/requirements-test.txt +++ b/functions/v2/typed/googlechatbot/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/functions/v2/typed/greeting/requirements-test.txt b/functions/v2/typed/greeting/requirements-test.txt index ef95de28389..5be5b32d46e 100644 --- a/functions/v2/typed/greeting/requirements-test.txt +++ b/functions/v2/typed/greeting/requirements-test.txt @@ -1,2 +1,2 @@ flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10"