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 2023-08-08 15:55:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-coverage-plugin (Old)
and /work/SRC/openSUSE:Factory/.python-django-coverage-plugin.new.22712
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-coverage-plugin"
Tue Aug 8 15:55:42 2023 rev:7 rq:1102870 version:3.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-coverage-plugin/python-django-coverage-plugin.changes
2023-04-13 14:14:41.405654820 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-coverage-plugin.new.22712/python-django-coverage-plugin.changes
2023-08-08 15:56:07.853442520 +0200
@@ -1,0 +2,7 @@
+Tue Aug 8 10:58:54 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 3.1.0:
+ * Dropped support for Python 3.7 and Django 1.x. Declared
+ support for Python 3.12.
+
+-------------------------------------------------------------------
Old:
----
django_coverage_plugin-3.0.0.tar.gz
New:
----
django_coverage_plugin-3.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-coverage-plugin.spec ++++++
--- /var/tmp/diff_new_pack.znspK2/_old 2023-08-08 15:56:08.393445899 +0200
+++ /var/tmp/diff_new_pack.znspK2/_new 2023-08-08 15:56:08.397445925 +0200
@@ -17,7 +17,7 @@
Name: python-django-coverage-plugin
-Version: 3.0.0
+Version: 3.1.0
Release: 0
Summary: Django template coveragepy plugin
License: Apache-2.0
++++++ django_coverage_plugin-3.0.0.tar.gz ->
django_coverage_plugin-3.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django_coverage_plugin-3.0.0/.github/workflows/tests.yml
new/django_coverage_plugin-3.1.0/.github/workflows/tests.yml
--- old/django_coverage_plugin-3.0.0/.github/workflows/tests.yml
2022-12-06 10:56:26.000000000 +0100
+++ new/django_coverage_plugin-3.1.0/.github/workflows/tests.yml
2023-07-10 15:13:51.000000000 +0200
@@ -12,6 +12,9 @@
# week, Sundays at 6:00 UTC.
- cron: "0 6 * * 0"
+permissions:
+ contents: read
+
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
@@ -26,33 +29,34 @@
jobs:
tests:
- name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
- runs-on: "${{ matrix.os }}"
+ name: "${{ matrix.python-version }} on ${{ matrix.os }}"
+ runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
os:
- - ubuntu-latest
- - macos-latest
- - windows-latest
+ - ubuntu
+ - macos
+ - windows
python-version:
# When changing this list, be sure to check the [gh-actions] list in
# tox.ini so that tox will run properly.
- - "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
+ - "3.12"
fail-fast: false
steps:
- name: "Check out the repo"
- uses: "actions/checkout@v2"
+ uses: "actions/checkout@v3"
- name: "Set up Python"
- uses: "actions/setup-python@v2"
+ uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
+ allow-prereleases: true
- name: "Install dependencies"
run: |
@@ -86,7 +90,7 @@
- name: "Set up Python"
uses: "actions/setup-python@v2"
with:
- python-version: "3.7"
+ python-version: "3.8"
- name: "Install dependencies"
run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.0.0/README.rst
new/django_coverage_plugin-3.1.0/README.rst
--- old/django_coverage_plugin-3.0.0/README.rst 2022-12-06 10:56:26.000000000
+0100
+++ new/django_coverage_plugin-3.1.0/README.rst 2023-07-10 15:13:51.000000000
+0200
@@ -31,15 +31,15 @@
Supported on:
-- Python: 3.7 through 3.11.
+- Python: 3.8 through 3.12.
-- Django: 1.11, 2.x, 3.x and 4.x.
+- Django: 2.x, 3.x and 4.x.
-- Coverage.py: 4.x or higher.
+- Coverage.py: 6.x or higher.
The plugin is pip installable::
- $ pip install django_coverage_plugin
+ $ python3 -m pip install django_coverage_plugin
To run it, add this setting to your ``.coveragerc`` file::
@@ -128,7 +128,7 @@
To run the tests::
- $ pip install -r requirements.txt
+ $ python3 -m pip install -r requirements.txt
$ tox
@@ -137,6 +137,13 @@
.. scriv-insert-here
+v3.1.0 â 2023-07-10
+-------------------
+
+Dropped support for Python 3.7 and Django 1.x. Declared support for Python
+3.12.
+
+
v3.0.0 â 2022-12-06
-------------------
@@ -148,6 +155,7 @@
Declare our support for Python 3.11 and Django 4.1.
+
v2.0.3 â 2022-05-04
-------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django_coverage_plugin-3.0.0/django_coverage_plugin/plugin.py
new/django_coverage_plugin-3.1.0/django_coverage_plugin/plugin.py
--- old/django_coverage_plugin-3.0.0/django_coverage_plugin/plugin.py
2022-12-06 10:56:26.000000000 +0100
+++ new/django_coverage_plugin-3.1.0/django_coverage_plugin/plugin.py
2023-07-10 15:13:51.000000000 +0200
@@ -96,8 +96,8 @@
return True
-if django.VERSION < (1, 11):
- raise RuntimeError("Django Coverage Plugin requires Django 1.11 or higher")
+if django.VERSION < (2, 0):
+ raise RuntimeError("Django Coverage Plugin requires Django 2.x or higher")
# Since we are grabbing at internal details, we have to adapt as they
@@ -312,10 +312,7 @@
if SHOW_PARSING:
print(f"-------------- {self.filename}")
- if django.VERSION >= (1, 9):
- lexer = Lexer(self.source())
- else:
- lexer = Lexer(self.source(), self.filename)
+ lexer = Lexer(self.source())
tokens = lexer.tokenize()
# Are we inside a comment?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.0.0/setup.py
new/django_coverage_plugin-3.1.0/setup.py
--- old/django_coverage_plugin-3.0.0/setup.py 2022-12-06 10:56:26.000000000
+0100
+++ new/django_coverage_plugin-3.1.0/setup.py 2023-07-10 15:13:51.000000000
+0200
@@ -29,11 +29,11 @@
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
-Programming Language :: Python :: 3.7
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
@@ -43,12 +43,12 @@
Framework :: Django :: 1.11
Framework :: Django :: 2.2
Framework :: Django :: 3.2
-Framework :: Django :: 4.1
+Framework :: Django :: 4.2
"""
setup(
name='django_coverage_plugin',
- version='3.0.0',
+ version='3.1.0',
description='Django template coverage.py plugin',
long_description=(
re.sub(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django_coverage_plugin-3.0.0/tox.ini
new/django_coverage_plugin-3.1.0/tox.ini
--- old/django_coverage_plugin-3.0.0/tox.ini 2022-12-06 10:56:26.000000000
+0100
+++ new/django_coverage_plugin-3.1.0/tox.ini 2023-07-10 15:13:51.000000000
+0200
@@ -14,23 +14,21 @@
[tox]
envlist =
- py37-django{111,22,32}-cov{5,6,tip},
- py38-django{22,32,40,41,tip}-cov{5,6,tip},
- py39-django{22,32,40,41,tip}-cov{5,6,tip},
- py310-django{32,40,41,tip}-cov{5,6,tip},
- py311-django{41,tip}-cov{6,tip},
+ 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},
check,pkgcheck,doc
[testenv]
deps =
- cov5: coverage>=5.0,<6.0
cov6: coverage>=6.0,<7.0
+ cov7: coverage>=7.0,<8.0
covtip: git+https://github.com/nedbat/coveragepy.git
- django111: Django>=1.11,<2.0
django22: Django>=2.2,<3.0
django32: Django>=3.2,<4.0
- django40: Django>=4.0,<4.1
- django41: Django>=4.1,<4.2
+ django42: Django>=4.2,<5.0
djangotip: git+https://github.com/django/django.git
pytest
unittest-mixins==1.6
@@ -75,8 +73,8 @@
[gh-actions]
python =
- 3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
+ 3.12: py312