From 4bfaca6aedb2f552eb6ed8dd423fd3d7a4e4f2d3 Mon Sep 17 00:00:00 2001 From: David del Real Sifuentes Date: Wed, 27 May 2026 21:10:40 +0000 Subject: [PATCH 1/2] chore(several samples) Updating all instances of Pytest up to version 9.0.3 Part IV - Updated pytest to 9.0.3 for all test requirement files, restricted to Python 3.10 and newer. - Configured Nox configurations (noxfile_config.py) to test only against Python 3.10 and 3.14, dropping support for older versions. - Updated Docker-based pipeline tests to exclusively run against Python 3.14 to match container runtime environments. - Updated Dockerfiles to use Python 3.14 as the base image (python:3.14 and python:3.14-slim). - Updated system dependencies (apt-get) in Dataflow custom containers to install Python 3.14 packages and correctly link alternatives. - Updated Apache Beam SDK pulls to use the beam_python3.14_sdk image. --- notebooks/requirements-test.txt | 2 +- notebooks/samples/requirements-test.txt | 2 +- noxfile_config.py | 2 +- optimization/snippets/noxfile_config.py | 2 +- optimization/snippets/requirements-test.txt | 2 +- .../snippets-adk/agent_global/noxfile_config.py | 2 +- .../snippets-adk/agent_global/requirements-test.txt | 2 +- .../snippets-adk/agent_regional/noxfile_config.py | 2 +- .../snippets-adk/agent_regional/requirements-test.txt | 2 +- parametermanager/snippets/noxfile_config.py | 2 +- parametermanager/snippets/requirements-test.txt | 2 +- .../geospatial-classification/noxfile_config.py | 4 ++-- .../geospatial-classification/requirements-test.txt | 2 +- .../geospatial-classification/serving_app/Dockerfile | 2 +- people-and-planet-ai/image-classification/noxfile_config.py | 2 +- .../image-classification/requirements-test.txt | 2 +- .../land-cover-classification/noxfile_config.py | 6 +++--- .../land-cover-classification/requirements-test.txt | 2 +- people-and-planet-ai/timeseries-classification/Dockerfile | 4 ++-- .../timeseries-classification/noxfile_config.py | 5 +++-- .../timeseries-classification/requirements-test.txt | 2 +- .../weather-forecasting/serving/Dockerfile.backup | 2 +- .../tests/dataset_tests/noxfile_config.py | 6 +++--- .../tests/dataset_tests/requirements-test.txt | 2 +- .../tests/overview_tests/noxfile_config.py | 4 ++-- .../tests/overview_tests/requirements-test.txt | 2 +- .../tests/predictions_tests/noxfile_config.py | 4 ++-- .../tests/predictions_tests/requirements-test.txt | 2 +- .../tests/training_tests/noxfile_config.py | 4 ++-- .../tests/training_tests/requirements-test.txt | 2 +- practice-folder/beginner-sample/requirements-test.txt | 2 +- practice-folder/intermediate-sample/requirements-test.txt | 2 +- practice-folder/noxfile_config.py | 2 +- privateca/snippets/noxfile_config.py | 2 +- privateca/snippets/requirements-test.txt | 2 +- profiler/appengine/flexible/noxfile_config.py | 2 +- profiler/appengine/flexible/requirements-test.txt | 2 +- profiler/appengine/standard_python37/noxfile_config.py | 2 +- profiler/appengine/standard_python37/requirements-test.txt | 2 +- profiler/quickstart/noxfile_config.py | 2 +- profiler/quickstart/requirements-test.txt | 2 +- pubsub/streaming-analytics/noxfile_config.py | 2 +- pubsub/streaming-analytics/requirements-test.txt | 2 +- pubsublite/spark-connector/noxfile_config.py | 4 ++-- pubsublite/spark-connector/requirements-test.txt | 2 +- recaptcha_enterprise/demosite/app/Dockerfile | 2 +- recaptcha_enterprise/snippets/noxfile_config.py | 2 +- recaptcha_enterprise/snippets/requirements-test.txt | 2 +- retail/interactive-tutorials/events/noxfile_config.py | 2 +- retail/interactive-tutorials/events/requirements-test.txt | 2 +- retail/interactive-tutorials/product/requirements-test.txt | 2 +- retail/interactive-tutorials/search/noxfile_config.py | 2 +- retail/interactive-tutorials/search/requirements-test.txt | 2 +- retail/snippets/requirements-test.txt | 2 +- run/django/noxfile_config.py | 2 +- run/django/requirements-test.txt | 2 +- run/hello-broken/Dockerfile | 2 +- run/hello-broken/noxfile_config.py | 5 +++-- run/hello-broken/requirements-test.txt | 2 +- run/hello-broken/requirements.txt | 4 +--- run/helloworld/Dockerfile | 2 +- run/helloworld/requirements-test.txt | 2 +- run/idp-sql/Dockerfile | 2 +- run/idp-sql/noxfile_config.py | 5 +++-- run/idp-sql/requirements-test.txt | 2 +- run/image-processing/Dockerfile | 2 +- run/image-processing/noxfile_config.py | 5 +++-- run/image-processing/requirements-test.txt | 2 +- run/jobs/requirements-test.txt | 2 +- run/logging-manual/Dockerfile | 2 +- run/logging-manual/noxfile_config.py | 5 +++-- run/logging-manual/requirements-test.txt | 2 +- run/logging-manual/requirements.txt | 4 +--- run/markdown-preview/editor/Dockerfile | 2 +- run/markdown-preview/editor/requirements-test.txt | 2 +- run/markdown-preview/noxfile_config.py | 4 ++-- run/markdown-preview/renderer/Dockerfile | 2 +- run/markdown-preview/renderer/requirements-test.txt | 2 +- run/markdown-preview/requirements-test.txt | 2 +- run/mcp-server/Dockerfile | 2 +- run/noxfile_config.py | 2 +- run/pubsub/Dockerfile | 2 +- run/pubsub/noxfile_config.py | 5 +++-- run/pubsub/requirements-test.txt | 2 +- run/pubsub/requirements.txt | 4 +--- run/service-auth/requirements-test.txt | 2 +- run/system-package/Dockerfile | 2 +- run/system-package/noxfile_config.py | 5 +++-- run/system-package/requirements-test.txt | 2 +- run/system-package/requirements.txt | 2 +- secretmanager/snippets-adk/agent_global/noxfile_config.py | 2 +- .../snippets-adk/agent_global/requirements-test.txt | 2 +- secretmanager/snippets-adk/agent_regional/noxfile_config.py | 2 +- .../snippets-adk/agent_regional/requirements-test.txt | 2 +- secretmanager/snippets/noxfile_config.py | 2 +- secretmanager/snippets/requirements-test.txt | 2 +- securitycenter/snippets/noxfile_config.py | 2 +- securitycenter/snippets/requirements-test.txt | 2 +- securitycenter/snippets_management_api/noxfile_config.py | 2 +- .../snippets_management_api/requirements-test.txt | 2 +- securitycenter/snippets_v2/noxfile_config.py | 2 +- securitycenter/snippets_v2/requirements-test.txt | 2 +- service_extensions/callouts/add_header/noxfile_config.py | 2 +- .../callouts/add_header/requirements-test.txt | 2 +- servicedirectory/noxfile_config.py | 2 +- servicedirectory/requirements-test.txt | 2 +- speech/microphone/noxfile_config.py | 2 +- speech/microphone/requirements-test.txt | 2 +- speech/noxfile_config.py | 2 +- speech/snippets/requirements-test.txt | 2 +- storage/s3-sdk/requirements-test.txt | 2 +- storage/samples/snippets/noxfile_config.py | 2 +- storage/samples/snippets/requirements-test.txt | 3 +-- storage/signed_urls/requirements-test.txt | 2 +- storagecontrol/noxfile_config.py | 2 +- storagecontrol/requirements-test.txt | 2 +- storagetransfer/noxfile_config.py | 2 +- storagetransfer/requirements-test.txt | 2 +- talent/noxfile_config.py | 2 +- talent/requirements-test.txt | 2 +- texttospeech/snippets/requirements-test.txt | 2 +- tpu/noxfile_config.py | 2 +- tpu/requirements-test.txt | 2 +- trace/cloud-trace-demo-app-opentelemetry/app/Dockerfile | 2 +- .../app/requirements-test.txt | 2 +- trace/trace-python-sample-opentelemetry/noxfile_config.py | 4 ++-- .../trace-python-sample-opentelemetry/requirements-test.txt | 2 +- .../snippets/hybrid_glossaries/requirements-test.txt | 2 +- translate/samples/snippets/noxfile_config.py | 2 +- translate/samples/snippets/requirements-test.txt | 2 +- video/live-stream/noxfile_config.py | 2 +- video/live-stream/requirements-test.txt | 2 +- video/stitcher/noxfile_config.py | 2 +- video/stitcher/requirements-test.txt | 2 +- video/transcoder/noxfile_config.py | 2 +- video/transcoder/requirements-test.txt | 2 +- videointelligence/samples/analyze/requirements-test.txt | 2 +- videointelligence/samples/labels/requirements-test.txt | 2 +- videointelligence/samples/quickstart/requirements-test.txt | 2 +- videointelligence/samples/shotchange/requirements-test.txt | 2 +- vision/snippets/crop_hints/noxfile_config.py | 2 +- vision/snippets/crop_hints/requirements-test.txt | 2 +- vision/snippets/detect/requirements-test.txt | 2 +- vision/snippets/document_text/noxfile_config.py | 2 +- vision/snippets/document_text/requirements-test.txt | 2 +- vision/snippets/face_detection/noxfile_config.py | 2 +- vision/snippets/face_detection/requirements-test.txt | 2 +- vision/snippets/product_search/requirements-test.txt | 2 +- vision/snippets/quickstart/requirements-test.txt | 2 +- vision/snippets/web/requirements-test.txt | 2 +- vmwareengine/cloud-client/noxfile_config.py | 2 +- vmwareengine/cloud-client/requirements-test.txt | 2 +- webrisk/snippets/noxfile_config.py | 2 +- webrisk/snippets/requirements-test.txt | 2 +- workflows/cloud-client/noxfile_config.py | 2 +- workflows/cloud-client/requirements-test.txt | 2 +- 156 files changed, 182 insertions(+), 182 deletions(-) diff --git a/notebooks/requirements-test.txt b/notebooks/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/notebooks/requirements-test.txt +++ b/notebooks/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/notebooks/samples/requirements-test.txt b/notebooks/samples/requirements-test.txt index 060ed652e0..c9e154ba44 100644 --- a/notebooks/samples/requirements-test.txt +++ b/notebooks/samples/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/noxfile_config.py b/noxfile_config.py index 2a0f115c38..e25391c7f8 100644 --- a/noxfile_config.py +++ b/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"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/optimization/snippets/noxfile_config.py b/optimization/snippets/noxfile_config.py index 457e86f541..e25391c7f8 100644 --- a/optimization/snippets/noxfile_config.py +++ b/optimization/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.10", "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/optimization/snippets/requirements-test.txt b/optimization/snippets/requirements-test.txt index 24ad1f2981..0161e90f7a 100644 --- a/optimization/snippets/requirements-test.txt +++ b/optimization/snippets/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/parametermanager/snippets-adk/agent_global/noxfile_config.py b/parametermanager/snippets-adk/agent_global/noxfile_config.py index 2a42a33e5e..876d16cd27 100644 --- a/parametermanager/snippets-adk/agent_global/noxfile_config.py +++ b/parametermanager/snippets-adk/agent_global/noxfile_config.py @@ -16,7 +16,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.10", "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/parametermanager/snippets-adk/agent_global/requirements-test.txt b/parametermanager/snippets-adk/agent_global/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/parametermanager/snippets-adk/agent_global/requirements-test.txt +++ b/parametermanager/snippets-adk/agent_global/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/parametermanager/snippets-adk/agent_regional/noxfile_config.py b/parametermanager/snippets-adk/agent_regional/noxfile_config.py index 2a42a33e5e..876d16cd27 100644 --- a/parametermanager/snippets-adk/agent_regional/noxfile_config.py +++ b/parametermanager/snippets-adk/agent_regional/noxfile_config.py @@ -16,7 +16,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.10", "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/parametermanager/snippets-adk/agent_regional/requirements-test.txt b/parametermanager/snippets-adk/agent_regional/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/parametermanager/snippets-adk/agent_regional/requirements-test.txt +++ b/parametermanager/snippets-adk/agent_regional/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/parametermanager/snippets/noxfile_config.py b/parametermanager/snippets/noxfile_config.py index 8123ee4c7e..4c1e4301e1 100644 --- a/parametermanager/snippets/noxfile_config.py +++ b/parametermanager/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"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/parametermanager/snippets/requirements-test.txt b/parametermanager/snippets/requirements-test.txt index 8807ca968d..f70a9b5f32 100644 --- a/parametermanager/snippets/requirements-test.txt +++ b/parametermanager/snippets/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-secret-manager==2.21.1 google-cloud-kms==3.2.1 diff --git a/people-and-planet-ai/geospatial-classification/noxfile_config.py b/people-and-planet-ai/geospatial-classification/noxfile_config.py index aa2149abb0..769eafd8c7 100644 --- a/people-and-planet-ai/geospatial-classification/noxfile_config.py +++ b/people-and-planet-ai/geospatial-classification/noxfile_config.py @@ -22,8 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # > ℹ️ Test only on Python 3.10. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + # > ℹ️ Test only on Python 3.14. + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/geospatial-classification/requirements-test.txt b/people-and-planet-ai/geospatial-classification/requirements-test.txt index 4a9e4d68dd..60930e396c 100644 --- a/people-and-planet-ai/geospatial-classification/requirements-test.txt +++ b/people-and-planet-ai/geospatial-classification/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-xdist==3.3.0 diff --git a/people-and-planet-ai/geospatial-classification/serving_app/Dockerfile b/people-and-planet-ai/geospatial-classification/serving_app/Dockerfile index 24fe02c4ab..9ffdf266bd 100644 --- a/people-and-planet-ai/geospatial-classification/serving_app/Dockerfile +++ b/people-and-planet-ai/geospatial-classification/serving_app/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim +FROM python:3.14-slim WORKDIR /app diff --git a/people-and-planet-ai/image-classification/noxfile_config.py b/people-and-planet-ai/image-classification/noxfile_config.py index 6048504d2c..c1e02dd302 100644 --- a/people-and-planet-ai/image-classification/noxfile_config.py +++ b/people-and-planet-ai/image-classification/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # NOTE: Apache Beam does not currently support Python 3.12. - "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.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/people-and-planet-ai/image-classification/requirements-test.txt b/people-and-planet-ai/image-classification/requirements-test.txt index ddf696ef54..21e891cc05 100644 --- a/people-and-planet-ai/image-classification/requirements-test.txt +++ b/people-and-planet-ai/image-classification/requirements-test.txt @@ -1,3 +1,3 @@ google-cloud-storage==2.16.0 pytest-xdist==3.5.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/people-and-planet-ai/land-cover-classification/noxfile_config.py b/people-and-planet-ai/land-cover-classification/noxfile_config.py index 228e1eb58f..7d23fd087e 100644 --- a/people-and-planet-ai/land-cover-classification/noxfile_config.py +++ b/people-and-planet-ai/land-cover-classification/noxfile_config.py @@ -22,11 +22,11 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # ℹ️ Test only in Python 3.9 since that's what Dataflow currently supports: + # ℹ️ Test only in Python 3.14 since that's what Dataflow currently supports: # https://cloud.google.com/dataflow/docs/support/beam-runtime-support - # "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], + # "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], # Temp disable until team has time for refactoring tests - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/land-cover-classification/requirements-test.txt b/people-and-planet-ai/land-cover-classification/requirements-test.txt index 7fbed6e836..e7f296a21a 100644 --- a/people-and-planet-ai/land-cover-classification/requirements-test.txt +++ b/people-and-planet-ai/land-cover-classification/requirements-test.txt @@ -4,4 +4,4 @@ importnb==2023.11.1 ipykernel==6.23.3 nbclient==0.8.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/people-and-planet-ai/timeseries-classification/Dockerfile b/people-and-planet-ai/timeseries-classification/Dockerfile index 086b13d11f..5ce823f7f2 100644 --- a/people-and-planet-ai/timeseries-classification/Dockerfile +++ b/people-and-planet-ai/timeseries-classification/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM python:3.10-slim +FROM python:3.14-slim WORKDIR /pipeline @@ -25,5 +25,5 @@ RUN pip install --no-cache-dir --upgrade pip \ # Set the entrypoint to Apache Beam SDK worker launcher. # Check this matches the apache-beam version in the requirements.txt -COPY --from=apache/beam_python3.10_sdk:2.62.0 /opt/apache/beam /opt/apache/beam +COPY --from=apache/beam_python3.14_sdk:2.73.0 /opt/apache/beam /opt/apache/beam ENTRYPOINT [ "/opt/apache/beam/boot" ] diff --git a/people-and-planet-ai/timeseries-classification/noxfile_config.py b/people-and-planet-ai/timeseries-classification/noxfile_config.py index f8531486af..ca7ea47357 100644 --- a/people-and-planet-ai/timeseries-classification/noxfile_config.py +++ b/people-and-planet-ai/timeseries-classification/noxfile_config.py @@ -22,10 +22,11 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # > ℹ️ Test only on Python 3.10. + # > ℹ️ Test only on Python 3.14. # > 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"], + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/timeseries-classification/requirements-test.txt b/people-and-planet-ai/timeseries-classification/requirements-test.txt index c73bf42b80..f840fc2a86 100644 --- a/people-and-planet-ai/timeseries-classification/requirements-test.txt +++ b/people-and-planet-ai/timeseries-classification/requirements-test.txt @@ -1,3 +1,3 @@ google-api-python-client==2.131.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/people-and-planet-ai/weather-forecasting/serving/Dockerfile.backup b/people-and-planet-ai/weather-forecasting/serving/Dockerfile.backup index 2ee37566e4..47113bf3d8 100644 --- a/people-and-planet-ai/weather-forecasting/serving/Dockerfile.backup +++ b/people-and-planet-ai/weather-forecasting/serving/Dockerfile.backup @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM python:slim +FROM python:3.14-slim WORKDIR /app COPY . ./ diff --git a/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py index 81b47f2ab3..8d5747b1f3 100644 --- a/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py @@ -22,10 +22,10 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # 💡 Only test with Python 3.10 - # "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11"], + # 💡 Only test with Python 3.14 + # "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], # Temp disable until team has time for refactoring tests - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/weather-forecasting/tests/dataset_tests/requirements-test.txt b/people-and-planet-ai/weather-forecasting/tests/dataset_tests/requirements-test.txt index f4245b7398..15381c3059 100644 --- a/people-and-planet-ai/weather-forecasting/tests/dataset_tests/requirements-test.txt +++ b/people-and-planet-ai/weather-forecasting/tests/dataset_tests/requirements-test.txt @@ -1,4 +1,4 @@ ipykernel==6.23.3 nbclient==0.8.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py index 08cdcbbe70..8852e12fd5 100644 --- a/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py @@ -22,8 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # 💡 Only test with Python 3.10 - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + # 💡 Only test with Python 3.14 + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/weather-forecasting/tests/overview_tests/requirements-test.txt b/people-and-planet-ai/weather-forecasting/tests/overview_tests/requirements-test.txt index f4245b7398..15381c3059 100644 --- a/people-and-planet-ai/weather-forecasting/tests/overview_tests/requirements-test.txt +++ b/people-and-planet-ai/weather-forecasting/tests/overview_tests/requirements-test.txt @@ -1,4 +1,4 @@ ipykernel==6.23.3 nbclient==0.8.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py index 08cdcbbe70..8852e12fd5 100644 --- a/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py @@ -22,8 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # 💡 Only test with Python 3.10 - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + # 💡 Only test with Python 3.14 + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/weather-forecasting/tests/predictions_tests/requirements-test.txt b/people-and-planet-ai/weather-forecasting/tests/predictions_tests/requirements-test.txt index f4245b7398..15381c3059 100644 --- a/people-and-planet-ai/weather-forecasting/tests/predictions_tests/requirements-test.txt +++ b/people-and-planet-ai/weather-forecasting/tests/predictions_tests/requirements-test.txt @@ -1,4 +1,4 @@ ipykernel==6.23.3 nbclient==0.8.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py index 08cdcbbe70..8852e12fd5 100644 --- a/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py @@ -22,8 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # 💡 Only test with Python 3.10 - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], + # 💡 Only test with Python 3.14 + "ignored_versions": ["3.8", "3.9", "3.10", "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/people-and-planet-ai/weather-forecasting/tests/training_tests/requirements-test.txt b/people-and-planet-ai/weather-forecasting/tests/training_tests/requirements-test.txt index 316d7ea45a..94ea22e57d 100644 --- a/people-and-planet-ai/weather-forecasting/tests/training_tests/requirements-test.txt +++ b/people-and-planet-ai/weather-forecasting/tests/training_tests/requirements-test.txt @@ -2,4 +2,4 @@ ipykernel==6.23.3 nbclient==0.8.0 pytest-xdist==3.3.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/practice-folder/beginner-sample/requirements-test.txt b/practice-folder/beginner-sample/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/practice-folder/beginner-sample/requirements-test.txt +++ b/practice-folder/beginner-sample/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/practice-folder/intermediate-sample/requirements-test.txt b/practice-folder/intermediate-sample/requirements-test.txt index 73e69569a5..dc96a119d1 100644 --- a/practice-folder/intermediate-sample/requirements-test.txt +++ b/practice-folder/intermediate-sample/requirements-test.txt @@ -1,2 +1,2 @@ google-cloud-storage==2.13.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/practice-folder/noxfile_config.py b/practice-folder/noxfile_config.py index 8809d995c2..bde8d9e0ea 100644 --- a/practice-folder/noxfile_config.py +++ b/practice-folder/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"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/privateca/snippets/noxfile_config.py b/privateca/snippets/noxfile_config.py index 5125a5da53..e587d4a570 100644 --- a/privateca/snippets/noxfile_config.py +++ b/privateca/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.10", "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/privateca/snippets/requirements-test.txt b/privateca/snippets/requirements-test.txt index bfeffa644e..4bbc0153d2 100644 --- a/privateca/snippets/requirements-test.txt +++ b/privateca/snippets/requirements-test.txt @@ -1,4 +1,4 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-auth==2.38.0 cryptography==45.0.1 backoff==2.2.1 \ No newline at end of file diff --git a/profiler/appengine/flexible/noxfile_config.py b/profiler/appengine/flexible/noxfile_config.py index 5c4a4b39a2..02f3e3d84d 100644 --- a/profiler/appengine/flexible/noxfile_config.py +++ b/profiler/appengine/flexible/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # 3.11 is currently unsupported - "ignored_versions": ["2.7", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/profiler/appengine/flexible/requirements-test.txt b/profiler/appengine/flexible/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/profiler/appengine/flexible/requirements-test.txt +++ b/profiler/appengine/flexible/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/profiler/appengine/standard_python37/noxfile_config.py b/profiler/appengine/standard_python37/noxfile_config.py index f61d176ce1..f8b1cd1b95 100644 --- a/profiler/appengine/standard_python37/noxfile_config.py +++ b/profiler/appengine/standard_python37/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.10", "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/profiler/appengine/standard_python37/requirements-test.txt b/profiler/appengine/standard_python37/requirements-test.txt index c021c5b5b7..c9e154ba44 100644 --- a/profiler/appengine/standard_python37/requirements-test.txt +++ b/profiler/appengine/standard_python37/requirements-test.txt @@ -1 +1 @@ -pytest==7.2.2 +pytest==9.0.3; python_version >= "3.10" diff --git a/profiler/quickstart/noxfile_config.py b/profiler/quickstart/noxfile_config.py index aef7b53416..f8b1cd1b95 100644 --- a/profiler/quickstart/noxfile_config.py +++ b/profiler/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.11"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/profiler/quickstart/requirements-test.txt b/profiler/quickstart/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/profiler/quickstart/requirements-test.txt +++ b/profiler/quickstart/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/pubsub/streaming-analytics/noxfile_config.py b/pubsub/streaming-analytics/noxfile_config.py index 17b48115e0..bd5aa116f3 100644 --- a/pubsub/streaming-analytics/noxfile_config.py +++ b/pubsub/streaming-analytics/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.9", "3.14"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/pubsub/streaming-analytics/requirements-test.txt b/pubsub/streaming-analytics/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/pubsub/streaming-analytics/requirements-test.txt +++ b/pubsub/streaming-analytics/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/pubsublite/spark-connector/noxfile_config.py b/pubsublite/spark-connector/noxfile_config.py index 8cf1efb88b..e9ba9a3a0a 100644 --- a/pubsublite/spark-connector/noxfile_config.py +++ b/pubsublite/spark-connector/noxfile_config.py @@ -22,8 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # NOTE: We currently only run the test in Python 3.8. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], + # NOTE: We currently only run the test in Python 3.14. + "ignored_versions": ["3.8", "3.9", "3.10", "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/pubsublite/spark-connector/requirements-test.txt b/pubsublite/spark-connector/requirements-test.txt index b90e0072ef..98c5f8ce5f 100644 --- a/pubsublite/spark-connector/requirements-test.txt +++ b/pubsublite/spark-connector/requirements-test.txt @@ -1,4 +1,4 @@ google-cloud-dataproc==5.4.3 google-cloud-pubsublite==1.11.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-storage==2.9.0 diff --git a/recaptcha_enterprise/demosite/app/Dockerfile b/recaptcha_enterprise/demosite/app/Dockerfile index 101ec30805..e03b01c3ce 100644 --- a/recaptcha_enterprise/demosite/app/Dockerfile +++ b/recaptcha_enterprise/demosite/app/Dockerfile @@ -16,7 +16,7 @@ # Use the official lightweight Python image. # https://hub.docker.com/_/python -FROM python:3.11-slim +FROM python:3.14-slim # Allow statements and log messages to immediately appear in the Knative logs ENV PYTHONUNBUFFERED True diff --git a/recaptcha_enterprise/snippets/noxfile_config.py b/recaptcha_enterprise/snippets/noxfile_config.py index 75d566657c..447b5e0ce0 100644 --- a/recaptcha_enterprise/snippets/noxfile_config.py +++ b/recaptcha_enterprise/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.10", "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/recaptcha_enterprise/snippets/requirements-test.txt b/recaptcha_enterprise/snippets/requirements-test.txt index 814cf66999..c8433d91a3 100644 --- a/recaptcha_enterprise/snippets/requirements-test.txt +++ b/recaptcha_enterprise/snippets/requirements-test.txt @@ -1,6 +1,6 @@ selenium==4.10.0 Flask==2.2.2 Werkzeug==2.3.8 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-flask==1.2.0 webdriver-manager==4.0.2 \ No newline at end of file diff --git a/retail/interactive-tutorials/events/noxfile_config.py b/retail/interactive-tutorials/events/noxfile_config.py index 94eaaac27f..b38fef4554 100644 --- a/retail/interactive-tutorials/events/noxfile_config.py +++ b/retail/interactive-tutorials/events/noxfile_config.py @@ -19,7 +19,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.10", "3.11", "3.12", "3.13"], # An envvar key for determining the project id to use. Change it # to 'PROJECT_NUMBER' if you want to opt in using a # build specific Cloud project. You can also use your own string diff --git a/retail/interactive-tutorials/events/requirements-test.txt b/retail/interactive-tutorials/events/requirements-test.txt index 7e9a7817af..0e515abf28 100644 --- a/retail/interactive-tutorials/events/requirements-test.txt +++ b/retail/interactive-tutorials/events/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-xdist==3.3.0 google-cloud-testutils==1.5.0 diff --git a/retail/interactive-tutorials/product/requirements-test.txt b/retail/interactive-tutorials/product/requirements-test.txt index 7e9a7817af..0e515abf28 100644 --- a/retail/interactive-tutorials/product/requirements-test.txt +++ b/retail/interactive-tutorials/product/requirements-test.txt @@ -1,3 +1,3 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-xdist==3.3.0 google-cloud-testutils==1.5.0 diff --git a/retail/interactive-tutorials/search/noxfile_config.py b/retail/interactive-tutorials/search/noxfile_config.py index 2c248698ea..dde375ae6d 100644 --- a/retail/interactive-tutorials/search/noxfile_config.py +++ b/retail/interactive-tutorials/search/noxfile_config.py @@ -19,7 +19,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.10", "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/retail/interactive-tutorials/search/requirements-test.txt b/retail/interactive-tutorials/search/requirements-test.txt index 4a9e4d68dd..60930e396c 100644 --- a/retail/interactive-tutorials/search/requirements-test.txt +++ b/retail/interactive-tutorials/search/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-xdist==3.3.0 diff --git a/retail/snippets/requirements-test.txt b/retail/snippets/requirements-test.txt index ad59a67d1f..94944adc2f 100644 --- a/retail/snippets/requirements-test.txt +++ b/retail/snippets/requirements-test.txt @@ -1,4 +1,4 @@ -pytest +pytest==9.0.3; python_version >= "3.10" pytest-xdist mock google-cloud-retail>=2.10.0 diff --git a/run/django/noxfile_config.py b/run/django/noxfile_config.py index e928b32a2d..95714ecc9c 100644 --- a/run/django/noxfile_config.py +++ b/run/django/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"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], # Old samples are opted out of enforcing Python type hints # All new samples should feature the "enforce_type_hints": True, diff --git a/run/django/requirements-test.txt b/run/django/requirements-test.txt index 60588b103c..f0788b7f90 100644 --- a/run/django/requirements-test.txt +++ b/run/django/requirements-test.txt @@ -1,4 +1,4 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" pytest-django==4.9.0 requests==2.31.0 diff --git a/run/hello-broken/Dockerfile b/run/hello-broken/Dockerfile index b14087fdd1..f5683e1a38 100644 --- a/run/hello-broken/Dockerfile +++ b/run/hello-broken/Dockerfile @@ -16,7 +16,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11 +FROM python:3.14 # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/hello-broken/noxfile_config.py b/run/hello-broken/noxfile_config.py index 96e1569c4e..434acff468 100644 --- a/run/hello-broken/noxfile_config.py +++ b/run/hello-broken/noxfile_config.py @@ -22,8 +22,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py38 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], + # We only run the cloud run tests in py314 session. + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "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/run/hello-broken/requirements-test.txt b/run/hello-broken/requirements-test.txt index 70f7d48328..22eed6f0bd 100644 --- a/run/hello-broken/requirements-test.txt +++ b/run/hello-broken/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.31.0 \ No newline at end of file diff --git a/run/hello-broken/requirements.txt b/run/hello-broken/requirements.txt index dbe489e3ab..afee035f31 100644 --- a/run/hello-broken/requirements.txt +++ b/run/hello-broken/requirements.txt @@ -1,6 +1,4 @@ Flask==3.0.3 -pytest==8.2.0; python_version > "3.0" -# pin pytest to 4.6.11 for Python2. -pytest==4.6.11; python_version < "3.0" +pytest==9.0.3; python_version >= "3.10" gunicorn==23.0.0 Werkzeug==3.0.3 diff --git a/run/helloworld/Dockerfile b/run/helloworld/Dockerfile index 88509b2308..2076c7f746 100644 --- a/run/helloworld/Dockerfile +++ b/run/helloworld/Dockerfile @@ -16,7 +16,7 @@ # Use the official lightweight Python image. # https://hub.docker.com/_/python -FROM python:3.11-slim +FROM python:3.14-slim # Allow statements and log messages to immediately appear in the logs ENV PYTHONUNBUFFERED True diff --git a/run/helloworld/requirements-test.txt b/run/helloworld/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/run/helloworld/requirements-test.txt +++ b/run/helloworld/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/run/idp-sql/Dockerfile b/run/idp-sql/Dockerfile index 35b5eb7326..85f4141824 100644 --- a/run/idp-sql/Dockerfile +++ b/run/idp-sql/Dockerfile @@ -4,7 +4,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11 +FROM python:3.14 # Send stdout/stderr out, do not buffer. ENV PYTHONUNBUFFERED 1 diff --git a/run/idp-sql/noxfile_config.py b/run/idp-sql/noxfile_config.py index cdad4b2503..09b26ed469 100644 --- a/run/idp-sql/noxfile_config.py +++ b/run/idp-sql/noxfile_config.py @@ -22,8 +22,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py39 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.12", "3.13"], + # We only run the cloud run tests in py314 session. + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], "enforce_type_hints": True, # 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 diff --git a/run/idp-sql/requirements-test.txt b/run/idp-sql/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/run/idp-sql/requirements-test.txt +++ b/run/idp-sql/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/run/image-processing/Dockerfile b/run/image-processing/Dockerfile index 9c143da4a9..f706933dc5 100644 --- a/run/image-processing/Dockerfile +++ b/run/image-processing/Dockerfile @@ -14,7 +14,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11 +FROM python:3.14 # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/image-processing/noxfile_config.py b/run/image-processing/noxfile_config.py index 96e1569c4e..434acff468 100644 --- a/run/image-processing/noxfile_config.py +++ b/run/image-processing/noxfile_config.py @@ -22,8 +22,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py38 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], + # We only run the cloud run tests in py314 session. + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "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/run/image-processing/requirements-test.txt b/run/image-processing/requirements-test.txt index 3d81f0a8a5..fbb2a3cf04 100644 --- a/run/image-processing/requirements-test.txt +++ b/run/image-processing/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-pubsub==2.28.0 diff --git a/run/jobs/requirements-test.txt b/run/jobs/requirements-test.txt index 058efde498..d6193d1434 100644 --- a/run/jobs/requirements-test.txt +++ b/run/jobs/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-logging==3.11.4 diff --git a/run/logging-manual/Dockerfile b/run/logging-manual/Dockerfile index fb331105ac..4217df097e 100644 --- a/run/logging-manual/Dockerfile +++ b/run/logging-manual/Dockerfile @@ -14,7 +14,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11 +FROM python:3.14 # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/logging-manual/noxfile_config.py b/run/logging-manual/noxfile_config.py index 96e1569c4e..434acff468 100644 --- a/run/logging-manual/noxfile_config.py +++ b/run/logging-manual/noxfile_config.py @@ -22,8 +22,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py38 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], + # We only run the cloud run tests in py314 session. + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "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/run/logging-manual/requirements-test.txt b/run/logging-manual/requirements-test.txt index cae3680829..8e436ecf1b 100644 --- a/run/logging-manual/requirements-test.txt +++ b/run/logging-manual/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-logging==3.15.0 diff --git a/run/logging-manual/requirements.txt b/run/logging-manual/requirements.txt index dbe489e3ab..afee035f31 100644 --- a/run/logging-manual/requirements.txt +++ b/run/logging-manual/requirements.txt @@ -1,6 +1,4 @@ Flask==3.0.3 -pytest==8.2.0; python_version > "3.0" -# pin pytest to 4.6.11 for Python2. -pytest==4.6.11; python_version < "3.0" +pytest==9.0.3; python_version >= "3.10" gunicorn==23.0.0 Werkzeug==3.0.3 diff --git a/run/markdown-preview/editor/Dockerfile b/run/markdown-preview/editor/Dockerfile index ba2b500b0b..7212c08cb5 100644 --- a/run/markdown-preview/editor/Dockerfile +++ b/run/markdown-preview/editor/Dockerfile @@ -14,7 +14,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11-slim +FROM python:3.14-slim # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/markdown-preview/editor/requirements-test.txt b/run/markdown-preview/editor/requirements-test.txt index 060ed652e0..c9e154ba44 100644 --- a/run/markdown-preview/editor/requirements-test.txt +++ b/run/markdown-preview/editor/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/run/markdown-preview/noxfile_config.py b/run/markdown-preview/noxfile_config.py index 96e1569c4e..856acd3bcf 100644 --- a/run/markdown-preview/noxfile_config.py +++ b/run/markdown-preview/noxfile_config.py @@ -22,8 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py38 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], + # We only run the cloud run tests in py314 session. + "ignored_versions": ["3.8", "3.9", "3.10", "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/run/markdown-preview/renderer/Dockerfile b/run/markdown-preview/renderer/Dockerfile index ba2b500b0b..7212c08cb5 100644 --- a/run/markdown-preview/renderer/Dockerfile +++ b/run/markdown-preview/renderer/Dockerfile @@ -14,7 +14,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11-slim +FROM python:3.14-slim # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/markdown-preview/renderer/requirements-test.txt b/run/markdown-preview/renderer/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/run/markdown-preview/renderer/requirements-test.txt +++ b/run/markdown-preview/renderer/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/run/markdown-preview/requirements-test.txt b/run/markdown-preview/requirements-test.txt index afb320380b..2696c78e37 100644 --- a/run/markdown-preview/requirements-test.txt +++ b/run/markdown-preview/requirements-test.txt @@ -1,4 +1,4 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-auth==2.38.0 google-api-python-client==2.131.0 diff --git a/run/mcp-server/Dockerfile b/run/mcp-server/Dockerfile index 9f8d405ca8..5a53b08cce 100644 --- a/run/mcp-server/Dockerfile +++ b/run/mcp-server/Dockerfile @@ -14,7 +14,7 @@ # [START cloudrun_mcpserver_dockerfile_python] # Use the official Python image -FROM python:3.13-slim +FROM python:3.14-slim # Install uv COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ diff --git a/run/noxfile_config.py b/run/noxfile_config.py index 92da6db44d..485aedb4ec 100644 --- a/run/noxfile_config.py +++ b/run/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.10", "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/run/pubsub/Dockerfile b/run/pubsub/Dockerfile index 8750d59d28..cee20723dd 100644 --- a/run/pubsub/Dockerfile +++ b/run/pubsub/Dockerfile @@ -16,7 +16,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11 +FROM python:3.14 # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/pubsub/noxfile_config.py b/run/pubsub/noxfile_config.py index 96e1569c4e..434acff468 100644 --- a/run/pubsub/noxfile_config.py +++ b/run/pubsub/noxfile_config.py @@ -22,8 +22,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py38 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], + # We only run the cloud run tests in py314 session. + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "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/run/pubsub/requirements-test.txt b/run/pubsub/requirements-test.txt index 305f4f1415..b9a2484d95 100644 --- a/run/pubsub/requirements-test.txt +++ b/run/pubsub/requirements-test.txt @@ -1,4 +1,4 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-logging==3.15.0 google-cloud-pubsub==2.36.0 diff --git a/run/pubsub/requirements.txt b/run/pubsub/requirements.txt index dbe489e3ab..afee035f31 100644 --- a/run/pubsub/requirements.txt +++ b/run/pubsub/requirements.txt @@ -1,6 +1,4 @@ Flask==3.0.3 -pytest==8.2.0; python_version > "3.0" -# pin pytest to 4.6.11 for Python2. -pytest==4.6.11; python_version < "3.0" +pytest==9.0.3; python_version >= "3.10" gunicorn==23.0.0 Werkzeug==3.0.3 diff --git a/run/service-auth/requirements-test.txt b/run/service-auth/requirements-test.txt index de9737aeae..975d5ee58c 100644 --- a/run/service-auth/requirements-test.txt +++ b/run/service-auth/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.3.5 +pytest==9.0.3; python_version >= "3.10" backoff==2.2.1 diff --git a/run/system-package/Dockerfile b/run/system-package/Dockerfile index 9abfd65457..7e16036d31 100644 --- a/run/system-package/Dockerfile +++ b/run/system-package/Dockerfile @@ -14,7 +14,7 @@ # Use the official Python image. # https://hub.docker.com/_/python -FROM python:3.11 +FROM python:3.14 # Allow statements and log messages to immediately appear in the Cloud Run logs ENV PYTHONUNBUFFERED True diff --git a/run/system-package/noxfile_config.py b/run/system-package/noxfile_config.py index 96e1569c4e..434acff468 100644 --- a/run/system-package/noxfile_config.py +++ b/run/system-package/noxfile_config.py @@ -22,8 +22,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # We only run the cloud run tests in py38 session. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], + # We only run the cloud run tests in py314 session. + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.14) + "ignored_versions": ["3.8", "3.9", "3.10", "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/run/system-package/requirements-test.txt b/run/system-package/requirements-test.txt index 70f7d48328..22eed6f0bd 100644 --- a/run/system-package/requirements-test.txt +++ b/run/system-package/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.31.0 \ No newline at end of file diff --git a/run/system-package/requirements.txt b/run/system-package/requirements.txt index a4bc11c9da..afee035f31 100644 --- a/run/system-package/requirements.txt +++ b/run/system-package/requirements.txt @@ -1,4 +1,4 @@ Flask==3.0.3 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" gunicorn==23.0.0 Werkzeug==3.0.3 diff --git a/secretmanager/snippets-adk/agent_global/noxfile_config.py b/secretmanager/snippets-adk/agent_global/noxfile_config.py index 873ef83d52..fcb86e61b1 100644 --- a/secretmanager/snippets-adk/agent_global/noxfile_config.py +++ b/secretmanager/snippets-adk/agent_global/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.11", "3.12"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/secretmanager/snippets-adk/agent_global/requirements-test.txt b/secretmanager/snippets-adk/agent_global/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/secretmanager/snippets-adk/agent_global/requirements-test.txt +++ b/secretmanager/snippets-adk/agent_global/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/secretmanager/snippets-adk/agent_regional/noxfile_config.py b/secretmanager/snippets-adk/agent_regional/noxfile_config.py index 873ef83d52..fcb86e61b1 100644 --- a/secretmanager/snippets-adk/agent_regional/noxfile_config.py +++ b/secretmanager/snippets-adk/agent_regional/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.11", "3.12"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/secretmanager/snippets-adk/agent_regional/requirements-test.txt b/secretmanager/snippets-adk/agent_regional/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/secretmanager/snippets-adk/agent_regional/requirements-test.txt +++ b/secretmanager/snippets-adk/agent_regional/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/secretmanager/snippets/noxfile_config.py b/secretmanager/snippets/noxfile_config.py index 71e6547cf5..fcb86e61b1 100644 --- a/secretmanager/snippets/noxfile_config.py +++ b/secretmanager/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.10", "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/secretmanager/snippets/requirements-test.txt b/secretmanager/snippets/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/secretmanager/snippets/requirements-test.txt +++ b/secretmanager/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/securitycenter/snippets/noxfile_config.py b/securitycenter/snippets/noxfile_config.py index cb835de26c..4c22ca92d9 100644 --- a/securitycenter/snippets/noxfile_config.py +++ b/securitycenter/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.10", "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/securitycenter/snippets/requirements-test.txt b/securitycenter/snippets/requirements-test.txt index e8c3b8ea42..483327066e 100644 --- a/securitycenter/snippets/requirements-test.txt +++ b/securitycenter/snippets/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-bigquery==3.30.0 diff --git a/securitycenter/snippets_management_api/noxfile_config.py b/securitycenter/snippets_management_api/noxfile_config.py index dab1f337e8..5c09cb3a94 100644 --- a/securitycenter/snippets_management_api/noxfile_config.py +++ b/securitycenter/snippets_management_api/noxfile_config.py @@ -25,7 +25,7 @@ # You can opt out from the test for specific Python versions. # SKIPPED VERSIONS: due to concurrency issues editing multiple org level # custom modules, only test these samples on latest Python. - "ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/securitycenter/snippets_management_api/requirements-test.txt b/securitycenter/snippets_management_api/requirements-test.txt index bdda8c985a..2b9135fae4 100644 --- a/securitycenter/snippets_management_api/requirements-test.txt +++ b/securitycenter/snippets_management_api/requirements-test.txt @@ -1,4 +1,4 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-bigquery==3.27.0 google-cloud-securitycentermanagement==0.1.21 diff --git a/securitycenter/snippets_v2/noxfile_config.py b/securitycenter/snippets_v2/noxfile_config.py index 2303f24028..c071cb727e 100644 --- a/securitycenter/snippets_v2/noxfile_config.py +++ b/securitycenter/snippets_v2/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.10", "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/securitycenter/snippets_v2/requirements-test.txt b/securitycenter/snippets_v2/requirements-test.txt index 367779765d..4f3e0f8aff 100644 --- a/securitycenter/snippets_v2/requirements-test.txt +++ b/securitycenter/snippets_v2/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-bigquery==3.27.0 diff --git a/service_extensions/callouts/add_header/noxfile_config.py b/service_extensions/callouts/add_header/noxfile_config.py index ef7d95212e..de0aa8b0bd 100644 --- a/service_extensions/callouts/add_header/noxfile_config.py +++ b/service_extensions/callouts/add_header/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # Supported versions are >= 3.7 as per https://pypi.org/project/grpcio/ - "ignored_versions": ["2.7", "3.6", "3.7", "3.12", "3.13"], # "3.9", "3.8", "3.10", "3.11" + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], # "3.9", "3.8", "3.10", "3.11" # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/service_extensions/callouts/add_header/requirements-test.txt b/service_extensions/callouts/add_header/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/service_extensions/callouts/add_header/requirements-test.txt +++ b/service_extensions/callouts/add_header/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/servicedirectory/noxfile_config.py b/servicedirectory/noxfile_config.py index 9a4b880f93..e25391c7f8 100644 --- a/servicedirectory/noxfile_config.py +++ b/servicedirectory/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.10", "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/servicedirectory/requirements-test.txt b/servicedirectory/requirements-test.txt index f3230681cd..79932f8353 100644 --- a/servicedirectory/requirements-test.txt +++ b/servicedirectory/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/speech/microphone/noxfile_config.py b/speech/microphone/noxfile_config.py index 0ec540a725..3072a9d9f5 100644 --- a/speech/microphone/noxfile_config.py +++ b/speech/microphone/noxfile_config.py @@ -15,7 +15,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.10", "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/speech/microphone/requirements-test.txt b/speech/microphone/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/speech/microphone/requirements-test.txt +++ b/speech/microphone/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/speech/noxfile_config.py b/speech/noxfile_config.py index 9a4b880f93..e25391c7f8 100644 --- a/speech/noxfile_config.py +++ b/speech/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.10", "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/speech/snippets/requirements-test.txt b/speech/snippets/requirements-test.txt index ffe1c50e11..b85518d511 100644 --- a/speech/snippets/requirements-test.txt +++ b/speech/snippets/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 flaky==3.8.1 -pytest==8.2.0 \ No newline at end of file +pytest==9.0.3; python_version >= "3.10" diff --git a/storage/s3-sdk/requirements-test.txt b/storage/s3-sdk/requirements-test.txt index 6ab6579568..d3a2213188 100644 --- a/storage/s3-sdk/requirements-test.txt +++ b/storage/s3-sdk/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-storage==2.9.0; python_version < '3.7' google-cloud-storage==2.9.0; python_version > '3.6' diff --git a/storage/samples/snippets/noxfile_config.py b/storage/samples/snippets/noxfile_config.py index 7eba203a4b..714de21685 100644 --- a/storage/samples/snippets/noxfile_config.py +++ b/storage/samples/snippets/noxfile_config.py @@ -81,7 +81,7 @@ def get_cloud_kms_key(): TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - 'ignored_versions': ["2.7", "3.6", "3.7", "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 diff --git a/storage/samples/snippets/requirements-test.txt b/storage/samples/snippets/requirements-test.txt index 5644295d03..e15cc53dd0 100644 --- a/storage/samples/snippets/requirements-test.txt +++ b/storage/samples/snippets/requirements-test.txt @@ -1,4 +1,3 @@ -pytest===7.4.4; python_version == '3.7' -pytest==8.3.5; python_version >= '3.8' +pytest==9.0.3; python_version >= "3.10" mock==5.2.0 backoff==2.2.1 diff --git a/storage/signed_urls/requirements-test.txt b/storage/signed_urls/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/storage/signed_urls/requirements-test.txt +++ b/storage/signed_urls/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/storagecontrol/noxfile_config.py b/storagecontrol/noxfile_config.py index 8b10121ac2..c43ab0b6b1 100644 --- a/storagecontrol/noxfile_config.py +++ b/storagecontrol/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.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/storagecontrol/requirements-test.txt b/storagecontrol/requirements-test.txt index f2e02a98e6..2f210f53aa 100644 --- a/storagecontrol/requirements-test.txt +++ b/storagecontrol/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" google-cloud-storage==2.17.0 \ No newline at end of file diff --git a/storagetransfer/noxfile_config.py b/storagetransfer/noxfile_config.py index 5f01579a0c..71fad825b3 100644 --- a/storagetransfer/noxfile_config.py +++ b/storagetransfer/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.10", "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/storagetransfer/requirements-test.txt b/storagetransfer/requirements-test.txt index c43d6e6509..c6bf79da42 100644 --- a/storagetransfer/requirements-test.txt +++ b/storagetransfer/requirements-test.txt @@ -6,4 +6,4 @@ google-cloud-pubsub==2.28.0 google-cloud-storage==2.9.0; python_version < '3.7' google-cloud-storage==2.9.0; python_version > '3.6' google-cloud-secret-manager==2.16.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/talent/noxfile_config.py b/talent/noxfile_config.py index ef5f03e58b..28c83ef269 100644 --- a/talent/noxfile_config.py +++ b/talent/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.10", "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/talent/requirements-test.txt b/talent/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/talent/requirements-test.txt +++ b/talent/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/texttospeech/snippets/requirements-test.txt b/texttospeech/snippets/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/texttospeech/snippets/requirements-test.txt +++ b/texttospeech/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/tpu/noxfile_config.py b/tpu/noxfile_config.py index 9a4b880f93..e25391c7f8 100644 --- a/tpu/noxfile_config.py +++ b/tpu/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.10", "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/tpu/requirements-test.txt b/tpu/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/tpu/requirements-test.txt +++ b/tpu/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/trace/cloud-trace-demo-app-opentelemetry/app/Dockerfile b/trace/cloud-trace-demo-app-opentelemetry/app/Dockerfile index 0e1124bf3c..ff4e4207bd 100644 --- a/trace/cloud-trace-demo-app-opentelemetry/app/Dockerfile +++ b/trace/cloud-trace-demo-app-opentelemetry/app/Dockerfile @@ -14,7 +14,7 @@ # Use the official lightweight Python image. # https://hub.docker.com/_/python -FROM python:3.11-slim +FROM python:3.14-slim RUN pip3 install --upgrade pip diff --git a/trace/cloud-trace-demo-app-opentelemetry/app/requirements-test.txt b/trace/cloud-trace-demo-app-opentelemetry/app/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/trace/cloud-trace-demo-app-opentelemetry/app/requirements-test.txt +++ b/trace/cloud-trace-demo-app-opentelemetry/app/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/trace/trace-python-sample-opentelemetry/noxfile_config.py b/trace/trace-python-sample-opentelemetry/noxfile_config.py index 25d1d4e081..472f8cc84c 100644 --- a/trace/trace-python-sample-opentelemetry/noxfile_config.py +++ b/trace/trace-python-sample-opentelemetry/noxfile_config.py @@ -22,10 +22,10 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - # > ℹ️ Test only on Python 3.10. + # > ℹ️ Test only on Python 3.14. # > 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.10", "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/trace/trace-python-sample-opentelemetry/requirements-test.txt b/trace/trace-python-sample-opentelemetry/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/trace/trace-python-sample-opentelemetry/requirements-test.txt +++ b/trace/trace-python-sample-opentelemetry/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/translate/samples/snippets/hybrid_glossaries/requirements-test.txt b/translate/samples/snippets/hybrid_glossaries/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/translate/samples/snippets/hybrid_glossaries/requirements-test.txt +++ b/translate/samples/snippets/hybrid_glossaries/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/translate/samples/snippets/noxfile_config.py b/translate/samples/snippets/noxfile_config.py index b9d835eefe..e25391c7f8 100644 --- a/translate/samples/snippets/noxfile_config.py +++ b/translate/samples/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"], + "ignored_versions": ["3.8", "3.9", "3.10", "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/translate/samples/snippets/requirements-test.txt b/translate/samples/snippets/requirements-test.txt index d57b0bfd0a..b85518d511 100644 --- a/translate/samples/snippets/requirements-test.txt +++ b/translate/samples/snippets/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 flaky==3.8.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/video/live-stream/noxfile_config.py b/video/live-stream/noxfile_config.py index 359b876b76..db1b8b4e17 100644 --- a/video/live-stream/noxfile_config.py +++ b/video/live-stream/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.10", "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/video/live-stream/requirements-test.txt b/video/live-stream/requirements-test.txt index 060ed652e0..c9e154ba44 100644 --- a/video/live-stream/requirements-test.txt +++ b/video/live-stream/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/video/stitcher/noxfile_config.py b/video/stitcher/noxfile_config.py index 68825a3b2d..74913731b8 100644 --- a/video/stitcher/noxfile_config.py +++ b/video/stitcher/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.10", "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/video/stitcher/requirements-test.txt b/video/stitcher/requirements-test.txt index 70f7d48328..22eed6f0bd 100644 --- a/video/stitcher/requirements-test.txt +++ b/video/stitcher/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" requests==2.31.0 \ No newline at end of file diff --git a/video/transcoder/noxfile_config.py b/video/transcoder/noxfile_config.py index 11bc9f6576..f8b1cd1b95 100644 --- a/video/transcoder/noxfile_config.py +++ b/video/transcoder/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.10", "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/video/transcoder/requirements-test.txt b/video/transcoder/requirements-test.txt index e4c974c1f1..186ff6e30d 100644 --- a/video/transcoder/requirements-test.txt +++ b/video/transcoder/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 google-cloud-storage==2.9.0 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/videointelligence/samples/analyze/requirements-test.txt b/videointelligence/samples/analyze/requirements-test.txt index 632e5ad15a..0d2bade1be 100644 --- a/videointelligence/samples/analyze/requirements-test.txt +++ b/videointelligence/samples/analyze/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/videointelligence/samples/labels/requirements-test.txt b/videointelligence/samples/labels/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/videointelligence/samples/labels/requirements-test.txt +++ b/videointelligence/samples/labels/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/videointelligence/samples/quickstart/requirements-test.txt b/videointelligence/samples/quickstart/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/videointelligence/samples/quickstart/requirements-test.txt +++ b/videointelligence/samples/quickstart/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/videointelligence/samples/shotchange/requirements-test.txt b/videointelligence/samples/shotchange/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/videointelligence/samples/shotchange/requirements-test.txt +++ b/videointelligence/samples/shotchange/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/vision/snippets/crop_hints/noxfile_config.py b/vision/snippets/crop_hints/noxfile_config.py index 2f13da0128..21ed9380e0 100644 --- a/vision/snippets/crop_hints/noxfile_config.py +++ b/vision/snippets/crop_hints/noxfile_config.py @@ -23,5 +23,5 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Pillow 9.0.0 does not support python 3.6 - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], } diff --git a/vision/snippets/crop_hints/requirements-test.txt b/vision/snippets/crop_hints/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/vision/snippets/crop_hints/requirements-test.txt +++ b/vision/snippets/crop_hints/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/vision/snippets/detect/requirements-test.txt b/vision/snippets/detect/requirements-test.txt index 632e5ad15a..0d2bade1be 100644 --- a/vision/snippets/detect/requirements-test.txt +++ b/vision/snippets/detect/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/vision/snippets/document_text/noxfile_config.py b/vision/snippets/document_text/noxfile_config.py index 2f13da0128..21ed9380e0 100644 --- a/vision/snippets/document_text/noxfile_config.py +++ b/vision/snippets/document_text/noxfile_config.py @@ -23,5 +23,5 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Pillow 9.0.0 does not support python 3.6 - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], } diff --git a/vision/snippets/document_text/requirements-test.txt b/vision/snippets/document_text/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/vision/snippets/document_text/requirements-test.txt +++ b/vision/snippets/document_text/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/vision/snippets/face_detection/noxfile_config.py b/vision/snippets/face_detection/noxfile_config.py index 2f13da0128..21ed9380e0 100644 --- a/vision/snippets/face_detection/noxfile_config.py +++ b/vision/snippets/face_detection/noxfile_config.py @@ -23,5 +23,5 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Pillow 9.0.0 does not support python 3.6 - "ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], } diff --git a/vision/snippets/face_detection/requirements-test.txt b/vision/snippets/face_detection/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/vision/snippets/face_detection/requirements-test.txt +++ b/vision/snippets/face_detection/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/vision/snippets/product_search/requirements-test.txt b/vision/snippets/product_search/requirements-test.txt index 70114e3132..6dfe34af02 100644 --- a/vision/snippets/product_search/requirements-test.txt +++ b/vision/snippets/product_search/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" flaky==3.8.1 \ No newline at end of file diff --git a/vision/snippets/quickstart/requirements-test.txt b/vision/snippets/quickstart/requirements-test.txt index 15d066af31..c9e154ba44 100644 --- a/vision/snippets/quickstart/requirements-test.txt +++ b/vision/snippets/quickstart/requirements-test.txt @@ -1 +1 @@ -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/vision/snippets/web/requirements-test.txt b/vision/snippets/web/requirements-test.txt index f1684cd806..8b8e28c484 100644 --- a/vision/snippets/web/requirements-test.txt +++ b/vision/snippets/web/requirements-test.txt @@ -1,2 +1,2 @@ flaky==3.8.1 -pytest==8.2.0 +pytest==9.0.3; python_version >= "3.10" diff --git a/vmwareengine/cloud-client/noxfile_config.py b/vmwareengine/cloud-client/noxfile_config.py index db7d1a2732..485a24614c 100644 --- a/vmwareengine/cloud-client/noxfile_config.py +++ b/vmwareengine/cloud-client/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.10", "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/vmwareengine/cloud-client/requirements-test.txt b/vmwareengine/cloud-client/requirements-test.txt index aa83d31173..c9e154ba44 100644 --- a/vmwareengine/cloud-client/requirements-test.txt +++ b/vmwareengine/cloud-client/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/webrisk/snippets/noxfile_config.py b/webrisk/snippets/noxfile_config.py index 10bae362df..f0c7bbf71a 100644 --- a/webrisk/snippets/noxfile_config.py +++ b/webrisk/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.10", "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/webrisk/snippets/requirements-test.txt b/webrisk/snippets/requirements-test.txt index 060ed652e0..c9e154ba44 100644 --- a/webrisk/snippets/requirements-test.txt +++ b/webrisk/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/workflows/cloud-client/noxfile_config.py b/workflows/cloud-client/noxfile_config.py index 9667a05fae..db1b8b4e17 100644 --- a/workflows/cloud-client/noxfile_config.py +++ b/workflows/cloud-client/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.10", "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/workflows/cloud-client/requirements-test.txt b/workflows/cloud-client/requirements-test.txt index de9737aeae..975d5ee58c 100644 --- a/workflows/cloud-client/requirements-test.txt +++ b/workflows/cloud-client/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==8.3.5 +pytest==9.0.3; python_version >= "3.10" backoff==2.2.1 From f1e09e5112050b8a6fe24385cfe798479f2dd9c5 Mon Sep 17 00:00:00 2001 From: David del Real Sifuentes Date: Fri, 29 May 2026 17:24:18 +0000 Subject: [PATCH 2/2] Removed python 3.10 from ignored list. --- noxfile_config.py | 2 +- optimization/snippets/noxfile_config.py | 2 +- parametermanager/snippets-adk/agent_global/noxfile_config.py | 2 +- .../snippets-adk/agent_regional/noxfile_config.py | 2 +- parametermanager/snippets/noxfile_config.py | 2 +- .../geospatial-classification/noxfile_config.py | 2 +- people-and-planet-ai/image-classification/noxfile_config.py | 2 +- .../land-cover-classification/noxfile_config.py | 4 ++-- .../weather-forecasting/tests/dataset_tests/noxfile_config.py | 4 ++-- .../tests/overview_tests/noxfile_config.py | 2 +- .../tests/predictions_tests/noxfile_config.py | 2 +- .../tests/training_tests/noxfile_config.py | 2 +- practice-folder/noxfile_config.py | 2 +- privateca/snippets/noxfile_config.py | 2 +- profiler/appengine/flexible/noxfile_config.py | 2 +- profiler/appengine/standard_python37/noxfile_config.py | 2 +- profiler/quickstart/noxfile_config.py | 2 +- pubsub/streaming-analytics/noxfile_config.py | 2 +- pubsublite/spark-connector/noxfile_config.py | 2 +- recaptcha_enterprise/snippets/noxfile_config.py | 2 +- retail/interactive-tutorials/events/noxfile_config.py | 2 +- retail/interactive-tutorials/search/noxfile_config.py | 2 +- run/django/noxfile_config.py | 2 +- run/markdown-preview/noxfile_config.py | 2 +- run/noxfile_config.py | 2 +- secretmanager/snippets-adk/agent_global/noxfile_config.py | 2 +- secretmanager/snippets-adk/agent_regional/noxfile_config.py | 2 +- secretmanager/snippets/noxfile_config.py | 2 +- securitycenter/snippets/noxfile_config.py | 2 +- securitycenter/snippets_management_api/noxfile_config.py | 2 +- securitycenter/snippets_v2/noxfile_config.py | 2 +- servicedirectory/noxfile_config.py | 2 +- speech/microphone/noxfile_config.py | 2 +- speech/noxfile_config.py | 2 +- storagecontrol/noxfile_config.py | 2 +- storagetransfer/noxfile_config.py | 2 +- talent/noxfile_config.py | 2 +- tpu/noxfile_config.py | 2 +- trace/trace-python-sample-opentelemetry/noxfile_config.py | 2 +- translate/samples/snippets/noxfile_config.py | 2 +- video/live-stream/noxfile_config.py | 2 +- video/stitcher/noxfile_config.py | 2 +- video/transcoder/noxfile_config.py | 2 +- vision/snippets/crop_hints/noxfile_config.py | 2 +- vision/snippets/document_text/noxfile_config.py | 2 +- vision/snippets/face_detection/noxfile_config.py | 2 +- vmwareengine/cloud-client/noxfile_config.py | 2 +- webrisk/snippets/noxfile_config.py | 2 +- workflows/cloud-client/noxfile_config.py | 2 +- 49 files changed, 51 insertions(+), 51 deletions(-) diff --git a/noxfile_config.py b/noxfile_config.py index e25391c7f8..0973c8621c 100644 --- a/noxfile_config.py +++ b/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/optimization/snippets/noxfile_config.py b/optimization/snippets/noxfile_config.py index e25391c7f8..0973c8621c 100644 --- a/optimization/snippets/noxfile_config.py +++ b/optimization/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/parametermanager/snippets-adk/agent_global/noxfile_config.py b/parametermanager/snippets-adk/agent_global/noxfile_config.py index 876d16cd27..98a32b2e88 100644 --- a/parametermanager/snippets-adk/agent_global/noxfile_config.py +++ b/parametermanager/snippets-adk/agent_global/noxfile_config.py @@ -16,7 +16,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/parametermanager/snippets-adk/agent_regional/noxfile_config.py b/parametermanager/snippets-adk/agent_regional/noxfile_config.py index 876d16cd27..98a32b2e88 100644 --- a/parametermanager/snippets-adk/agent_regional/noxfile_config.py +++ b/parametermanager/snippets-adk/agent_regional/noxfile_config.py @@ -16,7 +16,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/parametermanager/snippets/noxfile_config.py b/parametermanager/snippets/noxfile_config.py index 4c1e4301e1..0076e5774d 100644 --- a/parametermanager/snippets/noxfile_config.py +++ b/parametermanager/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/people-and-planet-ai/geospatial-classification/noxfile_config.py b/people-and-planet-ai/geospatial-classification/noxfile_config.py index 769eafd8c7..b6cf4440b3 100644 --- a/people-and-planet-ai/geospatial-classification/noxfile_config.py +++ b/people-and-planet-ai/geospatial-classification/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # > ℹ️ Test only on Python 3.14. - "ignored_versions": ["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/people-and-planet-ai/image-classification/noxfile_config.py b/people-and-planet-ai/image-classification/noxfile_config.py index c1e02dd302..df28cd818d 100644 --- a/people-and-planet-ai/image-classification/noxfile_config.py +++ b/people-and-planet-ai/image-classification/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # NOTE: Apache Beam does not currently support Python 3.12. - "ignored_versions": ["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/people-and-planet-ai/land-cover-classification/noxfile_config.py b/people-and-planet-ai/land-cover-classification/noxfile_config.py index 7d23fd087e..6a1ef14ed1 100644 --- a/people-and-planet-ai/land-cover-classification/noxfile_config.py +++ b/people-and-planet-ai/land-cover-classification/noxfile_config.py @@ -24,9 +24,9 @@ # You can opt out from the test for specific Python versions. # ℹ️ Test only in Python 3.14 since that's what Dataflow currently supports: # https://cloud.google.com/dataflow/docs/support/beam-runtime-support - # "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + # "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Temp disable until team has time for refactoring tests - "ignored_versions": ["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/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py index 8d5747b1f3..16d3006025 100644 --- a/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/dataset_tests/noxfile_config.py @@ -23,9 +23,9 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # 💡 Only test with Python 3.14 - # "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + # "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], # Temp disable until team has time for refactoring tests - "ignored_versions": ["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/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py index 8852e12fd5..694f7e5451 100644 --- a/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/overview_tests/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # 💡 Only test with Python 3.14 - "ignored_versions": ["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/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py index 8852e12fd5..694f7e5451 100644 --- a/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/predictions_tests/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # 💡 Only test with Python 3.14 - "ignored_versions": ["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/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py b/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py index 8852e12fd5..694f7e5451 100644 --- a/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py +++ b/people-and-planet-ai/weather-forecasting/tests/training_tests/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # 💡 Only test with Python 3.14 - "ignored_versions": ["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/practice-folder/noxfile_config.py b/practice-folder/noxfile_config.py index bde8d9e0ea..b7d8115d77 100644 --- a/practice-folder/noxfile_config.py +++ b/practice-folder/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/privateca/snippets/noxfile_config.py b/privateca/snippets/noxfile_config.py index e587d4a570..b464de8ca0 100644 --- a/privateca/snippets/noxfile_config.py +++ b/privateca/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/profiler/appengine/flexible/noxfile_config.py b/profiler/appengine/flexible/noxfile_config.py index 02f3e3d84d..3e4fbc7476 100644 --- a/profiler/appengine/flexible/noxfile_config.py +++ b/profiler/appengine/flexible/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # 3.11 is currently unsupported - "ignored_versions": ["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/profiler/appengine/standard_python37/noxfile_config.py b/profiler/appengine/standard_python37/noxfile_config.py index f8b1cd1b95..f27eeab556 100644 --- a/profiler/appengine/standard_python37/noxfile_config.py +++ b/profiler/appengine/standard_python37/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/profiler/quickstart/noxfile_config.py b/profiler/quickstart/noxfile_config.py index f8b1cd1b95..f27eeab556 100644 --- a/profiler/quickstart/noxfile_config.py +++ b/profiler/quickstart/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/pubsub/streaming-analytics/noxfile_config.py b/pubsub/streaming-analytics/noxfile_config.py index bd5aa116f3..932bef266b 100644 --- a/pubsub/streaming-analytics/noxfile_config.py +++ b/pubsub/streaming-analytics/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/pubsublite/spark-connector/noxfile_config.py b/pubsublite/spark-connector/noxfile_config.py index e9ba9a3a0a..629508476e 100644 --- a/pubsublite/spark-connector/noxfile_config.py +++ b/pubsublite/spark-connector/noxfile_config.py @@ -23,7 +23,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.14. - "ignored_versions": ["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/recaptcha_enterprise/snippets/noxfile_config.py b/recaptcha_enterprise/snippets/noxfile_config.py index 447b5e0ce0..b0171a442f 100644 --- a/recaptcha_enterprise/snippets/noxfile_config.py +++ b/recaptcha_enterprise/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/retail/interactive-tutorials/events/noxfile_config.py b/retail/interactive-tutorials/events/noxfile_config.py index b38fef4554..b62583ba0f 100644 --- a/retail/interactive-tutorials/events/noxfile_config.py +++ b/retail/interactive-tutorials/events/noxfile_config.py @@ -19,7 +19,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["3.8", "3.9", "3.10", "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 'PROJECT_NUMBER' if you want to opt in using a # build specific Cloud project. You can also use your own string diff --git a/retail/interactive-tutorials/search/noxfile_config.py b/retail/interactive-tutorials/search/noxfile_config.py index dde375ae6d..a971867c46 100644 --- a/retail/interactive-tutorials/search/noxfile_config.py +++ b/retail/interactive-tutorials/search/noxfile_config.py @@ -19,7 +19,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["3.8", "3.9", "3.10", "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/run/django/noxfile_config.py b/run/django/noxfile_config.py index 95714ecc9c..530fda35d7 100644 --- a/run/django/noxfile_config.py +++ b/run/django/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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 the "enforce_type_hints": True, diff --git a/run/markdown-preview/noxfile_config.py b/run/markdown-preview/noxfile_config.py index 856acd3bcf..e936fc449e 100644 --- a/run/markdown-preview/noxfile_config.py +++ b/run/markdown-preview/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # We only run the cloud run tests in py314 session. - "ignored_versions": ["3.8", "3.9", "3.10", "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/run/noxfile_config.py b/run/noxfile_config.py index 485aedb4ec..c25029080d 100644 --- a/run/noxfile_config.py +++ b/run/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/secretmanager/snippets-adk/agent_global/noxfile_config.py b/secretmanager/snippets-adk/agent_global/noxfile_config.py index fcb86e61b1..94f05ebf4a 100644 --- a/secretmanager/snippets-adk/agent_global/noxfile_config.py +++ b/secretmanager/snippets-adk/agent_global/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/secretmanager/snippets-adk/agent_regional/noxfile_config.py b/secretmanager/snippets-adk/agent_regional/noxfile_config.py index fcb86e61b1..94f05ebf4a 100644 --- a/secretmanager/snippets-adk/agent_regional/noxfile_config.py +++ b/secretmanager/snippets-adk/agent_regional/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/secretmanager/snippets/noxfile_config.py b/secretmanager/snippets/noxfile_config.py index fcb86e61b1..94f05ebf4a 100644 --- a/secretmanager/snippets/noxfile_config.py +++ b/secretmanager/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/securitycenter/snippets/noxfile_config.py b/securitycenter/snippets/noxfile_config.py index 4c22ca92d9..6e1da8f73e 100644 --- a/securitycenter/snippets/noxfile_config.py +++ b/securitycenter/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["3.8", "3.9", "3.10", "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/securitycenter/snippets_management_api/noxfile_config.py b/securitycenter/snippets_management_api/noxfile_config.py index 5c09cb3a94..06a573096a 100644 --- a/securitycenter/snippets_management_api/noxfile_config.py +++ b/securitycenter/snippets_management_api/noxfile_config.py @@ -25,7 +25,7 @@ # You can opt out from the test for specific Python versions. # SKIPPED VERSIONS: due to concurrency issues editing multiple org level # custom modules, only test these samples on latest Python. - "ignored_versions": ["3.8", "3.9", "3.10", "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/securitycenter/snippets_v2/noxfile_config.py b/securitycenter/snippets_v2/noxfile_config.py index c071cb727e..b8563a5df8 100644 --- a/securitycenter/snippets_v2/noxfile_config.py +++ b/securitycenter/snippets_v2/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["3.8", "3.9", "3.10", "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/servicedirectory/noxfile_config.py b/servicedirectory/noxfile_config.py index e25391c7f8..0973c8621c 100644 --- a/servicedirectory/noxfile_config.py +++ b/servicedirectory/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/speech/microphone/noxfile_config.py b/speech/microphone/noxfile_config.py index 3072a9d9f5..91367c2b01 100644 --- a/speech/microphone/noxfile_config.py +++ b/speech/microphone/noxfile_config.py @@ -15,7 +15,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/speech/noxfile_config.py b/speech/noxfile_config.py index e25391c7f8..0973c8621c 100644 --- a/speech/noxfile_config.py +++ b/speech/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/storagecontrol/noxfile_config.py b/storagecontrol/noxfile_config.py index c43ab0b6b1..7ba3499623 100644 --- a/storagecontrol/noxfile_config.py +++ b/storagecontrol/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/storagetransfer/noxfile_config.py b/storagetransfer/noxfile_config.py index 71fad825b3..8b8def111b 100644 --- a/storagetransfer/noxfile_config.py +++ b/storagetransfer/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/talent/noxfile_config.py b/talent/noxfile_config.py index 28c83ef269..a0ed2d7cfd 100644 --- a/talent/noxfile_config.py +++ b/talent/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["3.8", "3.9", "3.10", "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/tpu/noxfile_config.py b/tpu/noxfile_config.py index e25391c7f8..0973c8621c 100644 --- a/tpu/noxfile_config.py +++ b/tpu/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/trace/trace-python-sample-opentelemetry/noxfile_config.py b/trace/trace-python-sample-opentelemetry/noxfile_config.py index 472f8cc84c..bf200ff2d5 100644 --- a/trace/trace-python-sample-opentelemetry/noxfile_config.py +++ b/trace/trace-python-sample-opentelemetry/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ Test only on Python 3.14. # > 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": ["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/translate/samples/snippets/noxfile_config.py b/translate/samples/snippets/noxfile_config.py index e25391c7f8..0973c8621c 100644 --- a/translate/samples/snippets/noxfile_config.py +++ b/translate/samples/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/video/live-stream/noxfile_config.py b/video/live-stream/noxfile_config.py index db1b8b4e17..1b9d9e4a58 100644 --- a/video/live-stream/noxfile_config.py +++ b/video/live-stream/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/video/stitcher/noxfile_config.py b/video/stitcher/noxfile_config.py index 74913731b8..5ed96a6765 100644 --- a/video/stitcher/noxfile_config.py +++ b/video/stitcher/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/video/transcoder/noxfile_config.py b/video/transcoder/noxfile_config.py index f8b1cd1b95..f27eeab556 100644 --- a/video/transcoder/noxfile_config.py +++ b/video/transcoder/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/vision/snippets/crop_hints/noxfile_config.py b/vision/snippets/crop_hints/noxfile_config.py index 21ed9380e0..65ffecbfbc 100644 --- a/vision/snippets/crop_hints/noxfile_config.py +++ b/vision/snippets/crop_hints/noxfile_config.py @@ -23,5 +23,5 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Pillow 9.0.0 does not support python 3.6 - "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], } diff --git a/vision/snippets/document_text/noxfile_config.py b/vision/snippets/document_text/noxfile_config.py index 21ed9380e0..65ffecbfbc 100644 --- a/vision/snippets/document_text/noxfile_config.py +++ b/vision/snippets/document_text/noxfile_config.py @@ -23,5 +23,5 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Pillow 9.0.0 does not support python 3.6 - "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], } diff --git a/vision/snippets/face_detection/noxfile_config.py b/vision/snippets/face_detection/noxfile_config.py index 21ed9380e0..65ffecbfbc 100644 --- a/vision/snippets/face_detection/noxfile_config.py +++ b/vision/snippets/face_detection/noxfile_config.py @@ -23,5 +23,5 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Pillow 9.0.0 does not support python 3.6 - "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.11", "3.12", "3.13"], } diff --git a/vmwareengine/cloud-client/noxfile_config.py b/vmwareengine/cloud-client/noxfile_config.py index 485a24614c..102ab88470 100644 --- a/vmwareengine/cloud-client/noxfile_config.py +++ b/vmwareengine/cloud-client/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["3.8", "3.9", "3.10", "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/webrisk/snippets/noxfile_config.py b/webrisk/snippets/noxfile_config.py index f0c7bbf71a..649a7bce43 100644 --- a/webrisk/snippets/noxfile_config.py +++ b/webrisk/snippets/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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/workflows/cloud-client/noxfile_config.py b/workflows/cloud-client/noxfile_config.py index db1b8b4e17..1b9d9e4a58 100644 --- a/workflows/cloud-client/noxfile_config.py +++ b/workflows/cloud-client/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["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,