Skip to content

Commit

Permalink
py-test-cov: update to 3.0.0.
Browse files Browse the repository at this point in the history
3.0.0 (2021-10-04)
-------------------

**Note that this release drops support for Python 2.7 and Python 3.5.**

* Added support for Python 3.10 and updated various test dependencies.
  Contributed by Hugo van Kemenade in
  `#500 <https://github.com/pytest-dev/pytest-cov/pull/500>`_.
* Switched from Travis CI to GitHub Actions. Contributed by Hugo van Kemenade in
  `#494 <https://github.com/pytest-dev/pytest-cov/pull/494>`_ and
  `#495 <https://github.com/pytest-dev/pytest-cov/pull/495>`_.
* Add a ``--cov-reset`` CLI option.
  Contributed by Danilo Šegan in
  `#459 <https://github.com/pytest-dev/pytest-cov/pull/459>`_.
* Improved validation of ``--cov-fail-under`` CLI option.
  Contributed by ... Ronny Pfannschmidt's desire for skark in
  `#480 <https://github.com/pytest-dev/pytest-cov/pull/480>`_.
* Dropped Python 2.7 support.
  Contributed by Thomas Grainger in
  `#488 <https://github.com/pytest-dev/pytest-cov/pull/488>`_.
* Updated trove classifiers. Contributed by Michał Bielawski in
  `#481 <https://github.com/pytest-dev/pytest-cov/pull/481>`_.


2.13.0 (2021-06-01)
-------------------

* Changed the `toml` requirement to be always be directly required (instead of being required through a coverage extra).
  This fixes issues with pip-compile (`pip-tools#1300 <https://github.com/jazzband/pip-tools/issues/1300>`_).
  Contributed by Sorin Sbarnea in `#472 <https://github.com/pytest-dev/pytest-cov/pull/472>`_.
* Documented ``show_contexts``.
  Contributed by Brian Rutledge in `#473 <https://github.com/pytest-dev/pytest-cov/pull/473>`_.
  • Loading branch information
0-wiz-0 committed Aug 24, 2022
1 parent 4c96e42 commit d45e82f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
23 changes: 17 additions & 6 deletions devel/py-test-cov/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.19 2022/01/04 20:53:41 wiz Exp $
# $NetBSD: Makefile,v 1.20 2022/08/24 10:08:54 wiz Exp $

DISTNAME= pytest-cov-2.12.1
DISTNAME= pytest-cov-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-cov/}

Expand All @@ -12,12 +11,24 @@ COMMENT= Pytest plugin for measuring coverage
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

PYTHON_VERSIONED_DEPENDENCIES= 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
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist

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
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 4 additions & 4 deletions devel/py-test-cov/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.17 2021/10/26 10:19:07 nia Exp $
$NetBSD: distinfo,v 1.18 2022/08/24 10:08:54 wiz Exp $

BLAKE2s (pytest-cov-2.12.1.tar.gz) = c7e0e492945f85217efa4f91d706edd598e740a49b18a8e07e69c5ebd6c9f8b3
SHA512 (pytest-cov-2.12.1.tar.gz) = 4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375
Size (pytest-cov-2.12.1.tar.gz) = 60395 bytes
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

0 comments on commit d45e82f

Please sign in to comment.