-
Notifications
You must be signed in to change notification settings - Fork 10
[Snyk] Security upgrade django from 3.2.25 to 4.2.28 #1272
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 |
|---|---|---|
|
|
@@ -41,4 +41,5 @@ elastic-apm==6.21.4.post8347027212 # https://pypi.org/project/elastic-apm/ | |
| # SECURITY UPDATES | ||
| # ============================================================================== | ||
|
|
||
| setuptools>=68.2.2 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| setuptools>=68.2.2 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| django>=4.2.28 # not directly required, pinned by Snyk to avoid a vulnerability | ||
|
||
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 change conflicts with the existing Django version pinned in requirements/base.txt. The base.txt file specifies django==5.2.7 (line 19), but this PR adds django>=4.2.28 to production.txt. Since production.txt includes base.txt via "-r base.txt", Django 5.2.7 is already installed, making this additional constraint unnecessary and potentially confusing.
The comment "not directly required" is also misleading because Django is directly required in base.txt. If the intent is to ensure Django is at least version 4.2.28 for security reasons, that requirement is already satisfied by the existing django==5.2.7 constraint. This line should be removed.