From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-regressions/
Date: Mon, 28 Feb 2022 08:35:09 +0000 (UTC) [thread overview]
Message-ID: <1646037158.7888ee53660ad59b61b869b0a92f5ec2ea48eccd.mgorny@gentoo> (raw)
commit: 7888ee53660ad59b61b869b0a92f5ec2ea48eccd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 28 08:32:38 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 28 08:32:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7888ee53
dev-python/pytest-regressions: Make pandas test-dep optional
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../pytest-regressions-2.3.1.ebuild | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild
index 8cf9cc85818f..2207079a0ece 100644
--- a/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild
+++ b/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild
@@ -26,10 +26,27 @@ BDEPEND="
test? (
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pandas[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/tox[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ local EPYTEST_IGNORE=()
+ if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
+ EPYTEST_DESELECT+=(
+ tests/test_filenames.py::test_foo
+ tests/test_filenames.py::TestClass::test_foo
+ tests/test_filenames.py::TestClassWithIgnoredName::test_foo
+ )
+ EPYTEST_IGNORE+=(
+ tests/test_dataframe_regression.py
+ tests/test_num_regression.py
+ )
+ fi
+
+ epytest
+}
next reply other threads:[~2022-02-28 8:35 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 8:35 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-16 16:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-regressions/ Michał Górny
2025-01-25 10:01 Michał Górny
2025-01-25 9:20 Arthur Zamarin
2025-01-10 20:43 Michał Górny
2025-01-04 12:29 Michał Górny
2025-01-04 11:44 Sam James
2024-12-18 7:27 Michał Górny
2024-05-11 11:05 Michał Górny
2023-10-06 15:08 Michał Górny
2023-10-06 14:31 Sam James
2023-09-01 5:06 Michał Górny
2023-08-31 13:22 Michał Górny
2023-05-29 12:49 Michał Górny
2023-05-29 12:49 Michał Górny
2023-04-09 20:40 Andrew Ammerlaan
2023-03-19 17:36 Arthur Zamarin
2023-03-17 15:23 Michał Górny
2023-02-16 20:58 Arthur Zamarin
2023-01-25 16:10 WANG Xuerui
2023-01-14 4:57 Michał Górny
2022-10-22 15:58 Michał Górny
2022-10-22 15:50 Arthur Zamarin
2022-09-19 19:02 Arthur Zamarin
2022-06-24 15:46 Michał Górny
2022-05-17 12:20 Andrew Ammerlaan
2022-05-07 20:00 Michał Górny
2022-03-12 11:17 Arthur Zamarin
2022-03-01 11:30 Agostino Sarubbo
2022-02-28 10:13 Michał Górny
2022-02-28 10:13 Michał Górny
2022-02-28 10:13 Michał Górny
2022-02-13 13:00 Michał Górny
2022-02-13 10:38 Agostino Sarubbo
2022-02-07 11:36 Sam James
2022-01-19 22:59 Michał Górny
2022-01-04 21:46 Arthur Zamarin
2021-11-20 6:35 Sam James
2021-11-19 8:37 Arthur Zamarin
2021-11-19 7:59 Arthur Zamarin
2021-09-27 10:14 James Le Cuirot
2021-09-07 5:30 Sam James
2021-09-07 2:47 Sam James
2021-09-06 21:26 Sam James
2021-08-04 21:57 Marek Szuba
2021-07-25 3:23 Sam James
2021-07-23 14:08 Andrew Ammerlaan
2021-03-02 9:00 Michał Górny
2021-03-02 7:38 Sam James
2021-01-28 8:35 Michał Górny
2021-01-28 8:35 Michał Górny
2021-01-18 18:48 Michał Górny
2021-01-18 16:53 Sam James
2020-12-17 0:18 Matt Turner
2020-12-17 0:18 Matt Turner
2020-12-06 9:53 Joonas Niilola
2020-12-06 9:14 Michał Górny
2020-12-05 9:58 Michał Górny
2020-11-05 1:39 Matt Turner
2020-10-17 16:41 Joonas Niilola
2020-10-17 16:41 Joonas Niilola
2020-09-21 16:06 Michał Górny
2020-09-15 8:09 Joonas Niilola
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=1646037158.7888ee53660ad59b61b869b0a92f5ec2ea48eccd.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