Skip to content

Commit

Permalink
py-coverage: updated to 6.5.0
Browse files Browse the repository at this point in the history
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: nedbat/coveragepy#1395
.. _issue 1425: nedbat/coveragepy#1425
.. _pull 1438: nedbat/coveragepy#1438
.. _issue 1449: nedbat/coveragepy#1449
  • Loading branch information
adam committed Nov 8, 2022
1 parent 87a484d commit 8a21dc4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions devel/py-coverage/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.33 2022/08/24 09:36:50 wiz Exp $
# $NetBSD: Makefile,v 1.34 2022/11/08 13:39:17 adam Exp $

DISTNAME= coverage-6.4.4
DISTNAME= coverage-6.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/}
Expand All @@ -12,17 +12,21 @@ LICENSE= apache-2.0

BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.6:../../devel/py-unittest-mixins

USE_PKG_RESOURCES= yes

PYTHON_VERSIONS_INCOMPATIBLE= 27

USE_PKG_RESOURCES= yes
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
.endif

post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3
Expand Down
8 changes: 4 additions & 4 deletions devel/py-coverage/distinfo
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.26 2022/08/24 09:36:50 wiz Exp $
$NetBSD: distinfo,v 1.27 2022/11/08 13:39:17 adam Exp $

BLAKE2s (coverage-6.4.4.tar.gz) = b597ddd05899179b5cd3eb49d17bee246f2f7ba86c97a2ac1e9edec16d5e43bc
SHA512 (coverage-6.4.4.tar.gz) = f210f2471b170e05d4dac2cc9a91e3f0d4ba6456cdf91dc1c0ef67a02a11f4279c5beca5df8854c42660346995492b1eff020e1ac578d2a0a129627dadd17114
Size (coverage-6.4.4.tar.gz) = 772949 bytes
BLAKE2s (coverage-6.5.0.tar.gz) = c33473cffdaf39ea546eba626cf65fe63169145f7b03237f1b0cd8dd86980614
SHA512 (coverage-6.5.0.tar.gz) = 4f2ec0bf69a83471a2b5a73b6a2212372ee6e32ccc4c72e0d33eef915939152f3213ab60e1a22ce2b72791e706c2223b0c81c87b95bbfadd1e828fa1a9fff120
Size (coverage-6.5.0.tar.gz) = 775224 bytes

0 comments on commit 8a21dc4

Please sign in to comment.