Skip to content

Support Django 5.2/6.0 and python 3.10-3.14#65

Merged
somewes merged 2 commits into
developfrom
wesokes/django-6-support
Jul 8, 2026
Merged

Support Django 5.2/6.0 and python 3.10-3.14#65
somewes merged 2 commits into
developfrom
wesokes/django-6-support

Conversation

@somewes

@somewes somewes commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Same treatment as ambitioninc/django-query-builder#132 and ambitioninc/django-manager-utils#144: 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 3.0.0
  • django-nose replaced with Django's DiscoverRunner (explicit --pattern for the *_tests.py naming scheme)
  • USE_TZ=False set explicitly (django 5.0 flipped the default; the deletion-receipt tests assume naive datetimes)
  • assertEquals (removed in python 3.12) replaced with assertEqual
  • CI matrix: python 3.10-3.14 x Django ~=5.2.0 / ~=6.0.0 x psycopg2 ~=2.9.10 / psycopg ~=3.2.0

Verified 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

Django>=5.2 in install requirements, python_requires>=3.10, refreshed
classifiers, version 3.0.0. django-nose (dead upstream, broken on python
3.10+) replaced with Django's DiscoverRunner, passing an explicit pattern for
the *_tests.py naming scheme. USE_TZ=False set explicitly since django 5.0
flipped the default and the deletion-receipt tests assume naive datetimes.
assertEquals (removed in python 3.12) replaced with 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>
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>
@somewes
somewes merged commit 3e70822 into develop Jul 8, 2026
16 checks passed
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.

1 participant