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
1 change: 1 addition & 0 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ 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.26 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link

Copilot AI Nov 8, 2025

Choose a reason for hiding this comment

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

Adding django>=4.2.26 to local.txt creates a dependency conflict. Django 3.2.x is likely pinned in a base requirements file (e.g., base.txt or production.txt), but this adds a conflicting constraint requiring 4.2.26+. This is a major version upgrade (3.2→4.2) that requires updating the primary Django dependency declaration and testing for breaking changes, not just adding a constraint in local.txt. The PR should update the main Django requirement instead of adding a duplicate constraint.

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

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Nov 8, 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 since Django is clearly a direct dependency of this project (as indicated by django-extensions requiring it). The comment should accurately reflect that this is upgrading an existing Django dependency for security reasons.

Suggested change
django>=4.2.26 # not directly required, pinned by Snyk to avoid a vulnerability
django>=4.2.26 # direct dependency; version pinned/upgraded for security reasons

Copilot uses AI. Check for mistakes.