From d0c963e197364d26bf9f9132aff8a1613c567c7f Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Apr 11 2024 08:17:17 +0000 Subject: Don't BuildRequire pythran in RHEL We've been told by RHEL scipy maintainers they will be getting rid of the dependency. --- diff --git a/Cython.spec b/Cython.spec index 9c0274c..f7caf6e 100644 --- a/Cython.spec +++ b/Cython.spec @@ -23,16 +23,15 @@ BuildRequires: python3-test # the Python tests requirements are curated manually # the test-requirements*.txt files mix in coverage and optional deps BuildRequires: python3-numpy -BuildRequires: python3-pythran %if %{undefined rhel} -# We don't want to pull in ipython to RHEL just to run more tests. -# The tests use IPython.testing.globalipapp +# We don't want to pull in the following deps to RHEL just to run more tests. +# The tests use IPython.testing.globalipapp: BuildRequires: python3-ipython+test +BuildRequires: python3-pythran # 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. BuildRequires: python3-jedi %endif %endif