Add more optional test deps

This commit is contained in:
Miro Hrončok 2023-07-18 00:19:54 +02:00
parent 1f32e41a7e
commit 87851c9fe5

View File

@ -19,12 +19,15 @@ BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: gcc-c++
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 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.
# We keep the dependency here so we don't forget to re-add it once the balance is restored.
# We don't want to pull in jedi to RHEL just to potentially run more tests.
%if %{undefined rhel}
BuildRequires: python3-jedi
%endif
%endif