Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Django project template from version 5.2 to 6.0, including updates to Python version requirements, dependency versions, and documentation references.
- Updates Django from 5.2 to 6.0 with a corresponding Python requirement change from >=3.10 to >=3.12
- Updates all dependency versions in pyproject.toml to newer minimums
- Updates all Django documentation URLs from 5.2 to 6.0
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tox.ini | Updates test environments from django52 to django60, changes Python versions from 3.10-3.14 to 3.12-3.14, updates check environment from py312 to py314, removes experimental django60-py314 testenv |
| pyproject.toml | Updates project version to 6.0.0, changes Python requirement to >=3.12, updates Django constraint to >=6.0,<7.0, updates all dependency minimum versions, changes ruff target-version to py312 |
| project_name/wsgi.py | Updates Django documentation URL from 5.2 to 6.0 |
| project_name/urls.py | Updates Django documentation URL from 5.2 to 6.0 |
| project_name/settings.py | Updates Django documentation URLs from 5.2 to 6.0, removes DEFAULT_AUTO_FIELD setting |
| project_name/asgi.py | Updates Django documentation URL from 5.2 to 6.0 |
| README.md | Updates references from Django 5.2 to 6.0, updates Python version range from 3.10-3.14 to 3.12-3.14 |
| .pre-commit-config.yaml | Updates django-upgrade to 1.29.1 with target-version 6.0, updates pyupgrade to v3.21.2 with --py312-plus, updates ruff to v0.14.10 |
| .github/workflows/test.yml | Updates Python version matrix from ["3.10", "3.11", "3.12", "3.13", "3.14"] to ["3.12", "3.13", "3.14"] |
Comments suppressed due to low confidence (1)
README.md:110
- This text states that the testing matrix includes "informational tests against Django 6.0" that "are not run by default and are allowed to fail." However, the tox.ini configuration has been updated to use Django 6.0 as the primary version (line 4:
{py312,py313,py314}-django60), and the experimentaltestenv:django60-py314withignore_outcome = truehas been removed. This statement is now outdated and should be updated to reflect that Django 6.0 is the primary supported version, not an informational/experimental version.
The testing matrix also includes informational tests against Django 6.0, but these tests
are not run by default and are allowed to fail without breaking the build.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.