From 311c3e5881b82df37858b7b8982967bb413968e768fac52489819dae7fe2526f Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sun, 26 Dec 2021 06:51:00 +0000 Subject: [PATCH] Accepting request 942557 from home:jayvdb:branches:devel:languages:python:django - Update to v2.0.2 Adds Django 4 compatibility OBS-URL: https://build.opensuse.org/request/show/942557 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-coverage-plugin?expand=0&rev=7 --- django_coverage_plugin-1.8.0.tar.gz | 3 --- django_coverage_plugin-2.0.2.tar.gz | 3 +++ python-django-coverage-plugin.changes | 20 ++++++++++++++++++++ python-django-coverage-plugin.spec | 6 ++---- 4 files changed, 25 insertions(+), 7 deletions(-) delete mode 100644 django_coverage_plugin-1.8.0.tar.gz create mode 100644 django_coverage_plugin-2.0.2.tar.gz diff --git a/django_coverage_plugin-1.8.0.tar.gz b/django_coverage_plugin-1.8.0.tar.gz deleted file mode 100644 index 45ed74e..0000000 --- a/django_coverage_plugin-1.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b756c1f172e02fbb60d95b236be738129eba10e84b70c3c33b138e73fde6fee -size 19438 diff --git a/django_coverage_plugin-2.0.2.tar.gz b/django_coverage_plugin-2.0.2.tar.gz new file mode 100644 index 0000000..927c19a --- /dev/null +++ b/django_coverage_plugin-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8297889978c6908c87188fb4200f26476e726084113db790660281f849d2a242 +size 23472 diff --git a/python-django-coverage-plugin.changes b/python-django-coverage-plugin.changes index 44b64fc..7c9264d 100644 --- a/python-django-coverage-plugin.changes +++ b/python-django-coverage-plugin.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sun Dec 26 06:33:30 UTC 2021 - John Vandenberg + +- Update to v2.0.2 + * If a non-UTF8 file was found when looking for templates, it + would fail when reading during the reporting phase, ending + execution. This failure is now raised in a way that can be + ignored with a .coveragerc setting of + [report] ignore_errors=True. + * When using source=., an existing coverage HTML report directory + would be found and believed to be unmeasured HTML template files +- from v2.0.0 + * Drop support for Python 3.4 and 3.5. + * A setting is available: template_extensions lets you set the file + extensions that will be considered when looking for unused templates + * Fix an issue on Windows where file names were being compared + case-sensitively, causing templates to be missed + * Fix an issue where tag libraries can't be found if imported + during test collection. + ------------------------------------------------------------------- Thu May 20 08:34:52 UTC 2021 - pgajdos@suse.com diff --git a/python-django-coverage-plugin.spec b/python-django-coverage-plugin.spec index 8ca9544..dcd02a5 100644 --- a/python-django-coverage-plugin.spec +++ b/python-django-coverage-plugin.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-coverage-plugin -Version: 1.8.0 +Version: 2.0.2 Release: 0 Summary: Django template coveragepy plugin License: Apache-2.0 URL: https://github.com/nedbat/django_coverage_plugin Source: https://github.com/nedbat/django_coverage_plugin/archive/v%{version}.tar.gz#/django_coverage_plugin-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module django-codemod} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django @@ -48,7 +47,6 @@ Django template coverage.py plugin %prep %setup -q -n django_coverage_plugin-%{version} -djcodemod run --removed-in 4.0 tests/test_simple.py %build %python_build @@ -61,8 +59,8 @@ djcodemod run --removed-in 4.0 tests/test_simple.py %pytest %files %{python_files} +%doc README.rst %license LICENSE.txt -%doc HISTORY.rst README.rst %{python_sitelib}/* %changelog