Skip to content

build(deps): bump django from 5.2.6 to 6.0.3#280

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/django-6.0.3
Open

build(deps): bump django from 5.2.6 to 6.0.3#280
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/django-6.0.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2026

Bumps django from 5.2.6 to 6.0.3.

Commits
  • a0d3bdb [6.0.x] Bumped version for 6.0.3 release.
  • 264d5c7 [6.0.x] Fixed CVE-2026-25674 -- Prevented potentially incorrect permissions o...
  • b1444d9 [6.0.x] Fixed CVE-2026-25673 -- Simplified URLField scheme detection.
  • 1b22d53 [6.0.x] Fixed #36961 -- Fixed TypeError in deprecation warnings if Django is ...
  • 27ed90a [6.0.x] Ensured spelling checks pass OK.
  • 659bacf [6.0.x] Aligned docs checks between GitHub Actions and local development.
  • e65c412 [6.0.x] Adjusted default DoS severity level in Security Policy.
  • 5b70253 [6.0.x] Fixed #36848 -- Mentioned BadRequest exception in docs/ref/views.txt.
  • 3a04b22 [6.0.x] Fixed #36951 -- Removed empty exc_info from log_task_finished signal ...
  • d112203 [6.0.x] Fixed #36944 -- Removed MAX_LENGTH_HTML and related 5M chars limit re...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django](https://github.com/django/django) from 5.2.6 to 6.0.3.
- [Commits](django/django@5.2.6...6.0.3)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 4, 2026
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

@dependabot merge

@codacy-production
Copy link

Codacy's Analysis Summary

0 new issue (≤ 1 medium issue)
0 new security issue (≤ 0 issue)
0 complexity
0 duplications
More details

AI Reviewer: first review requested successfully. As new changes are pushed, run a review below.
AI can make mistakes. Always validate suggestions.

 
  Run Reviewer ▶︎  
 

Copy link

@codacy-production codacy-production bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

The PR upgrades Django from 5.2.6 to 6.0.3, resolving several security vulnerabilities and 12 static analysis issues. The PR is reported as up to standards by Codacy. No immediate blockers were identified; however, the major version bump requires verification of runtime compatibility.

Suggestions for missing tests

  • Run the Django system check tool (python manage.py check) to identify incompatible settings or removed features in the configuration
  • Execute database migrations in a test environment to ensure schema compatibility with Django 6.0's ORM
  • Verify application initialization and middleware processing via a smoke test to confirm compatibility with the new framework version
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Run the Django system check tool (`python manage.py check`) to identify incompatible settings or removed features in the configuration
2. Execute database migrations in a test environment to ensure schema compatibility with Django 6.0's ORM
3. Verify application initialization and middleware processing via a smoke test to confirm compatibility with the new framework version

🗒️ Improve review quality by adding custom instructions

@@ -1,5 +1,5 @@
pylint==3.3.9
Django==5.2.6
Django==6.0.3

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

Suggestion: Major version upgrade of the Django framework. Potential runtime crashes or migration failures due to the removal of features deprecated in the 5.x cycle.

Recommendation: Automated verification of the application bootstrap process and system checks (python manage.py check) under the new framework version.

Try running the following prompt in your IDE agent:

Create a CI job step or a test script that runs python manage.py check --deploy and executes the core integration test suite to verify compatibility with the Django 6.0 upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants