From 87851c9fe52eca59820c471089fce373b88478fd Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 19 2023 05:00:16 +0000 Subject: Add more optional test deps --- diff --git a/Cython.spec b/Cython.spec index 77a8210..60b8eeb 100644 --- a/Cython.spec +++ b/Cython.spec @@ -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