Repository navigation
Add support for Django 6.0 and 6.1 - #11
Merged
Merged
Conversation
added 4 commits
October 1, 2026 12:39
- Widen the Django requirement to <6.2 and add 6.0/6.1 classifiers. - Add GDPRConfig with default_auto_field = AutoField. Django 6.0 changed the DEFAULT_AUTO_FIELD default to BigAutoField, which would otherwise make projects without an explicit setting generate a new migration altering the primary keys of the gdpr models. - Pin DEFAULT_AUTO_FIELD in the test settings for the same reason. - Test Django 6.0 and 6.1 in CI (Python 3.12+ only).
Run the CI matrix on Python 3.14 with Django 5.2, 6.0 and 6.1.
Declare python_requires>=3.14, keep only the Python 3.14 classifier and build the release on Python 3.14. Django 4.2 does not support Python 3.14, so the minimum Django version is now 5.2.
dstlmrk
self-requested a review
October 1, 2026 14:02
dstlmrk
approved these changes
Oct 1, 2026
rubickcz
approved these changes
Oct 1, 2026
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.
Summary
python_requires>=3.14, classifiers, release build) and Django>=5.2,<6.2, since Django 4.2 does not run on Python 3.14. Add Django 6.0/6.1 classifiers.GDPRConfigwithdefault_auto_field = "django.db.models.AutoField". Django 6.0 changed theDEFAULT_AUTO_FIELDdefault toBigAutoField, so projects without an explicit setting would otherwise get anAlterFieldmigration for the gdpr models.DEFAULT_AUTO_FIELDexplicitly for the same reason.Testing
python runtests.pylocally on Python 3.14: OK on Django 6.1.1, 6.0.8 and 5.2.17 (115 tests, 1 GIS skip).makemigrations --checkreports no changes.Unblocks the Django 6.1 upgrade in Core.
🤖 Generated with Claude Code