Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/flexible/analytics/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ 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
gunicorn==25.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The update to gunicorn==25.0.0 raises the required Python version to 3.8+. However, gunicorn lacks a Python version marker, while other dependencies in this file are pinned for older Python versions (e.g., < '3.7'). This will cause installation failures on unsupported Python versions. To prevent this, a version marker should be added.

gunicorn==25.0.0; python_version >= '3.8'

requests[security]==2.31.0
2 changes: 1 addition & 1 deletion appengine/flexible/datastore/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
google-cloud-datastore==2.20.2
gunicorn==23.0.0
gunicorn==25.0.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==5.2.9
gunicorn==23.0.0
gunicorn==25.0.0
psycopg2-binary==2.9.10
django-environ==0.12.0
google-cloud-secret-manager==2.21.1
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/hello_world/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,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
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion appengine/flexible/hello_world_django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django==5.2.9
gunicorn==23.0.0
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion appengine/flexible/metadata/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
requests[security]==2.31.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.31.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.31.0
2 changes: 1 addition & 1 deletion appengine/flexible/numpy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
numpy==2.2.4; python_version > '3.9'
numpy==1.26.4; python_version == '3.9'
numpy==1.24.4; python_version == '3.8'
2 changes: 1 addition & 1 deletion appengine/flexible/pubsub/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
google-cloud-pubsub==2.28.0
gunicorn==23.0.0
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion appengine/flexible/scipy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
imageio==2.35.1; python_version == '3.8'
imageio==2.36.1; python_version >= '3.9'
numpy==2.2.4; python_version > '3.9'
Expand Down
2 changes: 1 addition & 1 deletion appengine/flexible/static_files/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion appengine/flexible/storage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
google-cloud-storage==2.9.0
gunicorn==23.0.0
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion appengine/flexible/tasks/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-cloud-tasks==2.18.0
2 changes: 1 addition & 1 deletion appengine/flexible/twilio/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ 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
gunicorn==25.0.0
twilio==9.0.3
2 changes: 1 addition & 1 deletion appengine/flexible/websockets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==1.1.4 # it seems like Flask-sockets doesn't play well with 2.0+
Flask-Sockets==0.2.1
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.31.0
markupsafe==2.0.1
Werkzeug==1.0.1;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
requests[security]==2.31.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
google-cloud-datastore==2.20.2
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==5.2.5
gunicorn==23.0.0
gunicorn==25.0.0
psycopg2-binary==2.9.10
django-environ==0.12.0
google-cloud-secret-manager==2.21.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3; python_version > '3.6'
Flask==3.0.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django==5.2.9
gunicorn==23.0.0
gunicorn==25.0.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
requests[security]==2.31.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.31.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.31.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.0.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
numpy==2.2.4; python_version > '3.9'
numpy==2.2.4; python_version == '3.9'
numpy==2.2.4; python_version == '3.8'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.3.3; python_version < '3.7'
google-cloud-pubsub==2.28.0
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.0.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
imageio==2.36.1
numpy==2.2.4; python_version > '3.9'
numpy==2.2.4; python_version == '3.9'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.0.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Flask==2.0.3; python_version < '3.7'
werkzeug==3.0.3; python_version > '3.7'
werkzeug==2.3.8; python_version <= '3.7'
google-cloud-storage==2.9.0
gunicorn==23.0.0
gunicorn==25.0.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.0.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
google-cloud-tasks==2.18.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==3.0.3; python_version > '3.6'
Flask==2.0.3; python_version < '3.7'
gunicorn==23.0.0
gunicorn==25.0.0
twilio==9.0.3
Werkzeug==3.0.3; python_version >= '3.7'
Werkzeug==2.3.8; python_version < '3.7'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==1.1.4 # it seems like Flask-sockets doesn't play well with 2.0+
Flask-Sockets==0.2.1
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.31.0
markupsafe==2.0.1
Werkzeug==1.0.1;
2 changes: 1 addition & 1 deletion cloud-sql/mysql/sqlalchemy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Flask==2.2.2
SQLAlchemy==2.0.40
PyMySQL==1.1.1
gunicorn==23.0.0
gunicorn==25.0.0
cloud-sql-python-connector==1.18.4
functions-framework==3.9.2
Werkzeug==2.3.8
2 changes: 1 addition & 1 deletion cloud-sql/postgres/sqlalchemy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Flask==2.2.2
pg8000==1.31.5
SQLAlchemy==2.0.40
cloud-sql-python-connector==1.18.4
gunicorn==23.0.0
gunicorn==25.0.0
functions-framework==3.9.2
Werkzeug==2.3.8
2 changes: 1 addition & 1 deletion cloud-sql/sql-server/sqlalchemy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.2.2
gunicorn==23.0.0
gunicorn==25.0.0
python-tds==1.16.0
pyopenssl==25.0.0
SQLAlchemy==2.0.40
Expand Down
2 changes: 1 addition & 1 deletion cloud_scheduler/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-cloud-scheduler==2.14.1
Werkzeug==3.0.6
2 changes: 1 addition & 1 deletion endpoints/getting-started/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==3.0.3
flask-cors==6.0.1
gunicorn==23.0.0
gunicorn==25.0.0
six==1.16.0
pyyaml==6.0.2
requests==2.31.0
Expand Down
2 changes: 1 addition & 1 deletion eventarc/audit-storage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
cloudevents==1.11.0
2 changes: 1 addition & 1 deletion eventarc/audit_iam/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-events==0.14.0
cloudevents==1.11.0
googleapis-common-protos==1.66.0
2 changes: 1 addition & 1 deletion eventarc/generic/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion eventarc/pubsub/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
2 changes: 1 addition & 1 deletion eventarc/storage_handler/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-events==0.14.0
cloudevents==1.11.0
2 changes: 1 addition & 1 deletion iap/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cryptography==45.0.1
Flask==3.0.3
google-auth==2.38.0
gunicorn==23.0.0
gunicorn==25.0.0
requests==2.32.4
requests-toolbelt==1.0.0
Werkzeug==3.1.4
Expand Down
4 changes: 2 additions & 2 deletions kubernetes_engine/django_tutorial/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Django==4.2.24; python_version >= "3.8" and python_version < "3.10"
# PostgreSQL. You must also have a MySQL client installed in that case.
#mysqlclient==1.4.1
wheel==0.40.0
gunicorn==23.0.0; python_version > '3.0'
gunicorn==23.0.0; python_version < '3.0'
gunicorn==25.0.0; python_version > '3.0'
gunicorn==25.0.0; python_version < '3.0'
Comment on lines +7 to +8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Gunicorn v25 requires Python 3.8+. The python_version < '3.0' marker is for Python 2 and will cause installation to fail. The python_version > '3.0' marker is also inaccurate as it includes unsupported Python 3 versions. Since other dependencies in this file imply support for Python 3.8+, these two lines can be simplified to a single one.

