commit:     f7e1a0bdd56e94cf4ea45f389659fe7cdb48a4f8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  8 19:03:29 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar  8 19:03:29 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e1a0bd

dev-python/pythran: Make dev-python/ipython test dep optional

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pythran/pythran-0.18.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/pythran/pythran-0.18.1.ebuild 
b/dev-python/pythran/pythran-0.18.1.ebuild
index 0c7831709413..b0811edf72f3 100644
--- a/dev-python/pythran/pythran-0.18.1.ebuild
+++ b/dev-python/pythran/pythran-0.18.1.ebuild
@@ -41,7 +41,6 @@ DEPEND="
 "
 BDEPEND="
        test? (
-               dev-python/ipython[${PYTHON_USEDEP}]
                dev-python/pip[${PYTHON_USEDEP}]
                dev-python/packaging[${PYTHON_USEDEP}]
                dev-python/scipy[${PYTHON_USEDEP}]
@@ -80,6 +79,12 @@ python_test() {
                pythran/benchmarks
        )
 
+       if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then
+               EPYTEST_IGNORE+=(
+                       pythran/tests/test_ipython.py
+               )
+       fi
+
        case ${ARCH} in
                arm)
                        EPYTEST_DESELECT+=(

Reply via email to