Support Django 5.2/6.0 and python 3.10-3.14#59
Merged
Conversation
Django>=5.2 in install requirements, python_requires>=3.10, refreshed classifiers, version 4.0.0. django-nose (dead upstream, broken on python 3.10+) replaced with Django's DiscoverRunner, which also runs system checks: the test settings installed django.contrib.admin without its required scaffolding, so the unused admin and sessions apps are dropped. The dead MIDDLEWARE_CLASSES setting is removed, tests use unittest.mock instead of the mock package, and assertEquals (removed in python 3.12) becomes assertEqual. CI matrix: python 3.10-3.14 x Django 5.2/6.0 x psycopg2/psycopg 3.2. Verified on python 3.14 / Django 6.0.6 / psycopg 3.2.10 against Postgres 17: all 32 tests pass, flake8 clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
somewes
marked this pull request as ready for review
July 8, 2026 00:17
The 4.x line is the one tested against the same django/python matrix this release supports. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Same treatment as ambitioninc/django-query-builder#132, ambitioninc/django-manager-utils#144, and ambitioninc/django-dynamic-initial-data#65: bump the supported matrix to what Django currently supports (5.2 LTS on python 3.10-3.14, 6.0 on 3.12-3.14) and modernize the test infrastructure that was pinning the package to python 3.9.
Django>=5.2,python_requires>=3.10, refreshed classifiers, version 4.0.0DiscoverRunner, which also runs system checks: the test settings installeddjango.contrib.adminwithout its required scaffolding, so the unused admin and sessions apps are droppedMIDDLEWARE_CLASSESsetting removed; tests useunittest.mockinstead of themockpackage;assertEquals(removed in python 3.12) replaced withassertEqualVerified locally on python 3.14 / Django 6.0.6 / psycopg 3.2.10 against Postgres 17: all 32 tests pass, flake8 clean.
🤖 Generated with Claude Code