gunicorn==25.0.0

# psycopg2==2.8.4 # uncomment if you prefer to build from source
psycopg2-binary==2.9.10
2 changes: 1 addition & 1 deletion memorystore/redis/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# limitations under the License.
# [START memorystore_requirements]
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
redis==6.0.0
Werkzeug==3.0.3
# [END memorystore_requirements]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
tensorflow==2.12.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Requirements for the prediction web service.
Flask==3.0.3
earthengine-api==1.5.9
gunicorn==23.0.0
gunicorn==25.0.0
tensorflow==2.12.0
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Flask==3.0.3
apache-beam[gcp]==2.46.0
google-cloud-aiplatform==1.47.0
gunicorn==23.0.0
gunicorn==25.0.0
pandas==2.2.3
tensorflow==2.12.1
Werkzeug==3.0.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3

# Local packages.
Expand Down
2 changes: 1 addition & 1 deletion profiler/appengine/flexible/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-cloud-profiler==4.1.0
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion recaptcha_enterprise/demosite/app/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-cloud-recaptcha-enterprise==1.25.0
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion run/django/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Django==4.2.24; python_version >= "3.8" and python_version < "3.10"
django-storages[google]==1.14.6
django-environ==0.12.0
psycopg2-binary==2.9.10
gunicorn==23.0.0
gunicorn==25.0.0
google-cloud-secret-manager==2.21.1
2 changes: 1 addition & 1 deletion run/hello-broken/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ 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"
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion run/helloworld/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion run/idp-sql/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Flask==3.0.3
SQLAlchemy==2.0.40
pg8000==1.31.5
gunicorn==23.0.0
gunicorn==25.0.0
firebase-admin==7.0.0
structlog==25.1.0
urllib3<2.0.0 #https://stackoverflow.com/questions/76175361/firebase-authentication-httpresponse-object-has-no-attribute-strict-status
2 changes: 1 addition & 1 deletion run/image-processing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==3.0.3
google-cloud-storage==2.12.0
google-cloud-vision==3.8.1
gunicorn==23.0.0
gunicorn==25.0.0
Wand==0.6.13
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion run/logging-manual/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ 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"
gunicorn==23.0.0
gunicorn==25.0.0
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion run/markdown-preview/editor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
google-auth==2.38.0
requests==2.31.0
Werkzeug==3.0.3
2 changes: 1 addition & 1 deletion run/markdown-preview/renderer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
gunicorn==25.0.0
Markdown==3.7
bleach==6.2.0; python_version >= "3.9"
bleach==6.1.0; python_version <= "3.8"
Expand Down
Loading