From a3fae0e333f378350556b50269132a45f6b2a2ed Mon Sep 17 00:00:00 2001 From: Marc Gibbons <1726961+marcgibbons@users.noreply.github.com> Date: Fri, 3 Apr 2026 15:49:16 -0400 Subject: [PATCH 1/3] Add Django 6, drop 3.2 and 4.2 which are EOL --- pyproject.toml | 3 +-- tox.ini | 14 ++++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0c7292f..17362d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,9 +17,8 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Framework :: Django", - "Framework :: Django :: 3.2", - "Framework :: Django :: 4.2", "Framework :: Django :: 5.2", + "Framework :: Django :: 6.0", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", diff --git a/tox.ini b/tox.ini index 1aae1d5..87b9df4 100644 --- a/tox.ini +++ b/tox.ini @@ -15,21 +15,19 @@ [tox] # When changing this, also update the classifiers in setup.py: envlist = - py310-django{32,42,52}-cov{6,7,tip}, - py311-django{42,52}-cov{6,7,tip}, - py312-django{52,tip}-cov{7,tip}, - py313-django{52,tip}-cov{7,tip}, - py314-django{52,tip}-cov{7,tip}, + py310-django52-cov{7,tip}, + py311-django52-cov{7,tip}, + py312-django{52,60,tip}-cov{7,tip}, + py313-django{52,60,tip}-cov{7,tip}, + py314-django{52,60,tip}-cov{7,tip}, check,pkgcheck,doc [testenv] deps = - cov6: coverage>=6.0,<7.0 cov7: coverage>=7.0,<8.0 covtip: git+https://github.com/nedbat/coveragepy.git - django32: Django>=3.2,<4.0 - django42: Django>=4.2,<5.0 django52: Django>=5.2,<6.0 + django60: Django>=6.0,<7.0 djangotip: git+https://github.com/django/django.git pytest unittest-mixins==1.6 From 7e450392f4a8c7a05e9c879342546bc10492eea7 Mon Sep 17 00:00:00 2001 From: Marc Gibbons <1726961+marcgibbons@users.noreply.github.com> Date: Fri, 3 Apr 2026 15:50:42 -0400 Subject: [PATCH 2/3] Update README --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index d6ef68f..56bfe8d 100644 --- a/README.rst +++ b/README.rst @@ -20,8 +20,8 @@ A `coverage.py`_ plugin to measure test coverage of Django templates. .. |versions| image:: https://img.shields.io/pypi/pyversions/django_coverage_plugin.svg :target: https://pypi.python.org/pypi/django_coverage_plugin :alt: Supported Python Versions -.. the Django badge says: `3.2 | 4.2 | 5.2` -.. |djversions| image:: https://img.shields.io/badge/Django-3.2%20%7C%204.2%20%7C%205.2-44b78b.svg +.. the Django badge says: `5.2 | 6.0` +.. |djversions| image:: https://img.shields.io/badge/Django-5.2%20%7C%206.0-44b78b.svg :target: https://pypi.python.org/pypi/django_coverage_plugin :alt: Supported Django Versions .. |sponsor| image:: https://img.shields.io/badge/%E2%9D%A4-Sponsor%20me-brightgreen?style=flat&logo=GitHub @@ -40,9 +40,9 @@ Supported on: - Python: 3.10 through 3.14. -- Django: 3.2 through 5.2. +- Django: 5.2 through 6.0. -- Coverage.py: 6.x or higher. +- Coverage.py: 7.x or higher. The plugin is pip-installable:: From 9eddce2bb668b2774300975f75a8a7053952a100 Mon Sep 17 00:00:00 2001 From: Marc Gibbons <1726961+marcgibbons@users.noreply.github.com> Date: Fri, 3 Apr 2026 16:11:16 -0400 Subject: [PATCH 3/3] Put coverage 6 back since valid up to 3.11 --- README.rst | 2 +- tox.ini | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 56bfe8d..ebb4adc 100644 --- a/README.rst +++ b/README.rst @@ -42,7 +42,7 @@ Supported on: - Django: 5.2 through 6.0. -- Coverage.py: 7.x or higher. +- Coverage.py: 6.x or higher. The plugin is pip-installable:: diff --git a/tox.ini b/tox.ini index 87b9df4..621b4ca 100644 --- a/tox.ini +++ b/tox.ini @@ -15,8 +15,8 @@ [tox] # When changing this, also update the classifiers in setup.py: envlist = - py310-django52-cov{7,tip}, - py311-django52-cov{7,tip}, + py310-django52-cov{6,7,tip}, + py311-django52-cov{6,7,tip}, py312-django{52,60,tip}-cov{7,tip}, py313-django{52,60,tip}-cov{7,tip}, py314-django{52,60,tip}-cov{7,tip}, @@ -24,6 +24,7 @@ envlist = [testenv] deps = + cov6: coverage>=6.0,<7.0 cov7: coverage>=7.0,<8.0 covtip: git+https://github.com/nedbat/coveragepy.git django52: Django>=5.2,<6.0