summaryrefslogtreecommitdiff
path: root/dev-python/pytest-cov
diff options
context:
space:
mode:
authormirror@stealer.net <mirror@stealer.net>2026-03-22 04:30:23 +0000
committermirror@stealer.net <mirror@stealer.net>2026-03-22 04:30:23 +0000
commitbc440e147f523fe35f8e1b2cb12e859ea657efe2 (patch)
tree6b5c6ce13be1c40bb95680549aa189aabb2f76f9 /dev-python/pytest-cov
parent283c6e49bbdc88e877c7821ebc1ef463b3b5a015 (diff)
2026-03-22 04:07:54+00:00
Diffstat (limited to 'dev-python/pytest-cov')
-rw-r--r--dev-python/pytest-cov/Manifest6
-rw-r--r--dev-python/pytest-cov/pytest-cov-6.2.0.ebuild56
-rw-r--r--dev-python/pytest-cov/pytest-cov-7.1.0.ebuild (renamed from dev-python/pytest-cov/pytest-cov-6.3.0.ebuild)20
3 files changed, 19 insertions, 63 deletions
diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 3b1777350a..928e4bcaa1 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,7 +1,5 @@
-DIST pytest_cov-6.2.0.tar.gz 68872 BLAKE2B 2d1b011885db80497a3de6cda907b2d7e9ed6b4f5cdbe7da7e5d824ffc95c47d0603885deb227698c8536c77c98ceb8604c8bc00ac7a5aec73c867c6efad1a37 SHA512 11d4916b2a826981845b93944737813e2683a48e36cfe9c4a2a1b5a3f4009f8a3e87d1606636fdaf813dffc017bd5a81fd1769bbaca5ce360e1e89f51130c934
-DIST pytest_cov-6.3.0.tar.gz 70398 BLAKE2B 8082e94bf2430122f07dcf07c423f2cb4d4c41c1383baad36a6b89a1bb350f30dd8f53ad66efcb56f998d7e35d553fc0f1f41d47bf149cecca13b813100f8b2a SHA512 163b13aae0e335c7158614411f6ae2dc259b0c9de09e324ee909dc07992c2ee45b81e850bd13a0e00bf211af1a5262ef6cc2883c883b739a2be2e0efef5aee7c
DIST pytest_cov-7.0.0.tar.gz 54328 BLAKE2B e4c3e01a2a7f09bbbf53889d984e835d40d50ed89616f43027ecdffc299a5f917f6cdcaf76b87053e687f39d5eca951d8bf3602d1cf1ac214017cf7074b5163b SHA512 6a3822209b139b06f175e20549f997c532d1c1d9bc79fa3fdff9dca8ea870a110cf75056ddfb68fc447018033bd223c0de492be9a8c756a02739b70d3f2772a7
-EBUILD pytest-cov-6.2.0.ebuild 1400 BLAKE2B ed0885b9a68094ecc2cf7ea9f2e664e722f2b9f7ccf6bc771fadbd22a45c065791b4a8bac3a79e8570c1c962f9b838003b6849e02b2d4df5535cdecff7dc60fa SHA512 910715d0187a650c797fee0b2db67194a0c7e2c51aacb45b97172c72e84aff85796f826f81ef8f93304b2e3b188f39608551d4d3697168e978a5df310b9b7e8f
-EBUILD pytest-cov-6.3.0.ebuild 1395 BLAKE2B 0e1b40497689895e7b7def970444cb44436be204b89e804a3f0c481e4cf5f9a4cfec965a033ccbbedca1af16d4e81cebdf4cd631adaf20bdeba33f87caf41131 SHA512 aaf1da4babe96e781212a326491846dd242523167e0d0a11f0948a058218cef0199cddbaa9a86ca4f8f9590584d371fca2d5bcb1f87319c1a0f61cf82b8f7dc6
+DIST pytest_cov-7.1.0.tar.gz 55592 BLAKE2B 9b0a81a8242e1a6204c971edb3d7693eef04dcbf88d0dbc382a314e9ea55918fd694db8bdb72a260e29adab1eb8c981e3d7a51fdea12f61f946f87fdcecc9ae7 SHA512 914e24466a4049b1ee712e5cda516e7bb004b2fdd00851e448eaec14110eaceba5a965728183dcf36f2a2b25bf45ea9b662b8aa89b999c15929c4cc992af11bb
EBUILD pytest-cov-7.0.0.ebuild 1724 BLAKE2B 80c7fa01e2c444bb1583c0c511e50e65c1117af315cb6fe1bdf3976fa1d9d57d1e89369e1af81607b85fdc19b25a64c3318f461062fefeb1fd40f196c9c3410b SHA512 6ec11a6d4bf22ad81e5697764e724485737f9b2f075412503829acda0aeefbdd7be21656caeb19a0b36bfa2846be19d9f2b8b761b36edbd7263647c705a2557a
+EBUILD pytest-cov-7.1.0.ebuild 1730 BLAKE2B 3c47ce8121b27720bd68b60c8d2cafd3630afa6920f262511a0d782cd6f4f89b4fad3dc82f405773ebfe78c7727873312d1475b35c96ef3c747622e4e60c2928 SHA512 58339a7652f3d491eb73c869946246788a952b9e1933d8b9a2273b47011ad5a321723e9bc570112df4fad2e557a1f6fac7c4186f03339d415f78e38dcdb916e4
MISC metadata.xml 412 BLAKE2B 0d79131c6fd8adf72493a7c333959e065cf4f2231f6c770800b6d05ff9afcc246cd202406bea6e28f6b0fd23ee6197aa8dac2dd59d0a89d9b07741f57e8fa5e8 SHA512 d1aab9ea8042bf810398a4195fd3595a8abbeb060ab38fd7b7e40085c8d5f22ecb78bab02e2331d4588199d88e0d3848413d75a18fe4373ecd9940a3c990c604
diff --git a/dev-python/pytest-cov/pytest-cov-6.2.0.ebuild b/dev-python/pytest-cov/pytest-cov-6.2.0.ebuild
deleted file mode 100644
index 45309fecd5..0000000000
--- a/dev-python/pytest-cov/pytest-cov-6.2.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="pytest plugin for coverage reporting"
-HOMEPAGE="
- https://github.com/pytest-dev/pytest-cov
- https://pypi.org/project/pytest-cov/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="
- >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
- >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
- >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
-"
-# NB: xdist is also used directly in the test suite
-BDEPEND="
- test? (
- dev-python/fields[${PYTHON_USEDEP}]
- >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_sphinx docs \
- dev-python/furo
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-python_test() {
- # NB: disabling all plugins speeds tests up a lot
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
-
- # https://github.com/pytest-dev/pytest-cov/issues/517
- local -x PYTHONPATH=$(python_get_sitedir):${PYTHONPATH}
- local -x PYTHONUSERBASE=/usr
-
- local EPYTEST_DESELECT=(
- # TODO
- tests/test_pytest_cov.py::test_filterwarnings_error
- )
-
- epytest
-}
diff --git a/dev-python/pytest-cov/pytest-cov-6.3.0.ebuild b/dev-python/pytest-cov/pytest-cov-7.1.0.ebuild
index 45ff0a6943..92ea574eee 100644
--- a/dev-python/pytest-cov/pytest-cov-6.3.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-7.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
@@ -19,12 +19,13 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
+ >=dev-python/coverage-7.10.6[${PYTHON_USEDEP}]
>=dev-python/pluggy-1.2[${PYTHON_USEDEP}]
- >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}]
- >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
+ >=dev-python/pytest-7[${PYTHON_USEDEP}]
"
# NB: xdist is also used directly in the test suite
BDEPEND="
+ dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
test? (
dev-python/fields[${PYTHON_USEDEP}]
>=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
@@ -38,6 +39,7 @@ distutils_enable_sphinx docs \
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
+EPYTEST_RERUNS=5
EPYTEST_XDIST=1
distutils_enable_tests pytest
@@ -48,9 +50,21 @@ python_test() {
local -x PYTHONUSERBASE=/usr
local EPYTEST_DESELECT=(
+ # no celery in ::gentoo
+ tests/test_pytest_cov.py::test_celery
# TODO
tests/test_pytest_cov.py::test_filterwarnings_error
)
+ case ${EPYTHON} in
+ python3.14*)
+ EPYTEST_DESELECT+=(
+ # https://github.com/pytest-dev/pytest-cov/issues/719
+ # (skipped previously)
+ tests/test_pytest_cov.py::test_contexts
+ )
+ ;;
+ esac
+
epytest
}