pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test-cov



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov  8 13:50:05 UTC 2022

Modified Files:
        pkgsrc/devel/py-test-cov: Makefile distinfo

Log Message:
py-test-cov: updated to 4.0.0

4.0.0 (2022-09-28)
------------------

**Note that this release drops support for multiprocessing.**

* `--cov-fail-under` no longer causes `pytest --collect-only` to fail
* Dropped support for multiprocessing (mostly because `issue 82408 <https://github.com/python/cpython/issues/82408>`_). This feature was
  mostly working but very broken in certain scenarios and made the test suite very flaky and slow.

  There is builtin multiprocessing support in coverage and you can migrate to that. All you need is this in your
  ``.coveragerc``::

    [run]
    concurrency = multiprocessing
    parallel = true
    sigterm = true
* Fixed deprecation in ``setup.py`` by trying to import setuptools before distutils.
* Removed undesirable new lines that were displayed while reporting was disabled.
* Documentation fixes.
* Added support for LCOV output format via `--cov-report=lcov`. Only works with coverage 6.3+.
* Modernized pytest hook implementation.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-test-cov/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-test-cov/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test-cov/Makefile
diff -u pkgsrc/devel/py-test-cov/Makefile:1.20 pkgsrc/devel/py-test-cov/Makefile:1.21
--- pkgsrc/devel/py-test-cov/Makefile:1.20      Wed Aug 24 10:08:54 2022
+++ pkgsrc/devel/py-test-cov/Makefile   Tue Nov  8 13:50:05 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2022/08/24 10:08:54 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/11/08 13:50:05 adam Exp $
 
-DISTNAME=      pytest-cov-3.0.0
+DISTNAME=      pytest-cov-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-cov/}
@@ -11,8 +11,7 @@ COMMENT=      Pytest plugin for measuring cov
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py-coverage
-DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-DEPENDS+=      ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+DEPENDS+=      ${PYPKGPREFIX}-test>=4.6:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-fields-[0-9]*:../../devel/py-fields
 TEST_DEPENDS+= ${PYPKGPREFIX}-process-tests-[0-9]*:../../devel/py-process-tests
 TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
@@ -23,8 +22,8 @@ USE_LANGUAGES=        # none
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 # needs to be installed for testing, this setting is not enoough
-# as of 3.0.0:
-# 1 failed, 124 passed, 6 skipped, 1 warning
+# as of 4.0.0:
+# 3 failed, 115 passed, 6 skipped, 4 xpassed, 1 warning
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 
 do-test:

Index: pkgsrc/devel/py-test-cov/distinfo
diff -u pkgsrc/devel/py-test-cov/distinfo:1.18 pkgsrc/devel/py-test-cov/distinfo:1.19
--- pkgsrc/devel/py-test-cov/distinfo:1.18      Wed Aug 24 10:08:54 2022
+++ pkgsrc/devel/py-test-cov/distinfo   Tue Nov  8 13:50:05 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2022/08/24 10:08:54 wiz Exp $
+$NetBSD: distinfo,v 1.19 2022/11/08 13:50:05 adam Exp $
 
-BLAKE2s (pytest-cov-3.0.0.tar.gz) = 72e3a77921569945ae7586ff313a49622093d746076eb9947ae5fcaaa53989e4
-SHA512 (pytest-cov-3.0.0.tar.gz) = 289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8
-Size (pytest-cov-3.0.0.tar.gz) = 61440 bytes
+BLAKE2s (pytest-cov-4.0.0.tar.gz) = 3435207604ac6c361db8a58afd38567a9a8ef9e0dcf62eeefe0ce325e19cfb8e
+SHA512 (pytest-cov-4.0.0.tar.gz) = fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012
+Size (pytest-cov-4.0.0.tar.gz) = 62013 bytes



Home | Main Index | Thread Index | Old Index