-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore(deps): update dependency django to v5.2.6 #13565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==5.2.5 | ||
Django==5.2.6 | ||
gunicorn==23.0.0 | ||
psycopg2-binary==2.9.10 | ||
django-environ==0.12.0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Django==5.2.5 | ||
Django==5.2.6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This Django version is incompatible with some of the Python versions used for testing this sample. The |
||
gunicorn==23.0.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==5.2.5 | ||
Django==5.2.6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sample is configured for Python 3.7 (as specified in
|
||
gunicorn==23.0.0 | ||
psycopg2-binary==2.9.10 | ||
django-environ==0.12.0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Django==5.2.5 | ||
Django==5.2.6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sample is configured for Python 3.7 (as specified in
|
||
gunicorn==23.0.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Django==5.2.5; python_version >= "3.10" | ||
Django==4.2.23; python_version >= "3.8" and python_version < "3.10" | ||
Django==5.2.6; python_version >= "3.10" | ||
Django==5.2.6; python_version >= "3.8" and python_version < "3.10" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This update is incorrect. Django version 5.2.6 requires Python 3.10 or newer, but this line applies it to Python versions 3.8 and 3.9. This will cause a dependency installation failure on those Python versions. The Django version for this Python range should remain on the 4.2.x series.
|
||
# Uncomment the mysqlclient requirement if you are using MySQL rather than | ||
# PostgreSQL. You must also have a MySQL client installed in that case. | ||
#mysqlclient==1.4.1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Django==5.2.5; python_version >= "3.10" | ||
Django==4.2.23; python_version >= "3.8" and python_version < "3.10" | ||
Django==5.2.6; python_version >= "3.10" | ||
Django==5.2.6; python_version >= "3.8" and python_version < "3.10" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This update is incorrect. Django version 5.2.6 requires Python 3.10 or newer, but this line applies it to Python versions 3.8 and 3.9. This will cause a dependency installation failure on those Python versions. The Django version for this Python range should remain on the 4.2.x series.
|
||
django-storages[google]==1.14.6 | ||
django-environ==0.12.0 | ||
psycopg2-binary==2.9.10 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Django version is incompatible with the Python versions configured for this sample. The
app.yaml
specifies Python 3.7, and thenoxfile_config.py
indicates testing on Python 3.9. Django 5.x requires Python 3.10+. This will cause deployment and tests to fail. To support multiple Python versions, you should use conditional dependencies to specify a compatible Django version for each Python range.