Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ django-extensions==3.2.3 # https://github.com/django-extensions/django-extensio
django-coverage-plugin==3.1.0 # https://github.com/nedbat/django_coverage_plugin
pytest-django==4.7.0 # https://github.com/pytest-dev/pytest-django
tornado>=6.4.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
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

The comment 'not directly required' is misleading. Django is a direct dependency (used by django-extensions 3.2.3 as shown in the warning), and this version constraint may conflict with existing Django version specifications elsewhere in the requirements. Consider consolidating Django version requirements into a single, explicit entry in the appropriate requirements file (base.txt or production.txt) rather than using '>=', which could lead to unpredictable version resolution.

Suggested change
django>=4.2.27 # not directly required, pinned by Snyk to avoid a vulnerability

Copilot uses AI. Check for mistakes.
sqlparse>=0.5.4 # not directly required, pinned by Snyk to avoid a vulnerability
Comment on lines +40 to +41
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

Using '>=' constraints for security fixes in a local development requirements file is problematic. This approach allows any future version (including potentially incompatible major versions like Django 5.x) and doesn't guarantee these constraints apply to production. Security fixes should use exact version pinning (==) or restricted ranges (e.g., >=4.2.27,<5.0) and be placed in the base or production requirements file to ensure they're enforced across all environments.

Copilot uses AI. Check for mistakes.