Tue Nov 8 13:39:17 2022 UTC ()
py-coverage: updated to 6.5.0

Version 6.5.0 — 2022-09-29
--------------------------

- The JSON report now includes details of which branches were taken, and which
  are missing for each file. Thanks, Christoph Blessing (`pull 1438`_). Closes
  `issue 1425`_.

- Starting with coverage.py 6.2, ``class`` statements were marked as a branch.
  This wasn't right, and has been reverted, fixing `issue 1449`_. Note this
  will very slightly reduce your coverage total if you are measuring branch
  coverage.

- Packaging is now compliant with `PEP 517`_, closing `issue 1395`_.

- A new debug option ``--debug=pathmap`` shows details of the remapping of
  paths that happens during combine due to the ``[paths]`` setting.

- Fix an internal problem with caching of invalid Python parsing. Found by
  OSS-Fuzz, fixing their `bug 50381`_.

.. _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
.. _PEP 517: https://peps.python.org/pep-0517/
.. _issue 1395: https://github.com/nedbat/coveragepy/issues/1395
.. _issue 1425: https://github.com/nedbat/coveragepy/issues/1425
.. _pull 1438: https://github.com/nedbat/coveragepy/pull/1438
.. _issue 1449: https://github.com/nedbat/coveragepy/issues/1449


(adam)
diff -r1.33 -r1.34 pkgsrc/devel/py-coverage/Makefile
diff -r1.26 -r1.27 pkgsrc/devel/py-coverage/distinfo

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

--- pkgsrc/devel/py-coverage/Makefile 2022/08/24 09:36:50 1.33
+++ pkgsrc/devel/py-coverage/Makefile 2022/11/08 13:39:17 1.34
@@ -1,35 +1,39 @@ @@ -1,35 +1,39 @@
1# $NetBSD: Makefile,v 1.33 2022/08/24 09:36:50 wiz Exp $ 1# $NetBSD: Makefile,v 1.34 2022/11/08 13:39:17 adam Exp $
2 2
3DISTNAME= coverage-6.4.4 3DISTNAME= coverage-6.5.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
13BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner 13BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
15DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli 
16TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky 15TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky
17TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis 16TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
18TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock 17TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
19TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test 18TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
20TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
21TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.6:../../devel/py-unittest-mixins 20TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.6:../../devel/py-unittest-mixins
22 21
 22USE_PKG_RESOURCES= yes
 23
23PYTHON_VERSIONS_INCOMPATIBLE= 27 24PYTHON_VERSIONS_INCOMPATIBLE= 27
24 25
25USE_PKG_RESOURCES= yes 26.include "../../lang/python/pyversion.mk"
 27.if ${_PYTHON_VERSION} < 311
 28DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
 29.endif
26 30
27post-install: 31post-install:
28 ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3 32 ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3
29 33
30# INTERNALERROR> AssertionError: assert None 34# INTERNALERROR> AssertionError: assert None
31do-test: 35do-test:
32 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} 36 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
33 37
34.include "../../lang/python/egg.mk" 38.include "../../lang/python/egg.mk"
35.include "../../mk/bsd.pkg.mk" 39.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/devel/py-coverage/distinfo 2022/08/24 09:36:50 1.26
+++ pkgsrc/devel/py-coverage/distinfo 2022/11/08 13:39:17 1.27
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.26 2022/08/24 09:36:50 wiz Exp $ 1$NetBSD: distinfo,v 1.27 2022/11/08 13:39:17 adam Exp $
2 2
3BLAKE2s (coverage-6.4.4.tar.gz) = b597ddd05899179b5cd3eb49d17bee246f2f7ba86c97a2ac1e9edec16d5e43bc 3BLAKE2s (coverage-6.5.0.tar.gz) = c33473cffdaf39ea546eba626cf65fe63169145f7b03237f1b0cd8dd86980614
4SHA512 (coverage-6.4.4.tar.gz) = f210f2471b170e05d4dac2cc9a91e3f0d4ba6456cdf91dc1c0ef67a02a11f4279c5beca5df8854c42660346995492b1eff020e1ac578d2a0a129627dadd17114 4SHA512 (coverage-6.5.0.tar.gz) = 4f2ec0bf69a83471a2b5a73b6a2212372ee6e32ccc4c72e0d33eef915939152f3213ab60e1a22ce2b72791e706c2223b0c81c87b95bbfadd1e828fa1a9fff120
5Size (coverage-6.4.4.tar.gz) = 772949 bytes 5Size (coverage-6.5.0.tar.gz) = 775224 bytes