-
Notifications
You must be signed in to change notification settings - Fork 7
[Snyk] Fix for 26 vulnerabilities #510
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 | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,9 +3,9 @@ | |||||||||||||||||||||||
| -r base.txt | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| gevent==24.2.1 # http://www.gevent.org/ | ||||||||||||||||||||||||
| gunicorn==21.2.0 # https://github.com/benoitc/gunicorn | ||||||||||||||||||||||||
| gunicorn==23.0.0 # https://github.com/benoitc/gunicorn | ||||||||||||||||||||||||
| psycopg2==2.9.9 # https://github.com/psycopg/psycopg2 | ||||||||||||||||||||||||
| sentry-sdk[django]==2.5.1 # https://github.com/getsentry/sentry-python | ||||||||||||||||||||||||
| sentry-sdk==2.8.0 # https://github.com/getsentry/sentry-python | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Django | ||||||||||||||||||||||||
| # ------------------------------------------------------------------------------ | ||||||||||||||||||||||||
|
|
@@ -16,4 +16,7 @@ django-anymail # https://github.com/anymail/django-anymail | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Elastic-APM # https://pypi.org/project/elastic-apm/ | ||||||||||||||||||||||||
| # ------------------------------------------------------------------------------ | ||||||||||||||||||||||||
| elastic-apm==6.15.1 | ||||||||||||||||||||||||
| elastic-apm==6.15.1 | ||||||||||||||||||||||||
| django>=4.2.27 # not directly required, pinned by Snyk to avoid a vulnerability | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
| django>=4.2.27 # not directly required, pinned by Snyk to avoid a vulnerability |
Copilot
AI
Jan 30, 2026
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.
These new Snyk pins use >= in a file that otherwise pins production deps with ==, which makes production installs non-deterministic and could pull in future major versions (e.g., Django 5.x) without review. Prefer an exact pin (or at least an upper bound like <5) consistent with the rest of this file, ideally managed in the same place as other pins (e.g., base.txt).
| django>=4.2.27 # not directly required, pinned by Snyk to avoid a vulnerability | |
| sqlparse>=0.5.4 # not directly required, pinned by Snyk to avoid a vulnerability | |
| zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability | |
| django==4.2.27 # not directly required, pinned by Snyk to avoid a vulnerability | |
| sqlparse==0.5.4 # not directly required, pinned by Snyk to avoid a vulnerability | |
| zipp==3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability |
Copilot
AI
Jan 30, 2026
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.
The header says to avoid production dependencies that aren't in development (-r base.txt is intended to keep envs aligned). Adding direct vulnerability pins only in production.txt means local/dev installs from requirements/local.txt won't match production. Consider moving these vulnerability-driven constraints into base.txt so all environments exercise the same dependency set.
| elastic-apm==6.15.1 | |
| django>=4.2.27 # not directly required, pinned by Snyk to avoid a vulnerability | |
| sqlparse>=0.5.4 # not directly required, pinned by Snyk to avoid a vulnerability | |
| zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability | |
| elastic-apm==6.15.1 |
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.
Minor formatting: other lines in this file use two spaces before inline comments (e.g.,
gevent==... # ...), butsentry-sdk==2.8.0 # ...uses a single space. Consider normalizing spacing for consistency.