diff --git a/appengine/flexible/django_cloudsql/requirements.txt b/appengine/flexible/django_cloudsql/requirements.txt index cff6302ecd5..2cdf527118a 100644 --- a/appengine/flexible/django_cloudsql/requirements.txt +++ b/appengine/flexible/django_cloudsql/requirements.txt @@ -1,5 +1,5 @@ Django==5.0.3; python_version >= "3.10" -Django==4.2.8; python_version < "3.10" +Django==4.2.11; python_version < "3.10" gunicorn==20.1.0 psycopg2-binary==2.9.9 django-environ==0.10.0 diff --git a/appengine/flexible/hello_world_django/requirements.txt b/appengine/flexible/hello_world_django/requirements.txt index 08993873dab..b794c611050 100644 --- a/appengine/flexible/hello_world_django/requirements.txt +++ b/appengine/flexible/hello_world_django/requirements.txt @@ -1,4 +1,4 @@ Django==5.0.3; python_version >= "3.10" -Django==4.2.8; python_version >= "3.8" and python_version < "3.10" +Django==4.2.11; python_version >= "3.8" and python_version < "3.10" Django==3.2.25; python_version < "3.8" gunicorn==20.1.0 diff --git a/appengine/flexible/twilio/requirements.txt b/appengine/flexible/twilio/requirements.txt index d680692d6ab..7f549687bc6 100644 --- a/appengine/flexible/twilio/requirements.txt +++ b/appengine/flexible/twilio/requirements.txt @@ -3,4 +3,4 @@ Flask==2.3.3; python_version < '3.7' Werkzeug==3.0.1; python_version > '3.6' Werkzeug==2.3.7; python_version < '3.7' gunicorn==20.1.0 -twilio==9.0.2 +twilio==9.0.3 diff --git a/appengine/flexible_python37_and_earlier/analytics/noxfile_config.py b/appengine/flexible_python37_and_earlier/analytics/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/analytics/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/analytics/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/datastore/noxfile_config.py b/appengine/flexible_python37_and_earlier/datastore/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/datastore/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/datastore/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/disk/noxfile_config.py b/appengine/flexible_python37_and_earlier/disk/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/disk/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/disk/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/django_cloudsql/noxfile_config.py b/appengine/flexible_python37_and_earlier/django_cloudsql/noxfile_config.py index c904355d88b..393aa3f6932 100644 --- a/appengine/flexible_python37_and_earlier/django_cloudsql/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/django_cloudsql/noxfile_config.py @@ -22,7 +22,11 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + # Skipping for Python 3.9 due to pyarrow compilation failure. + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], + # Old samples are opted out of enforcing Python type hints + # All new samples should feature them + "enforce_type_hints": False, # 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/appengine/flexible_python37_and_earlier/django_cloudsql/requirements.txt b/appengine/flexible_python37_and_earlier/django_cloudsql/requirements.txt index 4bf31fe3f55..ddcf021ba11 100644 --- a/appengine/flexible_python37_and_earlier/django_cloudsql/requirements.txt +++ b/appengine/flexible_python37_and_earlier/django_cloudsql/requirements.txt @@ -1,5 +1,5 @@ Django==5.0.3; python_version >= "3.10" -Django==4.2.8; python_version >= "3.8" and python_version < "3.10" +Django==4.2.11; python_version >= "3.8" and python_version < "3.10" Django==3.2.25; python_version < "3.8" gunicorn==20.1.0 psycopg2-binary==2.9.9 diff --git a/appengine/flexible_python37_and_earlier/extending_runtime/noxfile_config.py b/appengine/flexible_python37_and_earlier/extending_runtime/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/extending_runtime/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/extending_runtime/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/hello_world/noxfile_config.py b/appengine/flexible_python37_and_earlier/hello_world/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/hello_world/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/hello_world/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/hello_world_django/noxfile_config.py b/appengine/flexible_python37_and_earlier/hello_world_django/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/hello_world_django/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/hello_world_django/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/hello_world_django/requirements.txt b/appengine/flexible_python37_and_earlier/hello_world_django/requirements.txt index 08993873dab..b794c611050 100644 --- a/appengine/flexible_python37_and_earlier/hello_world_django/requirements.txt +++ b/appengine/flexible_python37_and_earlier/hello_world_django/requirements.txt @@ -1,4 +1,4 @@ Django==5.0.3; python_version >= "3.10" -Django==4.2.8; python_version >= "3.8" and python_version < "3.10" +Django==4.2.11; python_version >= "3.8" and python_version < "3.10" Django==3.2.25; python_version < "3.8" gunicorn==20.1.0 diff --git a/appengine/flexible_python37_and_earlier/metadata/noxfile_config.py b/appengine/flexible_python37_and_earlier/metadata/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/metadata/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/metadata/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/multiple_services/noxfile_config.py b/appengine/flexible_python37_and_earlier/multiple_services/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/multiple_services/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/multiple_services/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/numpy/noxfile_config.py b/appengine/flexible_python37_and_earlier/numpy/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/numpy/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/numpy/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/pubsub/noxfile_config.py b/appengine/flexible_python37_and_earlier/pubsub/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/pubsub/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/pubsub/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/scipy/noxfile_config.py b/appengine/flexible_python37_and_earlier/scipy/noxfile_config.py index 35f0b54833a..9dbc4dd20c8 100644 --- a/appengine/flexible_python37_and_earlier/scipy/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/scipy/noxfile_config.py @@ -22,7 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + # Skipping for Python 3.9 due to pyarrow compilation failure. + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/scipy/requirements.txt b/appengine/flexible_python37_and_earlier/scipy/requirements.txt index dbb9c85c918..e5f3e8c6fa5 100644 --- a/appengine/flexible_python37_and_earlier/scipy/requirements.txt +++ b/appengine/flexible_python37_and_earlier/scipy/requirements.txt @@ -3,6 +3,6 @@ Flask==2.0.3; python_version < '3.7' gunicorn==20.1.0 imageio==2.29.0 numpy==1.21.6 -pillow==10.0.1 +pillow==10.3.0 scipy==1.7.3 Werkzeug==2.3.7 diff --git a/appengine/flexible_python37_and_earlier/static_files/noxfile_config.py b/appengine/flexible_python37_and_earlier/static_files/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/static_files/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/static_files/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/storage/noxfile_config.py b/appengine/flexible_python37_and_earlier/storage/noxfile_config.py index a97c6f1e260..85dce2f0ae0 100644 --- a/appengine/flexible_python37_and_earlier/storage/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/storage/noxfile_config.py @@ -22,7 +22,8 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + # Skipping for Python 3.9 due to pyarrow compilation failure. + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/appengine/flexible_python37_and_earlier/tasks/noxfile_config.py b/appengine/flexible_python37_and_earlier/tasks/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/tasks/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/tasks/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/twilio/noxfile_config.py b/appengine/flexible_python37_and_earlier/twilio/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/twilio/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/twilio/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # 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_python37_and_earlier/twilio/requirements.txt b/appengine/flexible_python37_and_earlier/twilio/requirements.txt index f59de0cdc12..a0ac91c3940 100644 --- a/appengine/flexible_python37_and_earlier/twilio/requirements.txt +++ b/appengine/flexible_python37_and_earlier/twilio/requirements.txt @@ -1,6 +1,6 @@ Flask==3.0.0; python_version > '3.6' Flask==2.0.3; python_version < '3.7' gunicorn==20.1.0 -twilio==9.0.2 +twilio==9.0.3 Werkzeug==3.0.1; python_version >= '3.7' Werkzeug==2.3.7; python_version < '3.7' diff --git a/appengine/flexible_python37_and_earlier/websockets/noxfile_config.py b/appengine/flexible_python37_and_earlier/websockets/noxfile_config.py index 8fecd243887..40a88b65ca4 100644 --- a/appengine/flexible_python37_and_earlier/websockets/noxfile_config.py +++ b/appengine/flexible_python37_and_earlier/websockets/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11"], + "ignored_versions": ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/bigquery-migration/snippets/requirements.txt b/bigquery-migration/snippets/requirements.txt index 9eacdfaa18a..97be93e71df 100644 --- a/bigquery-migration/snippets/requirements.txt +++ b/bigquery-migration/snippets/requirements.txt @@ -1 +1 @@ -google-cloud-bigquery-migration==0.11.0 +google-cloud-bigquery-migration==0.11.7 diff --git a/enterpriseknowledgegraph/entity_reconciliation/requirements.txt b/enterpriseknowledgegraph/entity_reconciliation/requirements.txt index a1b5e53e3de..5886a2bfb20 100644 --- a/enterpriseknowledgegraph/entity_reconciliation/requirements.txt +++ b/enterpriseknowledgegraph/entity_reconciliation/requirements.txt @@ -1 +1 @@ -google-cloud-enterpriseknowledgegraph==0.3.2 +google-cloud-enterpriseknowledgegraph==0.3.9 diff --git a/enterpriseknowledgegraph/search/requirements.txt b/enterpriseknowledgegraph/search/requirements.txt index a1b5e53e3de..5886a2bfb20 100644 --- a/enterpriseknowledgegraph/search/requirements.txt +++ b/enterpriseknowledgegraph/search/requirements.txt @@ -1 +1 @@ -google-cloud-enterpriseknowledgegraph==0.3.2 +google-cloud-enterpriseknowledgegraph==0.3.9 diff --git a/generative_ai/embedding.py b/generative_ai/embedding.py index 4a004d2c716..133275b24d9 100644 --- a/generative_ai/embedding.py +++ b/generative_ai/embedding.py @@ -21,13 +21,15 @@ def embed_text( texts: List[str] = ["banana muffins? ", "banana bread? banana muffins?"], task: str = "RETRIEVAL_DOCUMENT", - model_name: str = "textembedding-gecko@003" + model_name: str = "textembedding-gecko@003", ) -> List[List[float]]: """Embeds texts with a pre-trained, foundational model.""" model = TextEmbeddingModel.from_pretrained(model_name) inputs = [TextEmbeddingInput(text, task) for text in texts] embeddings = model.get_embeddings(inputs) return [embedding.values for embedding in embeddings] + + # [END aiplatform_sdk_embedding] diff --git a/generative_ai/embedding_preview.py b/generative_ai/embedding_preview.py index d66af500118..5ea285fb7a6 100644 --- a/generative_ai/embedding_preview.py +++ b/generative_ai/embedding_preview.py @@ -22,7 +22,7 @@ def embed_text( texts: List[str] = ["banana muffins? ", "banana bread? banana muffins?"], task: str = "QUESTION_ANSWERING", model_name: str = "text-embedding-preview-0409", - dimensionality: Optional[int] = 256 + dimensionality: Optional[int] = 256, ) -> List[List[float]]: """Embeds texts with a pre-trained, foundational model.""" model = TextEmbeddingModel.from_pretrained(model_name) @@ -30,6 +30,8 @@ def embed_text( kwargs = dict(output_dimensionality=dimensionality) if dimensionality else {} embeddings = model.get_embeddings(inputs, **kwargs) return [embedding.values for embedding in embeddings] + + # [END generativeaionvertexai_sdk_embedding] diff --git a/generative_ai/requirements.txt b/generative_ai/requirements.txt index b143b8465fb..29c26ed4fb8 100644 --- a/generative_ai/requirements.txt +++ b/generative_ai/requirements.txt @@ -1,7 +1,7 @@ pandas==1.3.5; python_version == '3.7' pandas==2.0.1; python_version > '3.7' pillow==9.5.0; python_version < '3.8' -pillow==10.0.1; python_version >= '3.8' +pillow==10.3.0; python_version >= '3.8' google-cloud-aiplatform[pipelines]==1.46.0 google-auth==2.17.3 anthropic[vertex]==0.21.3 diff --git a/iap/README.md b/iap/README.md index 306a8a380af..d6a7be7660b 100644 --- a/iap/README.md +++ b/iap/README.md @@ -76,6 +76,26 @@ service account private key can impersonate that account! ``` 2. Copy `validate_jwt.py` into your application. +## Using generate_self_signed_jwt + +### Self-signed JWT with IAM Credentials API + +1. Install the libraries listed in `requirements.txt`, e.g. by running: + ``` + virtualenv/bin/pip install -r requirements.txt + ``` +2. Call sign_jwt with service account email and target resource url. +3. Use resulting token to access application. + +### Self-signed JWT with local key file +1. Install the libraries listed in `requirements.txt`, e.g. by running: + ``` + virtualenv/bin/pip install -r requirements.txt + ``` +2. Download credential file for service account +3. Call sign_jwt_with_key_file with service account email and target resource url +4. Use resulting token to access application. + ## Running Tests 1. Deploy `app_engine_app` to a project. diff --git a/kubernetes_engine/django_tutorial/requirements.txt b/kubernetes_engine/django_tutorial/requirements.txt index 725aee27935..1a53e9bcf36 100644 --- a/kubernetes_engine/django_tutorial/requirements.txt +++ b/kubernetes_engine/django_tutorial/requirements.txt @@ -1,5 +1,5 @@ Django==5.0.3; python_version >= "3.10" -Django==4.2.8; python_version >= "3.8" and python_version < "3.10" +Django==4.2.11; python_version >= "3.8" and python_version < "3.10" Django==3.2.25; python_version < "3.8" # Uncomment the mysqlclient requirement if you are using MySQL rather than # PostgreSQL. You must also have a MySQL client installed in that case. diff --git a/media-translation/snippets/requirements.txt b/media-translation/snippets/requirements.txt index ebc2fc1691b..40fa8003561 100644 --- a/media-translation/snippets/requirements.txt +++ b/media-translation/snippets/requirements.txt @@ -1,3 +1,3 @@ -google-cloud-media-translation==0.11.4 +google-cloud-media-translation==0.11.9 pyaudio==0.2.14 -six==1.16.0 \ No newline at end of file +six==1.16.0 diff --git a/profiler/appengine/standard_python37/noxfile_config.py b/profiler/appengine/standard_python37/noxfile_config.py index c1ec392639d..0a85595cd94 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"], + "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10", "3.11", "3.12"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/run/django/requirements.txt b/run/django/requirements.txt index b66cc6bb092..c9730acded1 100644 --- a/run/django/requirements.txt +++ b/run/django/requirements.txt @@ -1,5 +1,5 @@ Django==5.0.3; python_version >= "3.10" -Django==4.2.8; python_version >= "3.8" and python_version < "3.10" +Django==4.2.11; python_version >= "3.8" and python_version < "3.10" Django==3.2.25; python_version < "3.8" django-storages[google]==1.13.2 django-environ==0.10.0 diff --git a/video/stitcher/requirements.txt b/video/stitcher/requirements.txt index 0d6ae89c797..fc658126b60 100644 --- a/video/stitcher/requirements.txt +++ b/video/stitcher/requirements.txt @@ -1,3 +1,3 @@ google-api-python-client==2.88.0 grpcio==1.59.3 -google-cloud-video-stitcher==0.7.2 \ No newline at end of file +google-cloud-video-stitcher==0.7.9 diff --git a/vision/snippets/crop_hints/requirements.txt b/vision/snippets/crop_hints/requirements.txt index 97aa72d3e1a..988cc298b28 100644 --- a/vision/snippets/crop_hints/requirements.txt +++ b/vision/snippets/crop_hints/requirements.txt @@ -1,3 +1,3 @@ google-cloud-vision==3.4.2 pillow==9.5.0; python_version < '3.8' -pillow==10.2.0; python_version >= '3.8' +pillow==10.3.0; python_version >= '3.8' diff --git a/vision/snippets/document_text/requirements.txt b/vision/snippets/document_text/requirements.txt index 97aa72d3e1a..988cc298b28 100644 --- a/vision/snippets/document_text/requirements.txt +++ b/vision/snippets/document_text/requirements.txt @@ -1,3 +1,3 @@ google-cloud-vision==3.4.2 pillow==9.5.0; python_version < '3.8' -pillow==10.2.0; python_version >= '3.8' +pillow==10.3.0; python_version >= '3.8' diff --git a/vision/snippets/face_detection/requirements.txt b/vision/snippets/face_detection/requirements.txt index 97aa72d3e1a..988cc298b28 100644 --- a/vision/snippets/face_detection/requirements.txt +++ b/vision/snippets/face_detection/requirements.txt @@ -1,3 +1,3 @@ google-cloud-vision==3.4.2 pillow==9.5.0; python_version < '3.8' -pillow==10.2.0; python_version >= '3.8' +pillow==10.3.0; python_version >= '3.8'