From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/
Date: Tue, 10 Oct 2023 05:10:22 +0000 (UTC) [thread overview]
Message-ID: <1696914616.8779b842df8e06a07704874671631d3f100d75df.mgorny@gentoo> (raw)
commit: 8779b842df8e06a07704874671631d3f100d75df
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sun Oct 8 09:38:00 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 05:10:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8779b842
dev-python/pytest-cov: deselect problematic subprocess tests
Bug: https://bugs.gentoo.org/889886
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index 22dcfe4fdd43..c9fde07cf848 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -49,6 +49,15 @@ python_test() {
local EPYTEST_DESELECT=(
# attempts to install packages via pip (network)
tests/test_pytest_cov.py::test_dist_missing_data
+ # TODO: pytest-cov.pth breaks importing coverage
+ # https://bugs.gentoo.org/889886
+ tests/test_pytest_cov.py::test_append_coverage_subprocess
+ tests/test_pytest_cov.py::test_central_subprocess_change_cwd
+ tests/test_pytest_cov.py::test_central_subprocess_change_cwd_with_pythonpath
+ tests/test_pytest_cov.py::test_central_subprocess
+ tests/test_pytest_cov.py::test_dist_subprocess_collocated
+ tests/test_pytest_cov.py::test_dist_subprocess_not_collocated
+ tests/test_pytest_cov.py::test_subprocess_with_path_aliasing
# TODO
tests/test_pytest_cov.py::test_contexts
tests/test_pytest_cov.py::test_cleanup_on_sigterm
@@ -57,18 +66,5 @@ python_test() {
tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
)
- local src=$(
- "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || die
- )
- # TODO: why do we need to do that?!
- # https://github.com/pytest-dev/pytest-cov/issues/517
- ln -s "${src}/coverage" \
- "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
- nonfatal epytest
- local ret=${?}
-
- rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
- [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
+ epytest
}
next reply other threads:[~2023-10-10 5:10 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 5:10 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-01 8:16 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/ Michał Górny
2025-03-01 8:16 Michał Górny
2025-03-01 8:16 Michał Górny
2024-12-14 13:57 Arthur Zamarin
2024-04-11 19:04 Michał Górny
2024-04-11 16:35 Arthur Zamarin
2024-03-25 4:47 Michał Górny
2023-10-10 8:14 Michał Górny
2023-10-10 8:14 Michał Górny
2023-10-10 8:14 Michał Górny
2023-10-10 5:10 Michał Górny
2023-10-10 5:10 Michał Górny
2023-07-11 9:17 Michał Górny
2023-07-11 8:43 Jakov Smolić
2023-05-26 18:04 Michał Górny
2023-05-26 18:04 Michał Górny
2023-05-26 18:04 Michał Górny
2023-02-20 6:24 Michał Górny
2023-02-20 6:24 Michał Górny
2023-01-05 16:56 Michał Górny
2022-11-19 8:44 Arthur Zamarin
2022-11-19 8:39 Arthur Zamarin
2022-10-12 14:52 Michał Górny
2022-10-01 16:24 Michał Górny
2022-02-27 18:46 Michał Górny
2022-01-23 14:56 Michał Górny
2022-01-23 14:56 Michał Górny
2021-11-05 5:40 Arthur Zamarin
2021-11-05 2:12 Sam James
2021-10-04 8:05 Michał Górny
2021-09-21 21:37 James Le Cuirot
2021-06-23 21:27 Michał Górny
2021-06-14 22:30 Michał Górny
2021-06-14 22:18 Sam James
2021-06-01 22:44 Michał Górny
2021-05-15 8:39 Michał Górny
2021-02-24 22:30 Michał Górny
2021-02-24 22:05 Sam James
2021-02-19 8:58 Michał Górny
2021-02-19 2:54 Sam James
2021-01-30 19:31 Sam James
2021-01-21 10:52 Michał Górny
2021-01-18 11:42 Michał Górny
2021-01-18 11:42 Michał Górny
2020-12-01 10:41 Andrey Grozin
2020-11-18 8:47 Michał Górny
2020-10-16 18:22 Michał Górny
2020-08-01 21:48 Michał Górny
2020-06-16 8:18 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-26 10:19 Agostino Sarubbo
2020-03-26 8:29 Agostino Sarubbo
2020-03-25 17:44 Agostino Sarubbo
2020-03-25 16:14 Agostino Sarubbo
2020-03-25 16:12 Agostino Sarubbo
2019-12-02 21:13 Aaron Bauman
2019-11-25 12:35 Michał Górny
2019-10-12 20:23 Matt Turner
2019-04-12 13:47 Virgil Dupras
2019-04-12 13:03 Virgil Dupras
2018-12-03 12:16 Virgil Dupras
2018-11-09 13:42 Alexey Shvetsov
2018-08-14 6:41 Mart Raudsepp
2018-06-22 15:06 Mikle Kolyada
2018-05-04 15:17 Mart Raudsepp
2018-03-27 23:15 Matt Turner
2018-03-07 19:47 Markus Meier
2018-02-22 15:52 Michał Górny
2018-01-24 22:53 Sergei Trofimovich
2018-01-13 12:16 Sergei Trofimovich
2018-01-13 11:32 Sergei Trofimovich
2018-01-03 19:51 Sergei Trofimovich
2018-01-03 9:25 Michał Górny
2018-01-03 9:11 Michał Górny
2018-01-03 9:11 Michał Górny
2017-08-02 4:06 Sebastien Fabbro
2017-03-22 19:48 Markus Meier
2017-03-11 17:07 Agostino Sarubbo
2017-02-25 10:03 Agostino Sarubbo
2017-02-23 16:35 Michael Weber
2017-02-23 16:35 Michael Weber
2017-02-23 14:12 Michael Weber
2017-02-21 11:54 Tobias Klausmann
2017-02-19 8:40 Markus Meier
2017-02-12 22:20 Zac Medico
2017-02-12 17:10 Agostino Sarubbo
2017-02-12 16:25 Agostino Sarubbo
2017-02-06 14:55 Agostino Sarubbo
2017-02-04 12:08 Jeroen Roovers
2017-01-25 6:39 Jeroen Roovers
2016-02-01 16:27 Justin Lecher
2015-11-09 11:49 Justin Lecher
2015-10-15 8:57 Justin Lecher
2015-10-15 8:26 Justin Lecher
2015-10-14 17:21 Michał Górny
2015-09-29 13:03 Tobias Klausmann
2015-09-27 18:16 Justin Lecher
2015-09-22 7:02 Justin Lecher
2015-09-09 9:49 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1696914616.8779b842df8e06a07704874671631d3f100d75df.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox