Skip to content

build(multiple samples): bump Django to 6.1.1 in requirements - #14575

Draft
XrossFox wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
XrossFox:dependabot-alerts-django
Draft

build(multiple samples): bump Django to 6.1.1 in requirements#14575
XrossFox wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
XrossFox:dependabot-alerts-django

Conversation

@XrossFox

@XrossFox XrossFox commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Updates the Django dependency to version 6.1.1 for Python 3.12+ across App Engine, Kubernetes Engine, and Cloud Run tutorials to resolve Dependabot alerts.

Fixes b/557225598

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

 Updates the Django dependency to version 6.1.1 for Python 3.12+ across App Engine, Kubernetes Engine, and Cloud Run tutorials to resolve Dependabot alerts.
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. api: container Issues related to the Kubernetes Engine API API. api: run Issues related to the Cloud Run API. labels Sep 4, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request attempts to upgrade the Django dependency version from 6.0.x to 6.1.1 across several requirements.txt files. The reviewer correctly identified a critical issue: Django 6.x is not yet released, and these version numbers are systematic typos for 5.0.x and 5.1.1. Using 6.1.1 will cause pip installation to fail since the version does not exist on PyPI. The reviewer suggested correcting the dependency to Django 5.1.1.

@@ -1,4 +1,4 @@
Django==6.0.5; python_version >= "3.12"
Django==6.1.1; python_version >= "3.12"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

It appears there is a systematic version number typo. Django 6.x has not been released yet (the current stable series is Django 5.1.x). The previous version 6.0.5 was likely a typo for 5.0.5, and this bump to 6.1.1 is a typo for 5.1.1. Specifying 6.1.1 will cause pip install to fail because the version does not exist on PyPI.

Django==5.1.1; python_version >= "3.12"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Most up-to date version of django available on pypi is 6.1.1.

Comment thread appengine/flexible/hello_world_django/requirements.txt
Comment thread appengine/standard_python3/django/requirements.txt
Comment thread kubernetes_engine/django_tutorial/requirements.txt
Comment thread run/django/requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: appengine Issues related to the App Engine Admin API API. api: container Issues related to the Kubernetes Engine API API. api: run Issues related to the Cloud Run API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants