Skip to content
Draft
  •  
  •  
  •  
10 changes: 4 additions & 6 deletions alloydb/notebooks/e2e_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ async def test_embeddings_batch_processing(
skip_shell_commands=True,
replace={
(
"password = input(\"Please provide "
'password = input("Please provide '
"a password to be used for 'postgres' "
"database user: \")"
'database user: ")'
): f"password = '{password}'",
(
"await create_db("
Expand Down Expand Up @@ -141,14 +141,12 @@ async def test_embeddings_batch_processing(
# Get the table back to the original state
await conn.execute(
sqlalchemy.text(
f"UPDATE {table_name} set "
f"analysis_embedding = NULL"
f"UPDATE {table_name} set " f"analysis_embedding = NULL"
)
)
await conn.execute(
sqlalchemy.text(
f"UPDATE {table_name} set "
f"overview_embedding = NULL"
f"UPDATE {table_name} set " f"overview_embedding = NULL"
)
)
await conn.commit()
Expand Down
2 changes: 1 addition & 1 deletion alloydb/notebooks/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
"ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13", 3.14],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
6 changes: 3 additions & 3 deletions alloydb/notebooks/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
google-cloud-alloydb-connector[asyncpg]==1.5.0
google-cloud-alloydb-connector[asyncpg]==1.12.1
sqlalchemy==2.0.40
pytest==8.3.3
pytest>=9.0.3
ipykernel==6.29.5
pytest-asyncio==0.24.0
pytest-asyncio==1.3.0
nbconvert==7.16.6
2 changes: 1 addition & 1 deletion aml-ai/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
5 changes: 1 addition & 4 deletions appengine/flexible/analytics/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from flask import Flask
import requests


app = Flask(__name__)


Expand Down Expand Up @@ -63,9 +62,7 @@ def server_error(e):
"""
An internal error occurred: <pre>{}</pre>
See logs for full stacktrace.
""".format(
e
),
""".format(e),
500,
)

Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/analytics/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": ["2.7", "3.7", "3.8", "3.9", "3.14"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": False,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/analytics/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3
responses==0.23.1
8 changes: 3 additions & 5 deletions appengine/flexible/analytics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
Werkzeug==3.0.3; python_version > '3.6'
Werkzeug==2.3.8; python_version < '3.7'
gunicorn==23.0.0
Flask==3.1.3; python_version >= '3.10'
Werkzeug==3.1.8; python_version >= '3.10'
gunicorn==26.0.0; python_version >= '3.10'
requests[security]==2.31.0
5 changes: 1 addition & 4 deletions appengine/flexible/datastore/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from flask import Flask, request
from google.cloud import datastore


app = Flask(__name__)


Expand Down Expand Up @@ -78,9 +77,7 @@ def server_error(e):
"""
An internal error occurred: <pre>{}</pre>
See logs for full stacktrace.
""".format(
e
),
""".format(e),
500,
)

Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/datastore/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/datastore/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= '3.10'
5 changes: 3 additions & 2 deletions appengine/flexible/datastore/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Flask==3.0.3
Flask==3.1.3; python_version >= '3.10'
Werkzeug==3.1.8; python_version >= '3.10'
google-cloud-datastore==2.20.2
gunicorn==23.0.0
gunicorn==26.0.0; python_version >= '3.10'
2 changes: 1 addition & 1 deletion appengine/flexible/django_cloudsql/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
pytest-django==4.9.0
2 changes: 1 addition & 1 deletion appengine/flexible/django_cloudsql/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==6.0.1; python_version >= "3.12"
gunicorn==23.0.0
gunicorn==26.0.0
psycopg2-binary==2.9.11
django-environ==0.12.0
google-cloud-secret-manager==2.21.1
Expand Down
1 change: 0 additions & 1 deletion appengine/flexible/hello_world/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# [START gae_flex_quickstart]
from flask import Flask


app = Flask(__name__)


Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/hello_world/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": ["2.7", "3.7", "3.8", "3.9"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/hello_world/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest=9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/metadata/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/metadata/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/numpy/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/numpy/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/pubsub/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.7"],
"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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/pubsub/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/scipy/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/scipy/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/static_files/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/static_files/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/storage/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.10"],
"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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/storage/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3
google-cloud-storage==2.9.0
2 changes: 1 addition & 1 deletion appengine/flexible/tasks/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/tasks/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/twilio/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/twilio/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3
responses==0.23.1
2 changes: 1 addition & 1 deletion appengine/flexible/websockets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.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,
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/websockets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.2.0
pytest==9.0.3
retrying==1.3.4
websocket-client==1.7.0
2 changes: 1 addition & 1 deletion appengine/standard/analytics/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==9.0.3; python_version >= '3.10'
responses==0.17.0; python_version < '3.7'
responses==0.23.1; python_version > '3.6'
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==9.0.3; python_version >= '3.10'
WebTest==2.0.35; python_version < '3.0'
2 changes: 1 addition & 1 deletion appengine/standard/blobstore/gcs/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==9.0.3; python_version >= '3.10'
WebTest==2.0.35; python_version < '3.0'
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==8.3.2; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
mock==3.0.5; python_version < '3.0'
mock==5.1.0; python_version >= '3.0'
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==9.0.3; python_version >= '3.10'
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==8.3.2; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
mock==3.0.5; python_version < '3.0'
mock==5.1.0; python_version >= '3.0'
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==8.3.2; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.0'
mock==3.0.5; python_version < '3.0'
mock==5.1.0; python_version >= '3.0'
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'

# pytest==8.3.4 and six==1.17.0 for Python3.
pytest==8.3.4; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
six==1.17.0
4 changes: 1 addition & 3 deletions appengine/standard/iap/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==8.3.2; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
WebTest==2.0.35; python_version < '3.0'
six==1.16.0
2 changes: 1 addition & 1 deletion appengine/standard/images/api/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.3.5
pytest==9.0.3
six==1.17.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.3.4
pytest==9.0.3
six==1.17.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.3.4
pytest==9.0.3
six==1.17.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.3.5
pytest==9.0.3
WebTest==3.0.4
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==8.3.2; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
mock==5.0.2; python_version > '3.0'
mock==3.0.5; python_version < '3.0'
six==1.16.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'

# pytest==8.3.4 and six==1.17.0 for Python3.
pytest==8.3.4; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
six==1.17.0
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'

# 2025-01-14 Adds support for Python3.
pytest==8.3.2; python_version >= '3.0'
pytest==9.0.3; python_version >= '3.10'
WebTest==3.0.1; python_version >= '3.0'
six==1.16.0
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# pin pytest to 4.6.11 for Python2.
pytest==4.6.11; python_version < '3.0'
pytest==9.0.3; python_version >= '3.10'
Loading