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 2025-07-17 17:19:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-coverage-plugin (Old) and /work/SRC/openSUSE:Factory/.python-django-coverage-plugin.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-coverage-plugin" Thu Jul 17 17:19:20 2025 rev:9 rq:1294060 version:3.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-coverage-plugin/python-django-coverage-plugin.changes 2025-06-03 17:53:47.970252502 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-coverage-plugin.new.8875/python-django-coverage-plugin.changes 2025-07-17 17:20:52.441019872 +0200 @@ -1,0 +2,7 @@ +Thu Jul 17 08:45:53 UTC 2025 - Dirk Müller <dmuel...@suse.com> + +- update to 3.1.1: + * Support changes: dropped Python 3.8, added Python 3.13. Added + Django 5.2. + +------------------------------------------------------------------- Old: ---- django_coverage_plugin-3.1.0.tar.gz New: ---- django_coverage_plugin-3.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-coverage-plugin.spec ++++++ --- /var/tmp/diff_new_pack.n57Bd5/_old 2025-07-17 17:20:53.133048712 +0200 +++ /var/tmp/diff_new_pack.n57Bd5/_new 2025-07-17 17:20:53.137048878 +0200 @@ -17,7 +17,7 @@ Name: python-django-coverage-plugin -Version: 3.1.0 +Version: 3.1.1 Release: 0 Summary: Django template coveragepy plugin License: Apache-2.0 ++++++ django_coverage_plugin-3.1.0.tar.gz -> django_coverage_plugin-3.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/.github/workflows/tests.yml new/django_coverage_plugin-3.1.1/.github/workflows/tests.yml --- old/django_coverage_plugin-3.1.0/.github/workflows/tests.yml 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/.github/workflows/tests.yml 2025-06-15 16:32:18.000000000 +0200 @@ -41,19 +41,21 @@ python-version: # When changing this list, be sure to check the [gh-actions] list in # tox.ini so that tox will run properly. - - "3.8" - "3.9" - "3.10" - "3.11" - "3.12" + - "3.13" fail-fast: false steps: - name: "Check out the repo" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" + with: + persist-credentials: false - name: "Set up Python" - uses: "actions/setup-python@v4" + uses: "actions/setup-python@v5" with: python-version: "${{ matrix.python-version }}" allow-prereleases: true @@ -85,12 +87,14 @@ steps: - name: "Check out the repo" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" + with: + persist-credentials: false - name: "Set up Python" - uses: "actions/setup-python@v2" + uses: "actions/setup-python@v5" with: - python-version: "3.8" + python-version: "3.9" - name: "Install dependencies" run: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/MANIFEST.in new/django_coverage_plugin-3.1.1/MANIFEST.in --- old/django_coverage_plugin-3.1.0/MANIFEST.in 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/MANIFEST.in 2025-06-15 16:32:18.000000000 +0200 @@ -2,14 +2,11 @@ # - http://www.apache.org/licenses/LICENSE-2.0 # - https://github.com/nedbat/django_coverage_plugin/blob/master/NOTICE.txt -exclude .isort.cfg -exclude howto.txt -exclude Makefile -exclude requirements.txt -exclude tox.ini -exclude .editorconfig -include AUTHORS.txt -include LICENSE.txt -include NOTICE.txt -include README.rst -prune tests +include *.txt +include .editorconfig +include .isort.cfg +include Makefile +include tox.ini + +recursive-include .github * +recursive-include tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/Makefile new/django_coverage_plugin-3.1.1/Makefile --- old/django_coverage_plugin-3.1.0/Makefile 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/Makefile 2025-06-15 16:32:18.000000000 +0200 @@ -3,6 +3,8 @@ # Makefile for django_coverage_plugin +.PHONY: help test clean sterile dist pypi test_pypi tag ghrelease + help: ## Show this help. @echo "Available targets:" @grep '^[a-zA-Z]' $(MAKEFILE_LIST) | sort | awk -F ':.*?## ' 'NF==2 {printf " %-26s%s\n", $$1, $$2}' @@ -24,15 +26,18 @@ sterile: clean ## Remove all non-controlled content, even if expensive. -rm -rf .tox* -kit: ## Make the source distribution. +dist: ## Make the source distribution. python -m build python -m twine check dist/* -kit_upload: ## Upload the built distributions to PyPI. +pypi: ## Upload the built distributions to PyPI. python -m twine upload --verbose dist/* +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 -a -m "Version v$$(python setup.py --version)" v$$(python setup.py --version) + 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 ghrelease: ## Make a GitHub release for the latest version. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/NOTICE.txt new/django_coverage_plugin-3.1.1/NOTICE.txt --- old/django_coverage_plugin-3.1.0/NOTICE.txt 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/NOTICE.txt 2025-06-15 16:32:18.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright 2015-2022 Ned Batchelder. All rights reserved. +Copyright 2015-2025 Ned Batchelder. All rights reserved. Except where noted otherwise, this software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/README.rst new/django_coverage_plugin-3.1.1/README.rst --- old/django_coverage_plugin-3.1.0/README.rst 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/README.rst 2025-06-15 16:32:18.000000000 +0200 @@ -4,10 +4,9 @@ A `coverage.py`_ plugin to measure test coverage of Django templates. -.. start-badges - | |status| |kit| |license| | |versions| |djversions| +| |sponsor| |bluesky-nedbat| |mastodon-nedbat| .. |status| image:: https://img.shields.io/pypi/status/django_coverage_plugin.svg :target: https://pypi.python.org/pypi/django_coverage_plugin @@ -21,23 +20,31 @@ .. |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 -.. |djversions| image:: https://img.shields.io/badge/Django-1.8%20%7C%201.11%20%7C%202.2%20%7C%203.2%20%7C%204.1-44b78b.svg +.. 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 :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 + :target: https://github.com/sponsors/nedbat + :alt: Sponsor me on GitHub +.. |bluesky-nedbat| image:: https://img.shields.io/badge/dynamic/json?style=flat&color=96a3b0&labelColor=3686f7&logo=icloud&logoColor=white&label=@nedbat&url=https%3A%2F%2Fpublic.api.bsky.app%2Fxrpc%2Fapp.bsky.actor.getProfile%3Factor=nedbat.com&query=followersCount + :target: https://bsky.app/profile/nedbat.com + :alt: nedbat on Bluesky +.. |mastodon-nedbat| image:: https://img.shields.io/badge/dynamic/json?style=flat&labelColor=450657&logo=mastodon&logoColor=ffffff&label=@nedbat&query=followers_count&url=https%3A%2F%2Fhachyderm.io%2Fapi%2Fv1%2Faccounts%2Flookup%3Facct=nedbat + :target: https://hachyderm.io/@nedbat + :alt: nedbat on Mastodon ------------------- -.. end-badges Supported on: -- Python: 3.8 through 3.12. +- Python: 3.9 through 3.13. -- Django: 2.x, 3.x and 4.x. +- Django: 2.2 through 5.2. - Coverage.py: 6.x or higher. -The plugin is pip installable:: +The plugin is pip-installable:: $ python3 -m pip install django_coverage_plugin @@ -49,8 +56,7 @@ Then run your tests under `coverage.py`_. You will see your templates listed in your coverage report along with -your Python modules. Please use `coverage.py`_ v4.4 or greater to allow -the plugin to identify untested templates. +your Python modules. If you get a :code:`django.core.exceptions.ImproperlyConfigured` error, you need to set the :code:`DJANGO_SETTINGS_MODULE` environment variable. @@ -137,6 +143,12 @@ .. scriv-insert-here +v3.1.1 — 2025-06-15 +------------------- + +Support changes: dropped Python 3.8, added Python 3.13. Added Django 5.2. + + v3.1.0 — 2023-07-10 ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/django_coverage_plugin/__init__.py new/django_coverage_plugin-3.1.1/django_coverage_plugin/__init__.py --- old/django_coverage_plugin-3.1.0/django_coverage_plugin/__init__.py 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/django_coverage_plugin/__init__.py 2025-06-15 16:32:18.000000000 +0200 @@ -3,6 +3,8 @@ """Django Template Coverage Plugin""" +__version__ = "3.1.1" + 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.0/howto.txt new/django_coverage_plugin-3.1.1/howto.txt --- old/django_coverage_plugin-3.1.0/howto.txt 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/howto.txt 2025-06-15 16:32:18.000000000 +0200 @@ -1,7 +1,7 @@ * Release checklist -- Version number in setup.py -- Classifiers in setup.py +- Version number in __init__.py +- Classifiers in pyproject.toml https://pypi.python.org/pypi?%3Aaction=list_classifiers eg: Development Status :: 3 - Alpha @@ -9,7 +9,8 @@ - Copyright date in NOTICE.txt - Update README.rst with latest changes - Kits: - $ make clean kit - $ make kit_upload + $ make clean dist + $ make test_pypi + $ make pypi $ make tag $ make ghrelease diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/pyproject.toml new/django_coverage_plugin-3.1.1/pyproject.toml --- old/django_coverage_plugin-3.1.0/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/django_coverage_plugin-3.1.1/pyproject.toml 2025-06-15 16:32:18.000000000 +0200 @@ -0,0 +1,65 @@ +# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 +# For details: https://github.com/nedbat/django_coverage_plugin/blob/master/NOTICE.txt + +[build-system] +requires = ["setuptools>=77.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "django_coverage_plugin" +description = "Django template coverage.py plugin" +readme = "README.rst" +authors = [ + {name = "Ned Batchelder", email = "n...@nedbatchelder.com"}, +] +license = "Apache-2.0" +classifiers = [ + "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 :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Topic :: Software Development :: Quality Assurance", + "Topic :: Software Development :: Testing", +] +requires-python = ">= 3.9" +dependencies = [ + "coverage", +] +dynamic = ["version"] + +[project.urls] +"Homepage" = "https://github.com/nedbat/django_coverage_plugin" +"Bug Tracker" = "https://github.com/nedbat/django_coverage_plugin/issues" +"Source" = "https://github.com/nedbat/django_coverage_plugin" + +[tool.setuptools.dynamic] +version = {attr = "django_coverage_plugin.__version__"} + +[tool.setuptools.packages.find] +include = ["django_coverage_plugin*"] + +[tool.pytest.ini_options] +# How come these warnings are suppressed successfully here, but not in conftest.py?? +filterwarnings = [ + # ignore all DeprecationWarnings... + "ignore::DeprecationWarning", + # ...but show them if they are from our code. + "default::DeprecationWarning:django_coverage_plugin", +] + +[tool.scriv] +fragment_directory = "scriv.d" +output_file = "README.rst" +rst_header_chars = "-." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/setup.cfg new/django_coverage_plugin-3.1.1/setup.cfg --- old/django_coverage_plugin-3.1.0/setup.cfg 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/setup.cfg 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 -# For details: https://github.com/nedbat/django_coverage_plugin/blob/master/NOTICE.txt - -[tool:pytest] -# How come these warnings are suppressed successfully here, but not in conftest.py?? -filterwarnings = - # ignore all DeprecationWarnings... - ignore::DeprecationWarning - # ...but show them if they are from our code. - default::DeprecationWarning:django_coverage_plugin - -[scriv] -fragment_directory = scriv.d -output_file = README.rst -rst_header_chars = -. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/setup.py new/django_coverage_plugin-3.1.1/setup.py --- old/django_coverage_plugin-3.1.0/setup.py 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,70 +0,0 @@ -#!/usr/bin/env python -"""Setup for Django Coverage Plugin - -Licensed under the Apache 2.0 License -- http://www.apache.org/licenses/LICENSE-2.0 -- https://github.com/nedbat/django_coverage_plugin/blob/master/NOTICE.txt - -""" - -import re -from os.path import dirname, join - -from setuptools import setup - - -def read(*names, **kwargs): - """Read and return contents of file - - Parameter: encoding kwarg may be set - """ - return open( - join(dirname(__file__), *names), - encoding=kwargs.get('encoding', 'utf8') - ).read() - - -classifiers = """\ -Environment :: Console -Intended Audience :: Developers -License :: OSI Approved :: Apache Software License -Operating System :: OS Independent -Programming Language :: Python :: 3.8 -Programming Language :: Python :: 3.9 -Programming Language :: Python :: 3.10 -Programming Language :: Python :: 3.11 -Programming Language :: Python :: 3.12 -Programming Language :: Python :: Implementation :: CPython -Programming Language :: Python :: Implementation :: PyPy -Topic :: Software Development :: Quality Assurance -Topic :: Software Development :: Testing -Development Status :: 5 - Production/Stable -Framework :: Django -Framework :: Django :: 1.11 -Framework :: Django :: 2.2 -Framework :: Django :: 3.2 -Framework :: Django :: 4.2 -""" - -setup( - name='django_coverage_plugin', - version='3.1.0', - description='Django template coverage.py plugin', - long_description=( - re.sub( - '(?ms)^.. start-badges.*^.. end-badges', - '', - read('README.rst'), - ) - ), - long_description_content_type='text/x-rst', - author='Ned Batchelder', - author_email='n...@nedbatchelder.com', - url='https://github.com/nedbat/django_coverage_plugin', - packages=['django_coverage_plugin'], - install_requires=[ - 'coverage', - ], - license='Apache-2.0', - classifiers=classifiers.splitlines(), -) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django_coverage_plugin-3.1.0/tox.ini new/django_coverage_plugin-3.1.1/tox.ini --- old/django_coverage_plugin-3.1.0/tox.ini 2023-07-10 15:13:51.000000000 +0200 +++ new/django_coverage_plugin-3.1.1/tox.ini 2025-06-15 16:32:18.000000000 +0200 @@ -13,12 +13,13 @@ # [tox] +# When changing this, also update the classifiers in setup.py: envlist = - py38-django{22,32,42}-cov{6,7,tip}, py39-django{22,32,42}-cov{6,7,tip}, - py310-django{32,42,tip}-cov{6,7,tip}, - py311-django{42,tip}-cov{6,7,tip}, - py312-django{tip}-cov{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}, check,pkgcheck,doc [testenv] @@ -29,6 +30,7 @@ django22: Django>=2.2,<3.0 django32: Django>=3.2,<4.0 django42: Django>=4.2,<5.0 + django52: Django>=5.2,<6.0 djangotip: git+https://github.com/django/django.git pytest unittest-mixins==1.6 @@ -47,8 +49,8 @@ isort commands = - flake8 --max-line-length=100 setup.py django_coverage_plugin tests setup.py - isort --check-only --diff django_coverage_plugin tests setup.py + flake8 --max-line-length=100 django_coverage_plugin tests + isort --check-only --diff django_coverage_plugin tests [testenv:pkgcheck] skip_install = true @@ -69,12 +71,12 @@ sphinx commands = - rst2html.py --strict README.rst /tmp/django_coverage_plugin_README.html + rst2html --strict README.rst /tmp/django_coverage_plugin_README.html [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313