-
Notifications
You must be signed in to change notification settings - Fork 7
[Snyk] Security upgrade django from 3.2.25 to 4.2.28 #821
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 |
|---|---|---|
|
|
@@ -14,4 +14,5 @@ setuptools>=68.2.2 # not directly required, pinned by Snyk to avoid a vulnerabil | |
|
|
||
| # Elastic-APM # https://pypi.org/project/elastic-apm/ | ||
| # ------------------------------------------------------------------------------ | ||
| elastic-apm==6.21.4.post8347027212 | ||
| elastic-apm==6.21.4.post8347027212 | ||
| 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 creates a conflicting Django version requirement. The base.txt file (which is included via
-r base.txton line 3) already specifiesdjango==5.2.3. Addingdjango>=4.2.28to production.txt will cause a dependency conflict since pip cannot satisfy bothdjango==5.2.3anddjango>=4.2.28simultaneously (even though 5.2.3 is greater than 4.2.28, the exact version pin in base.txt takes precedence and conflicts).The project is already using Django 5.2.3, which is significantly newer than 4.2.28 and should already include the security fixes that this PR aims to address. This PR appears to be based on outdated dependency information and is not needed.