From 471f9cb78fa64f16ffd176609ed194163655952f Mon Sep 17 00:00:00 2001 From: joseanoxp Date: Tue, 16 Dec 2025 11:19:34 -0300 Subject: [PATCH] feat: Add Django 6.0 support - Update Django version constraint from `<6` to `<7` - Add Python 3.13 to classifiers - Update comment with Django 6.0 documentation link Django 6.0 uses only stable APIs (django.shortcuts, django.urls) that have not changed. Tested with Django 6.0 release. --- setup.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4d6ac41..5f99f22 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 # NOTE: Settings of this section below this line should not need to be changed @@ -58,9 +59,9 @@ all_for_docs = %(flask)s %(quart)s django = - # Since we currently still supports Python 3.7, we choose Django version accordingly. - # See https://docs.djangoproject.com/en/5.0/faq/install/#what-python-version-can-i-use-with-django - django>=3.2,<6 + # Django 6.0 requires Python 3.12+, Django 5.x requires Python 3.10+ + # See https://docs.djangoproject.com/en/6.0/faq/install/#what-python-version-can-i-use-with-django + django>=3.2,<7 flask = flask # If Flask-Session is not maintained in future, Flask-Session2 should work as well