Don't BuildRequire pythran in RHEL

We've been told by RHEL scipy maintainers
they will be getting rid of the dependency.
This commit is contained in:
Miro Hrončok 2024-04-11 10:17:17 +02:00
parent 0e9ba50dcb
commit d0c963e197

View File

@ -23,16 +23,15 @@ BuildRequires: python3-test
# the Python tests requirements are curated manually # the Python tests requirements are curated manually
# the test-requirements*.txt files mix in coverage and optional deps # the test-requirements*.txt files mix in coverage and optional deps
BuildRequires: python3-numpy BuildRequires: python3-numpy
BuildRequires: python3-pythran
%if %{undefined rhel} %if %{undefined rhel}
# We don't want to pull in ipython to RHEL just to run more tests. # We don't want to pull in the following deps to RHEL just to run more tests.
# The tests use IPython.testing.globalipapp # The tests use IPython.testing.globalipapp:
BuildRequires: python3-ipython+test BuildRequires: python3-ipython+test
BuildRequires: python3-pythran
# The tests requiring jedi are optional and skipped when jedi is not installed. # 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, # Note that the jedi tests were forcefully disabled a long time ago,
# in https://github.com/cython/cython/issues/1845 far, far away. # 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 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 BuildRequires: python3-jedi
%endif %endif
%endif %endif