Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-coverage-plugin for
openSUSE:Factory checked in at 2026-01-29 17:47:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-coverage-plugin (Old)
and /work/SRC/openSUSE:Factory/.python-django-coverage-plugin.new.1995
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-coverage-plugin"
Thu Jan 29 17:47:03 2026 rev:10 rq:1329796 version:3.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-coverage-plugin/python-django-coverage-plugin.changes
2025-07-17 17:20:52.441019872 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-coverage-plugin.new.1995/python-django-coverage-plugin.changes
2026-01-29 17:49:40.049367394 +0100
@@ -1,0 +2,6 @@
+Thu Jan 22 09:31:22 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.2.0:
+ * Drop Python 3.9 and Django 2.2. Add Python 3.14.
+
+-------------------------------------------------------------------
Old:
----
django_coverage_plugin-3.1.1.tar.gz
New:
----
django_coverage_plugin-3.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-coverage-plugin.spec ++++++
--- /var/tmp/diff_new_pack.DkVg43/_old 2026-01-29 17:49:40.673393864 +0100
+++ /var/tmp/diff_new_pack.DkVg43/_new 2026-01-29 17:49:40.677394034 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-coverage-plugin
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-django-coverage-plugin
-Version: 3.1.1
+Version: 3.2.0
Release: 0
Summary: Django template coveragepy plugin
License: Apache-2.0
++++++ django_coverage_plugin-3.1.1.tar.gz ->
django_coverage_plugin-3.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django_coverage_plugin-3.1.1/.github/workflows/tests.yml
new/django_coverage_plugin-3.2.0/.github/workflows/tests.yml
--- old/django_coverage_plugin-3.1.1/.github/workflows/tests.yml
2025-06-15 16:32:18.000000000 +0200
+++ new/django_coverage_plugin-3.2.0/.github/workflows/tests.yml
2025-10-05 22:05:10.000000000 +0200
@@ -41,11 +41,11 @@
python-version:
# When changing this list, be sure to check the [gh-actions] list in
# tox.ini so that tox will run properly.
- - "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
+ - "3.14"
fail-fast: false
steps:
@@ -94,7 +94,7 @@
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
- python-version: "3.9"
+ python-version: "3.10"
- name: "Install dependencies"
run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.1.1/Makefile
new/django_coverage_plugin-3.2.0/Makefile
--- old/django_coverage_plugin-3.1.1/Makefile 2025-06-15 16:32:18.000000000
+0200
+++ new/django_coverage_plugin-3.2.0/Makefile 2025-10-05 22:05:10.000000000
+0200
@@ -36,9 +36,13 @@
test_pypi: ## Upload the distributions to test
PyPI.
python -m twine upload --verbose --repository testpypi --password
$$TWINE_TEST_PASSWORD dist/*
-tag: ## Make a git tag with the version
number.
- git tag -s -m "Version v$$(python -c 'import django_coverage_plugin;
print(django_coverage_plugin.__version__)')" v$$(python -c 'import
django_coverage_plugin; print(django_coverage_plugin.__version__)')
- git push --all
+_install_e:
+ python -m pip install -q -e .
+
+tag: _install_e ## Make a git tag with the
version number.
+ @export VER="$$(python -c "import django_coverage_plugin as me;
print(me.__version__)")" && \
+ echo git tag -s -m "Version v$$VER" v$$VER
+ echo git push --all
ghrelease: ## Make a GitHub release for the latest
version.
python -m scriv github-release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.1.1/README.rst
new/django_coverage_plugin-3.2.0/README.rst
--- old/django_coverage_plugin-3.1.1/README.rst 2025-06-15 16:32:18.000000000
+0200
+++ new/django_coverage_plugin-3.2.0/README.rst 2025-10-05 22:05:10.000000000
+0200
@@ -20,8 +20,8 @@
.. |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: `2.2 | 3.2 | 4.2 | 5.2`
-.. |djversions| image::
https://img.shields.io/badge/Django-2.2%20%7C%203.2%20%7C%204.2%20%7C%205.2-44b78b.svg
+.. 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
: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
@@ -38,9 +38,9 @@
Supported on:
-- Python: 3.9 through 3.13.
+- Python: 3.10 through 3.14.
-- Django: 2.2 through 5.2.
+- Django: 3.2 through 5.2.
- Coverage.py: 6.x or higher.
@@ -143,6 +143,12 @@
.. scriv-insert-here
+v3.2.0 — 2025-10-05
+-------------------
+
+Drop Python 3.9 and Django 2.2. Add Python 3.14.
+
+
v3.1.1 — 2025-06-15
-------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django_coverage_plugin-3.1.1/django_coverage_plugin/__init__.py
new/django_coverage_plugin-3.2.0/django_coverage_plugin/__init__.py
--- old/django_coverage_plugin-3.1.1/django_coverage_plugin/__init__.py
2025-06-15 16:32:18.000000000 +0200
+++ new/django_coverage_plugin-3.2.0/django_coverage_plugin/__init__.py
2025-10-05 22:05:10.000000000 +0200
@@ -3,7 +3,7 @@
"""Django Template Coverage Plugin"""
-__version__ = "3.1.1"
+__version__ = "3.2.0"
from .plugin import DjangoTemplatePluginException # noqa
from .plugin import DjangoTemplatePlugin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django_coverage_plugin-3.1.1/django_coverage_plugin/plugin.py
new/django_coverage_plugin-3.2.0/django_coverage_plugin/plugin.py
--- old/django_coverage_plugin-3.1.1/django_coverage_plugin/plugin.py
2025-06-15 16:32:18.000000000 +0200
+++ new/django_coverage_plugin-3.2.0/django_coverage_plugin/plugin.py
2025-10-05 22:05:10.000000000 +0200
@@ -6,41 +6,14 @@
import os.path
import re
-try:
- from coverage.exceptions import NoSource
-except ImportError:
- # for coverage 5.x
- from coverage.misc import NoSource
import coverage.plugin
import django
import django.template
-from django.template.base import Lexer, NodeList, Template, TextNode
+from coverage.exceptions import NoSource
+from django.template.base import Lexer, NodeList, Template, TextNode, TokenType
from django.template.defaulttags import VerbatimNode
from django.templatetags.i18n import BlockTranslateNode
-try:
- from django.template.base import TokenType
-
- def _token_name(token_type):
- token_type.name.capitalize()
-
-except ImportError:
- # Django <2.1 uses separate constants for token types
- from django.template.base import (
- TOKEN_BLOCK,
- TOKEN_MAPPING,
- TOKEN_TEXT,
- TOKEN_VAR,
- )
-
- class TokenType:
- TEXT = TOKEN_TEXT
- VAR = TOKEN_VAR
- BLOCK = TOKEN_BLOCK
-
- def _token_name(token_type):
- return TOKEN_MAPPING[token_type]
-
class DjangoTemplatePluginException(Exception):
"""Used for any errors from the plugin itself."""
@@ -96,8 +69,8 @@
return True
-if django.VERSION < (2, 0):
- raise RuntimeError("Django Coverage Plugin requires Django 2.x or higher")
+if django.VERSION < (3, 0):
+ raise RuntimeError("Django Coverage Plugin requires Django 3.x or higher")
# Since we are grabbing at internal details, we have to adapt as they
@@ -129,14 +102,8 @@
if not settings.configured:
settings.configure()
- with open(filename, "rb") as f:
- # The FILE_CHARSET setting will be removed in 3.1:
- # https://docs.djangoproject.com/en/3.0/ref/settings/#file-charset
- if django.VERSION >= (3, 1):
- charset = 'utf-8'
- else:
- charset = settings.FILE_CHARSET
- text = f.read().decode(charset)
+ with open(filename, "r", encoding="utf-8") as f:
+ text = f.read()
return text
@@ -326,7 +293,7 @@
if SHOW_PARSING:
print(
"%10s %2d: %r" % (
- _token_name(token.token_type),
+ token.token_type.capitalize(),
token.lineno,
token.contents,
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.1.1/pyproject.toml
new/django_coverage_plugin-3.2.0/pyproject.toml
--- old/django_coverage_plugin-3.1.1/pyproject.toml 2025-06-15
16:32:18.000000000 +0200
+++ new/django_coverage_plugin-3.2.0/pyproject.toml 2025-10-05
22:05:10.000000000 +0200
@@ -17,25 +17,25 @@
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Django",
- "Framework :: Django :: 2.2",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
+ "Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
-requires-python = ">= 3.9"
+requires-python = ">= 3.10"
dependencies = [
"coverage",
+ "Django",
]
dynamic = ["version"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.1.1/requirements.txt
new/django_coverage_plugin-3.2.0/requirements.txt
--- old/django_coverage_plugin-3.1.1/requirements.txt 2025-06-15
16:32:18.000000000 +0200
+++ new/django_coverage_plugin-3.2.0/requirements.txt 2025-10-05
22:05:10.000000000 +0200
@@ -1,5 +1,7 @@
-# To run tests, we just need tox.
-tox >= 1.8
+# To run tests, we just need tox:
+tox
+
+# For releases:
build
scriv
twine
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.1.1/tox.ini
new/django_coverage_plugin-3.2.0/tox.ini
--- old/django_coverage_plugin-3.1.1/tox.ini 2025-06-15 16:32:18.000000000
+0200
+++ new/django_coverage_plugin-3.2.0/tox.ini 2025-10-05 22:05:10.000000000
+0200
@@ -15,11 +15,11 @@
[tox]
# When changing this, also update the classifiers in setup.py:
envlist =
- py39-django{22,32,42}-cov{6,7,tip},
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},
check,pkgcheck,doc
[testenv]
@@ -27,7 +27,6 @@
cov6: coverage>=6.0,<7.0
cov7: coverage>=7.0,<8.0
covtip: git+https://github.com/nedbat/coveragepy.git
- django22: Django>=2.2,<3.0
django32: Django>=3.2,<4.0
django42: Django>=4.2,<5.0
django52: Django>=5.2,<6.0
@@ -43,6 +42,11 @@
passenv = *
+setenv =
+ # In later versions of Python, the default coverage.py core is sysmon,
+ # which doesn't support plugins like us. Force ctrace instead.
+ py3{12,13,14}: COVERAGE_CORE=ctrace
+
[testenv:check]
deps =
flake8
@@ -75,8 +79,8 @@
[gh-actions]
python =
- 3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
+ 3.14: py314