Fri Aug 25 11:07:20 2023 UTC ()
py-coverage: updated to 7.3.0

Version 7.3.0 ��� 2023-08-12���

Added a Coverage.collect() context manager to start and stop coverage data collection.
Dropped support for Python 3.7.
Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode. Coverage.py would fail with the error Safety level may not be changed inside a transaction. This is now avoided, closing issue 1646. Thanks to Michael Bell for the detailed bug report.
Docs: examples of configuration files now include separate examples for the different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
Fix: added nosemgrep comments to our JavaScript code so that semgrep-based SAST security checks won���t raise false alarms about security problems that aren���t problems.
Added a CITATION.cff file, thanks to Ken Schackart.


(adam)
diff -r1.38 -r1.39 pkgsrc/devel/py-coverage/Makefile
diff -r1.13 -r1.14 pkgsrc/devel/py-coverage/PLIST
diff -r1.30 -r1.31 pkgsrc/devel/py-coverage/distinfo

cvs diff -r1.38 -r1.39 pkgsrc/devel/py-coverage/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-coverage/Makefile 2023/05/30 04:13:53 1.38
+++ pkgsrc/devel/py-coverage/Makefile 2023/08/25 11:07:20 1.39
@@ -1,37 +1,32 @@ @@ -1,37 +1,32 @@
1# $NetBSD: Makefile,v 1.38 2023/05/30 04:13:53 adam Exp $ 1# $NetBSD: Makefile,v 1.39 2023/08/25 11:07:20 adam Exp $
2 2
3DISTNAME= coverage-7.2.7 3DISTNAME= coverage-7.3.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/}
7 7
8MAINTAINER= kamel.derouiche@gmail.com 8MAINTAINER= kamel.derouiche@gmail.com
9HOMEPAGE= https://coverage.readthedocs.io/ 9HOMEPAGE= https://coverage.readthedocs.io/
10COMMENT= Python module that measures code coverage for Python 10COMMENT= Python module that measures code coverage for Python
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
 13TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
13DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 15DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
14TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky 16TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky
15TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis 17TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
16TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test 18TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
17TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
18 20
19USE_PKG_RESOURCES= yes 
20 
21PYTHON_VERSIONS_INCOMPATIBLE= 27 21PYTHON_VERSIONS_INCOMPATIBLE= 27
22 22
23.include "../../lang/python/pyversion.mk" 
24.if ${PYTHON_VERSION} < 311 
25DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli 
26.endif 
27 
28post-install: 23post-install:
29 ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3 24 ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3
30 25
31# AssertionError: assert None 26# AssertionError: assert None
32# 'fixed' by running as root, needs to find a writeable directory 27# 'fixed' by running as root, needs to find a writeable directory
33do-test: 28do-test:
34 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests 29 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
35 30
36.include "../../lang/python/egg.mk" 31.include "../../lang/python/wheel.mk"
37.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"

