Skip to content

build(deps): upgrade Django to 5.2.17 and DRF to 3.18.2 for CTO-5250, CTO-5553 - #355

Merged
vedharish merged 1 commit into
mainfrom
fix/cto-5250-5553-django-5-2
Nov 11, 2026
Merged

vedharish merged 1 commit into
mainfrom
fix/cto-5250-5553-django-5-2

Conversation

@Vishalan

@Vishalan Vishalan commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Upgrades Django from 4.2.30 (end of life) to 5.2.17, and djangorestframework from 3.15.2 to 3.18.2.

Stacked on #354: the base branch is fix/cto-dep-bumps-enigma-nov26. Merge that first.

Testing

  • Local venv (Python 3.11, sqlite): pytest 140 passed, 8 skipped. Same as main.
  • manage.py check: no issues.
  • manage.py makemigrations --check --dry-run: no changes.
  • pylama and semgrep: clean.
  • Docker image build not run yet: Colima VM disk lock on this machine.

Review notes

  • The other pins that depend on Django (django-filter 22.1, django-mysql 4.7.1, django-stubs 1.14.0, django-ajax-datatable, social-auth-app-django) resolved with Django 5.2.17 without changes. The resolver confirmed this, and the test suite passed.
  • This PR changes no application code. A runtime smoke test on staging is still recommended.

🤖 Generated with Claude Code

… CTO-5553

- Django 4.2.30 -> 5.2.17 (CTO-5250: CVE-2026-15307, CVE-2026-15337, CVE-2026-15830). 4.2 is end of life.
- djangorestframework 3.15.2 -> 3.18.2 (GHSA-3547-9m27-7rxg, CTO-5553). DRF 3.18 requires Django >= 5.2.

Verified locally: pytest 140 passed, 8 skipped; manage.py check clean; makemigrations --check no changes. Docker image build not yet run.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: ceb1df37-7c6d-4286-931c-5e1fefea60ff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Base automatically changed from fix/cto-dep-bumps-enigma-nov26 to main November 11, 2026 09:05
@vedharish
vedharish merged commit 1d5e9a0 into main Nov 11, 2026
5 checks passed
@vedharish
vedharish deleted the fix/cto-5250-5553-django-5-2 branch November 11, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants