diff --git a/appengine/flexible/scipy/noxfile_config.py b/appengine/flexible/scipy/noxfile_config.py index 6abbd44a54..78e1c1e21c 100644 --- a/appengine/flexible/scipy/noxfile_config.py +++ b/appengine/flexible/scipy/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.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "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/appengine/flexible/scipy/requirements.txt b/appengine/flexible/scipy/requirements.txt index c10a69f647..5e8bc6152f 100644 --- a/appengine/flexible/scipy/requirements.txt +++ b/appengine/flexible/scipy/requirements.txt @@ -5,6 +5,6 @@ imageio==2.36.1; python_version >= '3.9' numpy==2.2.4; python_version > '3.9' numpy==1.26.4; python_version == '3.9' numpy==1.24.4; python_version == '3.8' -pillow==12.3.0; python_version >= '3.10' +pillow==13.0.0 scipy==1.10.1; python_version <= '3.9' scipy==1.14.1; python_version > '3.9' diff --git a/dataflow/flex-templates/pipeline_with_dependencies/Dockerfile b/dataflow/flex-templates/pipeline_with_dependencies/Dockerfile index a6503dc935..4ced7fae0a 100644 --- a/dataflow/flex-templates/pipeline_with_dependencies/Dockerfile +++ b/dataflow/flex-templates/pipeline_with_dependencies/Dockerfile @@ -24,14 +24,14 @@ # This Dockerfile illustrates how to use a custom base image when building # a custom contaier images for Dataflow. A 'slim' base image is smaller in size, # but does not include some preinstalled libraries, like google-cloud-debugger. -# To use a standard image, use apache/beam_python3.13_sdk:2.77.0 instead. +# To use a standard image, use apache/beam_python3.13_sdk:2.78.0 instead. # Use consistent versions of Python interpreter in the project. FROM python:3.13-slim # Copy SDK entrypoint binary from Apache Beam image, which makes it possible to # use the image as SDK container image. If you explicitly depend on # apache-beam in setup.py, use the same version of Beam in both files. -COPY --from=apache/beam_python3.13_sdk:2.77.0 /opt/apache/beam /opt/apache/beam +COPY --from=apache/beam_python3.13_sdk:2.78.0 /opt/apache/beam /opt/apache/beam # Copy Flex Template launcher binary from the launcher image, which makes it # possible to use the image as a Flex Template base image. diff --git a/dataflow/flex-templates/pipeline_with_dependencies/pyproject.toml b/dataflow/flex-templates/pipeline_with_dependencies/pyproject.toml index a9bc14157e..96ef3a8640 100644 --- a/dataflow/flex-templates/pipeline_with_dependencies/pyproject.toml +++ b/dataflow/flex-templates/pipeline_with_dependencies/pyproject.toml @@ -20,6 +20,6 @@ build-backend = "setuptools.build_meta" name = "my_package" version = "0.1.0" dependencies = [ - "apache-beam[gcp]==2.77.0", # Must match the version in `Dockerfile``. + "apache-beam[gcp]==2.78.0", # Must match the version in `Dockerfile``. "pyfiglet", # This is the only non-Beam dependency of this pipeline. ] diff --git a/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt b/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt index 2231980787..edae093aa0 100644 --- a/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt +++ b/dataflow/flex-templates/pipeline_with_dependencies/requirements-test.txt @@ -15,7 +15,7 @@ # This is a test configuration file. It is not a part of the example. google-api-python-client==2.201.0 -google-cloud-storage==3.17.1 +google-cloud-storage==3.17.2 pytest-xdist==3.8.0 pytest==9.1.1 pyyaml==6.0.3 diff --git a/dataflow/flex-templates/pipeline_with_dependencies/requirements.txt b/dataflow/flex-templates/pipeline_with_dependencies/requirements.txt index 5f11158047..7f94e98bb2 100644 --- a/dataflow/flex-templates/pipeline_with_dependencies/requirements.txt +++ b/dataflow/flex-templates/pipeline_with_dependencies/requirements.txt @@ -6,17 +6,17 @@ # aiohappyeyeballs==2.7.1 # via aiohttp -aiohttp==3.14.4 +aiohttp==3.14.5 # via cloud-sql-python-connector aiosignal==1.4.0 # via aiohttp annotated-types==0.8.0 # via pydantic -anyio==4.15.1 +anyio==4.16.0 # via # google-genai # httpx -apache-beam[gcp]==2.77.0 +apache-beam[gcp]==2.78.0 # via my_package (setup.py) asn1crypto==1.5.1 # via scramp @@ -26,7 +26,7 @@ beartype==0.22.9 # via apache-beam cachetools==6.2.6 # via apache-beam -certifi==2026.7.22 +certifi==2026.10.23 # via # google-cloud-aiplatform # httpcore @@ -36,7 +36,7 @@ cffi==2.1.1 # via cryptography charset-normalizer==3.5.2 # via requests -cloud-sql-python-connector==1.22.0 +cloud-sql-python-connector==1.24.1 # via apache-beam cryptography==50.0.2 # via @@ -46,13 +46,13 @@ cryptography==50.0.2 # secretstorage distro==1.9.0 # via google-genai -dnspython==2.8.0 +dnspython==2.9.2 # via # cloud-sql-python-connector # pymongo docstring-parser==0.18.0 # via google-cloud-aiplatform -fastavro==1.13.0 +fastavro==1.13.1 # via apache-beam fasteners==0.20 # via @@ -62,7 +62,7 @@ frozenlist==1.8.0 # via # aiohttp # aiosignal -google-api-core[grpc]==2.42.0 +google-api-core[grpc]==2.44.0 # via # apache-beam # google-cloud-aiplatform @@ -82,12 +82,13 @@ google-api-core[grpc]==2.42.0 # google-cloud-resource-manager # google-cloud-secret-manager # google-cloud-spanner + # google-cloud-sql # google-cloud-storage # google-cloud-videointelligence # google-cloud-vision google-apitools==0.5.35 # via apache-beam -google-auth[pyopenssl,requests]==2.62.0 +google-auth[pyopenssl,requests]==2.63.1 # via # apache-beam # cloud-sql-python-connector @@ -110,6 +111,7 @@ google-auth[pyopenssl,requests]==2.62.0 # google-cloud-resource-manager # google-cloud-secret-manager # google-cloud-spanner + # google-cloud-sql # google-cloud-storage # google-cloud-videointelligence # google-cloud-vision @@ -119,15 +121,15 @@ google-auth-httplib2==0.2.1 # via apache-beam google-cloud-aiplatform==1.165.1 # via apache-beam -google-cloud-bigquery==3.46.1 +google-cloud-bigquery==3.47.0 # via # apache-beam # google-cloud-aiplatform -google-cloud-bigquery-storage==2.42.0 +google-cloud-bigquery-storage==2.43.0 # via apache-beam -google-cloud-bigtable==2.50.0 +google-cloud-bigtable==2.47.0 # via apache-beam -google-cloud-build==3.40.0 +google-cloud-build==3.43.0 # via apache-beam google-cloud-core==2.8.0 # via @@ -139,11 +141,11 @@ google-cloud-core==2.8.0 # google-cloud-storage google-cloud-dataflow-client==0.13.0 # via apache-beam -google-cloud-datastore==2.27.0 +google-cloud-datastore==2.27.1 # via apache-beam google-cloud-dlp==3.40.0 # via apache-beam -google-cloud-kms==3.18.0 +google-cloud-kms==3.19.0 # via apache-beam google-cloud-language==2.22.0 # via apache-beam @@ -151,7 +153,7 @@ google-cloud-monitoring==2.32.0 # via # google-cloud-bigtable # google-cloud-spanner -google-cloud-pubsub==2.42.0 +google-cloud-pubsub==2.44.0 # via apache-beam google-cloud-recommendations-ai==0.10.18 # via apache-beam @@ -159,11 +161,13 @@ google-cloud-resource-manager==1.19.0 # via # apache-beam # google-cloud-aiplatform -google-cloud-secret-manager==2.31.0 +google-cloud-secret-manager==2.32.0 # via apache-beam -google-cloud-spanner==3.71.0 +google-cloud-spanner==3.72.1 # via apache-beam -google-cloud-storage==3.17.0 +google-cloud-sql==0.1.5 + # via cloud-sql-python-connector +google-cloud-storage==3.17.2 # via # apache-beam # google-cloud-aiplatform @@ -182,13 +186,12 @@ google-resumable-media==2.11.0 # via # google-cloud-bigquery # google-cloud-storage -googleapis-common-protos[grpc]==1.75.5 +googleapis-common-protos[grpc]==1.76.0 # via - # cloud-sql-python-connector # google-api-core # grpc-google-iam-v1 # grpcio-status -grpc-google-iam-v1==0.14.5 +grpc-google-iam-v1==0.14.6 # via # google-cloud-bigtable # google-cloud-build @@ -199,10 +202,9 @@ grpc-google-iam-v1==0.14.5 # google-cloud-spanner grpc-interceptor==0.15.4 # via google-cloud-spanner -grpcio==1.84.0 +grpcio==1.85.3 # via # apache-beam - # cloud-sql-python-connector # google-api-core # google-cloud-bigquery-storage # google-cloud-bigtable @@ -217,13 +219,14 @@ grpcio==1.84.0 # google-cloud-resource-manager # google-cloud-secret-manager # google-cloud-spanner + # google-cloud-sql # google-cloud-videointelligence # google-cloud-vision # googleapis-common-protos # grpc-google-iam-v1 # grpc-interceptor # grpcio-status -grpcio-status==1.84.0 +grpcio-status==1.85.3 # via # google-api-core # google-cloud-pubsub @@ -231,7 +234,7 @@ h11==0.16.0 # via httpcore httpcore==1.0.9 # via httpx -httplib2==0.32.0 +httplib2==0.32.1 # via # apache-beam # google-apitools @@ -255,7 +258,7 @@ jeepney==0.9.0 # via # keyring # secretstorage -jsonpickle==4.1.3 +jsonpickle==4.1.4 # via apache-beam keyring==25.7.0 # via keyrings-google-artifactregistry-auth @@ -263,21 +266,21 @@ keyrings-google-artifactregistry-auth==1.1.2 # via apache-beam mmh3==5.3.1 # via google-cloud-spanner -more-itertools==11.1.0 +more-itertools==11.2.1 # via # jaraco-classes # jaraco-functools -multidict==6.9.1 +multidict==7.2.1 # via # aiohttp # yarl -numpy==2.4.6 +numpy==2.5.5 # via apache-beam oauth2client==4.1.3 # via google-apitools objsize==0.7.1 # via apache-beam -opentelemetry-api==1.45.1 +opentelemetry-api==1.45.2 # via # google-api-core # google-cloud-bigtable @@ -288,13 +291,13 @@ opentelemetry-api==1.45.1 # opentelemetry-semantic-conventions opentelemetry-resourcedetector-gcp==1.14.0 # via google-cloud-spanner -opentelemetry-sdk==1.45.1 +opentelemetry-sdk==1.45.2 # via # google-cloud-bigtable # google-cloud-pubsub # google-cloud-spanner # opentelemetry-resourcedetector-gcp -opentelemetry-semantic-conventions==0.66b1 +opentelemetry-semantic-conventions==0.66b2 # via # google-cloud-spanner # opentelemetry-sdk @@ -305,11 +308,11 @@ packaging==26.3 # apache-beam # google-cloud-aiplatform # google-cloud-bigquery -pg8000==1.31.5 +pg8000==1.31.6 # via apache-beam -pillow==12.3.0 +pillow==13.0.0 # via apache-beam -pluggy==1.6.0 +pluggy==1.7.0 # via keyrings-google-artifactregistry-auth propcache==0.5.4 # via @@ -334,12 +337,12 @@ proto-plus==1.29.0 # google-cloud-resource-manager # google-cloud-secret-manager # google-cloud-spanner + # google-cloud-sql # google-cloud-videointelligence # google-cloud-vision protobuf==6.33.6 # via # apache-beam - # cloud-sql-python-connector # google-api-core # google-cloud-aiplatform # google-cloud-bigquery-storage @@ -356,6 +359,7 @@ protobuf==6.33.6 # google-cloud-resource-manager # google-cloud-secret-manager # google-cloud-spanner + # google-cloud-sql # google-cloud-videointelligence # google-cloud-vision # googleapis-common-protos @@ -364,7 +368,7 @@ protobuf==6.33.6 # proto-plus pyarrow==25.0.1 # via apache-beam -pyasn1==0.6.4 +pyasn1==0.6.5 # via # oauth2client # pyasn1-modules @@ -373,19 +377,19 @@ pyasn1-modules==0.4.2 # via # google-auth # oauth2client -pycparser==3.0 +pycparser==3.12 # via cffi -pydantic==2.13.5 +pydantic==2.14.4 # via # google-cloud-aiplatform # google-genai -pydantic-core==2.46.5 +pydantic-core==2.50.5 # via pydantic pyfiglet==1.0.4 # via my_package (setup.py) -pymongo==4.18.2 +pymongo==4.20.1 # via apache-beam -pymysql==1.2.3 +pymysql==1.2.4 # via apache-beam pyparsing==3.3.3 # via httplib2 @@ -396,11 +400,11 @@ python-dateutil==2.9.0.post0 # pg8000 python-tds==1.17.1 # via apache-beam -pytz==2026.5 +pytz==2026.6 # via apache-beam pyyaml==6.0.3 # via apache-beam -regex==2026.9.29 +regex==2026.11.19 # via apache-beam requests==2.34.2 # via @@ -415,7 +419,7 @@ requests==2.34.2 # opentelemetry-resourcedetector-gcp rsa==4.9.1 # via oauth2client -scramp==1.4.17 +scramp==1.5.0 # via pg8000 secretstorage==3.5.0 # via keyring @@ -428,7 +432,7 @@ sniffio==1.3.1 # via google-genai sortedcontainers==2.4.0 # via apache-beam -sqlparse==0.6.0 +sqlparse==0.6.1 # via google-cloud-spanner tenacity==9.1.4 # via google-genai @@ -445,11 +449,11 @@ typing-extensions==4.16.0 # pydantic # pydantic-core # typing-inspection -typing-inspection==0.4.4 +typing-inspection==0.4.5 # via pydantic urllib3==2.8.0 # via requests -websockets==16.1.1 +websockets==17.4 # via google-genai yarl==1.25.1 # via aiohttp diff --git a/dataflow/gpu-examples/tensorflow-landsat-prime/Dockerfile b/dataflow/gpu-examples/tensorflow-landsat-prime/Dockerfile index 2cabbc313a..f0545de66f 100644 --- a/dataflow/gpu-examples/tensorflow-landsat-prime/Dockerfile +++ b/dataflow/gpu-examples/tensorflow-landsat-prime/Dockerfile @@ -34,5 +34,5 @@ RUN apt-get update \ # 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.13_sdk:2.74.0 /opt/apache/beam /opt/apache/beam +COPY --from=apache/beam_python3.13_sdk:2.78.0 /opt/apache/beam /opt/apache/beam ENTRYPOINT [ "/opt/apache/beam/boot" ] diff --git a/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py b/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py index ca12a452f5..5266341187 100644 --- a/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py @@ -24,8 +24,8 @@ # You can opt out from the test for specific Python versions. # > 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. - # 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"], + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.13) + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.14"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-landsat-prime/requirements.txt b/dataflow/gpu-examples/tensorflow-landsat-prime/requirements.txt index 0c0a496e3e..3844cf4628 100644 --- a/dataflow/gpu-examples/tensorflow-landsat-prime/requirements.txt +++ b/dataflow/gpu-examples/tensorflow-landsat-prime/requirements.txt @@ -1,4 +1,4 @@ -pillow==12.3.0; python_version >= "3.10" -apache-beam[gcp]==2.74.0 +pillow==13.0.0 +apache-beam[gcp]==2.78.0 rasterio==1.3.10 tensorflow==2.21.0 # Check TensorFlow/CUDA compatibility with Dockerfile: https://www.tensorflow.org/install/source#gpu diff --git a/dataflow/gpu-examples/tensorflow-landsat/Dockerfile b/dataflow/gpu-examples/tensorflow-landsat/Dockerfile index a0a685366b..f1346d3c59 100644 --- a/dataflow/gpu-examples/tensorflow-landsat/Dockerfile +++ b/dataflow/gpu-examples/tensorflow-landsat/Dockerfile @@ -34,5 +34,5 @@ RUN apt-get update \ # 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.13_sdk:2.74.0 /opt/apache/beam /opt/apache/beam +COPY --from=apache/beam_python3.13_sdk:2.78.0 /opt/apache/beam /opt/apache/beam ENTRYPOINT [ "/opt/apache/beam/boot" ] diff --git a/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py b/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py index 33c259f5be..0315c91ad1 100644 --- a/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py @@ -24,8 +24,8 @@ # You can opt out from the test for specific Python versions. # > 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. - # 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"], + # Note: Docker-based sample, testing only against version specified in Dockerfile (3.13) + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.14"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-landsat/requirements.txt b/dataflow/gpu-examples/tensorflow-landsat/requirements.txt index 0c0a496e3e..3844cf4628 100644 --- a/dataflow/gpu-examples/tensorflow-landsat/requirements.txt +++ b/dataflow/gpu-examples/tensorflow-landsat/requirements.txt @@ -1,4 +1,4 @@ -pillow==12.3.0; python_version >= "3.10" -apache-beam[gcp]==2.74.0 +pillow==13.0.0 +apache-beam[gcp]==2.78.0 rasterio==1.3.10 tensorflow==2.21.0 # Check TensorFlow/CUDA compatibility with Dockerfile: https://www.tensorflow.org/install/source#gpu diff --git a/genai/bounding_box/requirements.txt b/genai/bounding_box/requirements.txt index 7b7f2db044..0ad777bcdd 100644 --- a/genai/bounding_box/requirements.txt +++ b/genai/bounding_box/requirements.txt @@ -1,2 +1,2 @@ google-genai==3.0.0 -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0 diff --git a/genai/code_execution/requirements.txt b/genai/code_execution/requirements.txt index 7b7f2db044..0ad777bcdd 100644 --- a/genai/code_execution/requirements.txt +++ b/genai/code_execution/requirements.txt @@ -1,2 +1,2 @@ google-genai==3.0.0 -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0 diff --git a/genai/image_generation/requirements.txt b/genai/image_generation/requirements.txt index 7b7f2db044..0ad777bcdd 100644 --- a/genai/image_generation/requirements.txt +++ b/genai/image_generation/requirements.txt @@ -1,2 +1,2 @@ google-genai==3.0.0 -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0 diff --git a/genai/tools/requirements.txt b/genai/tools/requirements.txt index ba954a75c7..e539a8a886 100644 --- a/genai/tools/requirements.txt +++ b/genai/tools/requirements.txt @@ -1,3 +1,3 @@ google-genai==3.0.0 # PIl is required for tools_code_execution_with_txt_img.py -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0 diff --git a/generative_ai/evaluation/requirements.txt b/generative_ai/evaluation/requirements.txt index 7ac0ee30a6..4b39f10dcb 100644 --- a/generative_ai/evaluation/requirements.txt +++ b/generative_ai/evaluation/requirements.txt @@ -1,7 +1,6 @@ pandas==2.2.3; python_version == '3.7' pandas==2.2.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pillow==12.3.0 google-cloud-aiplatform[full]==1.157.0 sentencepiece==0.2.1 google-auth==2.38.0 diff --git a/generative_ai/extensions/requirements.txt b/generative_ai/extensions/requirements.txt index 7ac0ee30a6..4b39f10dcb 100644 --- a/generative_ai/extensions/requirements.txt +++ b/generative_ai/extensions/requirements.txt @@ -1,7 +1,6 @@ pandas==2.2.3; python_version == '3.7' pandas==2.2.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pillow==12.3.0 google-cloud-aiplatform[full]==1.157.0 sentencepiece==0.2.1 google-auth==2.38.0 diff --git a/generative_ai/model_garden/requirements.txt b/generative_ai/model_garden/requirements.txt index 7b00d2143c..69644de02b 100644 --- a/generative_ai/model_garden/requirements.txt +++ b/generative_ai/model_garden/requirements.txt @@ -1,7 +1,6 @@ pandas==2.2.3; python_version == '3.7' pandas==2.2.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pillow==12.3.0 google-cloud-aiplatform[full]==1.157.0 sentencepiece==0.2.1 google-auth==2.38.0 diff --git a/generative_ai/model_tuning/requirements.txt b/generative_ai/model_tuning/requirements.txt index 7ac0ee30a6..4b39f10dcb 100644 --- a/generative_ai/model_tuning/requirements.txt +++ b/generative_ai/model_tuning/requirements.txt @@ -1,7 +1,6 @@ pandas==2.2.3; python_version == '3.7' pandas==2.2.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pillow==12.3.0 google-cloud-aiplatform[full]==1.157.0 sentencepiece==0.2.1 google-auth==2.38.0 diff --git a/generative_ai/prompts/requirements.txt b/generative_ai/prompts/requirements.txt index 7ac0ee30a6..4b39f10dcb 100644 --- a/generative_ai/prompts/requirements.txt +++ b/generative_ai/prompts/requirements.txt @@ -1,7 +1,6 @@ pandas==2.2.3; python_version == '3.7' pandas==2.2.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pillow==12.3.0 google-cloud-aiplatform[full]==1.157.0 sentencepiece==0.2.1 google-auth==2.38.0 diff --git a/generative_ai/reasoning_engine/requirements.txt b/generative_ai/reasoning_engine/requirements.txt index 7ac0ee30a6..4b39f10dcb 100644 --- a/generative_ai/reasoning_engine/requirements.txt +++ b/generative_ai/reasoning_engine/requirements.txt @@ -1,7 +1,6 @@ pandas==2.2.3; python_version == '3.7' pandas==2.2.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pillow==12.3.0 google-cloud-aiplatform[full]==1.157.0 sentencepiece==0.2.1 google-auth==2.38.0 diff --git a/people-and-planet-ai/image-classification/requirements.txt b/people-and-planet-ai/image-classification/requirements.txt index a158d17994..097dab91bc 100644 --- a/people-and-planet-ai/image-classification/requirements.txt +++ b/people-and-planet-ai/image-classification/requirements.txt @@ -1,5 +1,5 @@ -apache-beam[gcp]==2.77.0 +apache-beam[gcp]==2.78.0 google-genai==3.0.0 -pillow==12.3.0 +pillow==13.0.0 pydantic==2.14.1 requests==2.34.2 diff --git a/vision/snippets/crop_hints/noxfile_config.py b/vision/snippets/crop_hints/noxfile_config.py index 65ffecbfbc..1b03feb04d 100644 --- a/vision/snippets/crop_hints/noxfile_config.py +++ b/vision/snippets/crop_hints/noxfile_config.py @@ -22,6 +22,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.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.13"], } diff --git a/vision/snippets/crop_hints/requirements.txt b/vision/snippets/crop_hints/requirements.txt index 21a3e83ee9..1933094402 100644 --- a/vision/snippets/crop_hints/requirements.txt +++ b/vision/snippets/crop_hints/requirements.txt @@ -1,2 +1,2 @@ google-cloud-vision==3.8.1 -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0 diff --git a/vision/snippets/document_text/noxfile_config.py b/vision/snippets/document_text/noxfile_config.py index 65ffecbfbc..1b03feb04d 100644 --- a/vision/snippets/document_text/noxfile_config.py +++ b/vision/snippets/document_text/noxfile_config.py @@ -22,6 +22,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.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.13"], } diff --git a/vision/snippets/document_text/requirements.txt b/vision/snippets/document_text/requirements.txt index 21a3e83ee9..1933094402 100644 --- a/vision/snippets/document_text/requirements.txt +++ b/vision/snippets/document_text/requirements.txt @@ -1,2 +1,2 @@ google-cloud-vision==3.8.1 -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0 diff --git a/vision/snippets/face_detection/faces_test.py b/vision/snippets/face_detection/faces_test.py index 97e34b3d82..d8cec12321 100644 --- a/vision/snippets/face_detection/faces_test.py +++ b/vision/snippets/face_detection/faces_test.py @@ -26,7 +26,7 @@ def test_main(tmpdir): # Make sure there isn't already a green box im = Image.open(in_file) - pixels = im.getdata() + pixels = im.get_flattened_data() greens = sum(1 for (r, g, b) in pixels if r == 0 and g == 255 and b == 0) assert greens < 1 @@ -34,6 +34,6 @@ def test_main(tmpdir): # Make sure there now is some green drawn im = Image.open(out_file) - pixels = im.getdata() + pixels = im.get_flattened_data() greens = sum(1 for (r, g, b) in pixels if r == 0 and g == 255 and b == 0) assert greens > 10 diff --git a/vision/snippets/face_detection/noxfile_config.py b/vision/snippets/face_detection/noxfile_config.py index 65ffecbfbc..1b03feb04d 100644 --- a/vision/snippets/face_detection/noxfile_config.py +++ b/vision/snippets/face_detection/noxfile_config.py @@ -22,6 +22,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.11", "3.12", "3.13"], + "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.13"], } diff --git a/vision/snippets/face_detection/requirements.txt b/vision/snippets/face_detection/requirements.txt index 21a3e83ee9..1933094402 100644 --- a/vision/snippets/face_detection/requirements.txt +++ b/vision/snippets/face_detection/requirements.txt @@ -1,2 +1,2 @@ google-cloud-vision==3.8.1 -pillow==12.3.0; python_version >= "3.10" +pillow==13.0.0