cvs diff -r1.13 -r1.14 pkgsrc/devel/py-coverage/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-coverage/PLIST 2023/05/24 06:43:40 1.13
+++ pkgsrc/devel/py-coverage/PLIST 2023/08/25 11:07:20 1.14
@@ -1,136 +1,101 @@ @@ -1,136 +1,101 @@
1@comment $NetBSD: PLIST,v 1.13 2023/05/24 06:43:40 adam Exp $ 1@comment $NetBSD: PLIST,v 1.14 2023/08/25 11:07:20 adam Exp $
2bin/coverage-${PYVERSSUFFIX} 2bin/coverage-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${WHEEL_INFODIR}/METADATA
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${WHEEL_INFODIR}/RECORD
7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 7${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
8${PYSITELIB}/${EGG_INFODIR}/requires.txt 8${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
9${PYSITELIB}/${EGG_INFODIR}/top_level.txt 9${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 10${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 11${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
10${PYSITELIB}/coverage/__init__.py 12${PYSITELIB}/coverage/__init__.py
11${PYSITELIB}/coverage/__init__.pyc 13${PYSITELIB}/coverage/__init__.pyc
12${PYSITELIB}/coverage/__init__.pyo 
13${PYSITELIB}/coverage/__main__.py 14${PYSITELIB}/coverage/__main__.py
14${PYSITELIB}/coverage/__main__.pyc 15${PYSITELIB}/coverage/__main__.pyc
15${PYSITELIB}/coverage/__main__.pyo 
16${PYSITELIB}/coverage/annotate.py 16${PYSITELIB}/coverage/annotate.py
17${PYSITELIB}/coverage/annotate.pyc 17${PYSITELIB}/coverage/annotate.pyc
18${PYSITELIB}/coverage/annotate.pyo 
19${PYSITELIB}/coverage/bytecode.py 18${PYSITELIB}/coverage/bytecode.py
20${PYSITELIB}/coverage/bytecode.pyc 19${PYSITELIB}/coverage/bytecode.pyc
21${PYSITELIB}/coverage/bytecode.pyo 
22${PYSITELIB}/coverage/cmdline.py 20${PYSITELIB}/coverage/cmdline.py
23${PYSITELIB}/coverage/cmdline.pyc 21${PYSITELIB}/coverage/cmdline.pyc
24${PYSITELIB}/coverage/cmdline.pyo 
25${PYSITELIB}/coverage/collector.py 22${PYSITELIB}/coverage/collector.py
26${PYSITELIB}/coverage/collector.pyc 23${PYSITELIB}/coverage/collector.pyc
27${PYSITELIB}/coverage/collector.pyo 
28${PYSITELIB}/coverage/config.py 24${PYSITELIB}/coverage/config.py
29${PYSITELIB}/coverage/config.pyc 25${PYSITELIB}/coverage/config.pyc
30${PYSITELIB}/coverage/config.pyo 
31${PYSITELIB}/coverage/context.py 26${PYSITELIB}/coverage/context.py
32${PYSITELIB}/coverage/context.pyc 27${PYSITELIB}/coverage/context.pyc
33${PYSITELIB}/coverage/context.pyo 
34${PYSITELIB}/coverage/control.py 28${PYSITELIB}/coverage/control.py
35${PYSITELIB}/coverage/control.pyc 29${PYSITELIB}/coverage/control.pyc
36${PYSITELIB}/coverage/control.pyo 
37${PYSITELIB}/coverage/data.py 30${PYSITELIB}/coverage/data.py
38${PYSITELIB}/coverage/data.pyc 31${PYSITELIB}/coverage/data.pyc
39${PYSITELIB}/coverage/data.pyo 
40${PYSITELIB}/coverage/debug.py 32${PYSITELIB}/coverage/debug.py
41${PYSITELIB}/coverage/debug.pyc 33${PYSITELIB}/coverage/debug.pyc
42${PYSITELIB}/coverage/debug.pyo 
43${PYSITELIB}/coverage/disposition.py 34${PYSITELIB}/coverage/disposition.py
44${PYSITELIB}/coverage/disposition.pyc 35${PYSITELIB}/coverage/disposition.pyc
45${PYSITELIB}/coverage/disposition.pyo 
46${PYSITELIB}/coverage/env.py 36${PYSITELIB}/coverage/env.py
47${PYSITELIB}/coverage/env.pyc 37${PYSITELIB}/coverage/env.pyc
48${PYSITELIB}/coverage/env.pyo 
49${PYSITELIB}/coverage/exceptions.py 38${PYSITELIB}/coverage/exceptions.py
50${PYSITELIB}/coverage/exceptions.pyc 39${PYSITELIB}/coverage/exceptions.pyc
51${PYSITELIB}/coverage/exceptions.pyo 
52${PYSITELIB}/coverage/execfile.py 40${PYSITELIB}/coverage/execfile.py
53${PYSITELIB}/coverage/execfile.pyc 41${PYSITELIB}/coverage/execfile.pyc
54${PYSITELIB}/coverage/execfile.pyo 
55${PYSITELIB}/coverage/files.py 42${PYSITELIB}/coverage/files.py
56${PYSITELIB}/coverage/files.pyc 43${PYSITELIB}/coverage/files.pyc
57${PYSITELIB}/coverage/files.pyo 
58${PYSITELIB}/coverage/fullcoverage/encodings.py 44${PYSITELIB}/coverage/fullcoverage/encodings.py
59${PYSITELIB}/coverage/fullcoverage/encodings.pyc 45${PYSITELIB}/coverage/fullcoverage/encodings.pyc
60${PYSITELIB}/coverage/fullcoverage/encodings.pyo 
61${PYSITELIB}/coverage/html.py 46${PYSITELIB}/coverage/html.py
62${PYSITELIB}/coverage/html.pyc 47${PYSITELIB}/coverage/html.pyc
63${PYSITELIB}/coverage/html.pyo 
64${PYSITELIB}/coverage/htmlfiles/coverage_html.js 48${PYSITELIB}/coverage/htmlfiles/coverage_html.js
65${PYSITELIB}/coverage/htmlfiles/favicon_32.png 49${PYSITELIB}/coverage/htmlfiles/favicon_32.png
66${PYSITELIB}/coverage/htmlfiles/index.html 50${PYSITELIB}/coverage/htmlfiles/index.html
67${PYSITELIB}/coverage/htmlfiles/keybd_closed.png 51${PYSITELIB}/coverage/htmlfiles/keybd_closed.png
68${PYSITELIB}/coverage/htmlfiles/keybd_open.png 52${PYSITELIB}/coverage/htmlfiles/keybd_open.png
69${PYSITELIB}/coverage/htmlfiles/pyfile.html 53${PYSITELIB}/coverage/htmlfiles/pyfile.html
70${PYSITELIB}/coverage/htmlfiles/style.css 54${PYSITELIB}/coverage/htmlfiles/style.css
71${PYSITELIB}/coverage/htmlfiles/style.scss 55${PYSITELIB}/coverage/htmlfiles/style.scss
72${PYSITELIB}/coverage/inorout.py 56${PYSITELIB}/coverage/inorout.py
73${PYSITELIB}/coverage/inorout.pyc 57${PYSITELIB}/coverage/inorout.pyc
74${PYSITELIB}/coverage/inorout.pyo 
75${PYSITELIB}/coverage/jsonreport.py 58${PYSITELIB}/coverage/jsonreport.py
76${PYSITELIB}/coverage/jsonreport.pyc 59${PYSITELIB}/coverage/jsonreport.pyc
77${PYSITELIB}/coverage/jsonreport.pyo 
78${PYSITELIB}/coverage/lcovreport.py 60${PYSITELIB}/coverage/lcovreport.py
79${PYSITELIB}/coverage/lcovreport.pyc 61${PYSITELIB}/coverage/lcovreport.pyc
80${PYSITELIB}/coverage/lcovreport.pyo 
81${PYSITELIB}/coverage/misc.py 62${PYSITELIB}/coverage/misc.py
82${PYSITELIB}/coverage/misc.pyc 63${PYSITELIB}/coverage/misc.pyc
83${PYSITELIB}/coverage/misc.pyo 
84${PYSITELIB}/coverage/multiproc.py 64${PYSITELIB}/coverage/multiproc.py
85${PYSITELIB}/coverage/multiproc.pyc 65${PYSITELIB}/coverage/multiproc.pyc
86${PYSITELIB}/coverage/multiproc.pyo 
87${PYSITELIB}/coverage/numbits.py 66${PYSITELIB}/coverage/numbits.py
88${PYSITELIB}/coverage/numbits.pyc 67${PYSITELIB}/coverage/numbits.pyc
89${PYSITELIB}/coverage/numbits.pyo 
90${PYSITELIB}/coverage/parser.py 68${PYSITELIB}/coverage/parser.py
91${PYSITELIB}/coverage/parser.pyc 69${PYSITELIB}/coverage/parser.pyc
92${PYSITELIB}/coverage/parser.pyo 
93${PYSITELIB}/coverage/phystokens.py 70${PYSITELIB}/coverage/phystokens.py
94${PYSITELIB}/coverage/phystokens.pyc 71${PYSITELIB}/coverage/phystokens.pyc
95${PYSITELIB}/coverage/phystokens.pyo 
96${PYSITELIB}/coverage/plugin.py 72${PYSITELIB}/coverage/plugin.py
97${PYSITELIB}/coverage/plugin.pyc 73${PYSITELIB}/coverage/plugin.pyc
98${PYSITELIB}/coverage/plugin.pyo 
99${PYSITELIB}/coverage/plugin_support.py 74${PYSITELIB}/coverage/plugin_support.py
100${PYSITELIB}/coverage/plugin_support.pyc 75${PYSITELIB}/coverage/plugin_support.pyc
101${PYSITELIB}/coverage/plugin_support.pyo 
102${PYSITELIB}/coverage/py.typed 76${PYSITELIB}/coverage/py.typed
103${PYSITELIB}/coverage/python.py 77${PYSITELIB}/coverage/python.py
104${PYSITELIB}/coverage/python.pyc 78${PYSITELIB}/coverage/python.pyc
105${PYSITELIB}/coverage/python.pyo 
106${PYSITELIB}/coverage/pytracer.py 79${PYSITELIB}/coverage/pytracer.py
107${PYSITELIB}/coverage/pytracer.pyc 80${PYSITELIB}/coverage/pytracer.pyc
108${PYSITELIB}/coverage/pytracer.pyo 
109${PYSITELIB}/coverage/report.py 81${PYSITELIB}/coverage/report.py
110${PYSITELIB}/coverage/report.pyc 82${PYSITELIB}/coverage/report.pyc
111${PYSITELIB}/coverage/report.pyo 
112${PYSITELIB}/coverage/report_core.py 83${PYSITELIB}/coverage/report_core.py
113${PYSITELIB}/coverage/report_core.pyc 84${PYSITELIB}/coverage/report_core.pyc
114${PYSITELIB}/coverage/report_core.pyo 
115${PYSITELIB}/coverage/results.py 85${PYSITELIB}/coverage/results.py
116${PYSITELIB}/coverage/results.pyc 86${PYSITELIB}/coverage/results.pyc
117${PYSITELIB}/coverage/results.pyo 
118${PYSITELIB}/coverage/sqldata.py 87${PYSITELIB}/coverage/sqldata.py
119${PYSITELIB}/coverage/sqldata.pyc 88${PYSITELIB}/coverage/sqldata.pyc
120${PYSITELIB}/coverage/sqldata.pyo 89${PYSITELIB}/coverage/sqlitedb.py
 90${PYSITELIB}/coverage/sqlitedb.pyc
121${PYSITELIB}/coverage/templite.py 91${PYSITELIB}/coverage/templite.py
122${PYSITELIB}/coverage/templite.pyc 92${PYSITELIB}/coverage/templite.pyc
123${PYSITELIB}/coverage/templite.pyo 
124${PYSITELIB}/coverage/tomlconfig.py 93${PYSITELIB}/coverage/tomlconfig.py
125${PYSITELIB}/coverage/tomlconfig.pyc 94${PYSITELIB}/coverage/tomlconfig.pyc
126${PYSITELIB}/coverage/tomlconfig.pyo 
127${PYSITELIB}/coverage/tracer.so 95${PYSITELIB}/coverage/tracer.so
128${PYSITELIB}/coverage/types.py 96${PYSITELIB}/coverage/types.py
129${PYSITELIB}/coverage/types.pyc 97${PYSITELIB}/coverage/types.pyc
130${PYSITELIB}/coverage/types.pyo 
131${PYSITELIB}/coverage/version.py 98${PYSITELIB}/coverage/version.py
132${PYSITELIB}/coverage/version.pyc 99${PYSITELIB}/coverage/version.pyc
133${PYSITELIB}/coverage/version.pyo 
134${PYSITELIB}/coverage/xmlreport.py 100${PYSITELIB}/coverage/xmlreport.py
135${PYSITELIB}/coverage/xmlreport.pyc 101${PYSITELIB}/coverage/xmlreport.pyc
136${PYSITELIB}/coverage/xmlreport.pyo 

cvs diff -r1.30 -r1.31 pkgsrc/devel/py-coverage/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-coverage/distinfo 2023/05/30 04:13:53 1.30
+++ pkgsrc/devel/py-coverage/distinfo 2023/08/25 11:07:20 1.31
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.30 2023/05/30 04:13:53 adam Exp $ 1$NetBSD: distinfo,v 1.31 2023/08/25 11:07:20 adam Exp $
2 2
3BLAKE2s (coverage-7.2.7.tar.gz) = b919717cb5c171c8d1b73b275a028f4500c4dda46d0c16ea8b1af1701a1997c1 3BLAKE2s (coverage-7.3.0.tar.gz) = e3af8d17330fa8b74db16d3f661e7c53089c640f061a72f6ad4740113cbb04b9
4SHA512 (coverage-7.2.7.tar.gz) = 01ed5ef8ddb600b8a7443200b568eb5d8aa7d652f408617f78a2e1251a5f091ee05188a7d383acd530f29b688b67a4bf2dc2e1241efffe8b9d0f70f44c646f33 4SHA512 (coverage-7.3.0.tar.gz) = 3b394c3c96ca8484641585ce26c27100153892a77369e14e3596fe604a98ac0f9b33189d679fffd9fa80a41ac4bfa6a64dfe97e586833b39707ecc7f5aa43c35
5Size (coverage-7.2.7.tar.gz) = 762575 bytes 5Size (coverage-7.3.0.tar.gz) = 763902 bytes