Add more optional test dependencies to run more tests

This commit is contained in:
Miro Hrončok 2023-10-13 14:58:38 +02:00
parent 2323ac7d60
commit 816bc6d12f
1 changed files with 5 additions and 1 deletions

View File

@ -18,11 +18,15 @@ BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: gcc-c++
BuildRequires: gdb
# optionally uses Python's test.support for some test
BuildRequires: python3-test
BuildRequires: python3-numpy
BuildRequires: python3-pythran
%if %{undefined rhel}
# We don't want to pull in ipython to RHEL just to run more tests.
BuildRequires: python3-ipython
# The tests use IPython.testing.globalipapp
BuildRequires: python3-ipython+test
# The tests requiring jedi are optional and skipped when jedi is not installed.
# Note that the jedi tests were forcefully disabled a long time ago,
# in https://github.com/cython/cython/issues/1845 far, far away.