From d0c963e197364d26bf9f9132aff8a1613c567c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 11 Apr 2024 10:17:17 +0200 Subject: [PATCH] Don't BuildRequire pythran in RHEL We've been told by RHEL scipy maintainers they will be getting rid of the dependency. --- Cython.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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