diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..e840633 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/scipy.spec b/scipy.spec index ccce2f4..0d75d57 100644 --- a/scipy.spec +++ b/scipy.spec @@ -1,11 +1,6 @@ # without means enabled %bcond_with doc -# Pythran is an optional build dependency. -# When used, it makes some modules faster, -# but it is usually not available soon enough for new major Python versions. -%bcond_without pythran - # The code is not safe to build with LTO %global _lto_cflags %{nil} @@ -30,7 +25,7 @@ Summary: Scientific Tools for Python Name: scipy Version: 1.11.3 -Release: 6%{?dist} +Release: 7%{?dist} # BSD-3-Clause -- whole package except: # BSD-2-Clause -- scipy/_lib/_pep440.py @@ -134,15 +129,13 @@ Scipy test files %prep %autosetup -p1 -n %{name}-%{version}%{?rcver} -# Remove pythran dependency if not explicitly required -%if %{without pythran} +# Remove pythran dependency sed -i '/pythran/d' pyproject.toml -%endif cat >> pyproject.toml << EOF [tool.meson-python.args] -setup = ['-Dblas=%{blaslib}%{blasvar}', '-Dlapack=%{blaslib}%{blasvar}'%{!?with_pythran:, '-Duse-pythran=false'}] +setup = ['-Dblas=%{blaslib}%{blasvar}', '-Dlapack=%{blaslib}%{blasvar}', '-Duse-pythran=false'] EOF # Enable build with Python 3.13+ @@ -298,6 +291,10 @@ popd %endif %changelog +* Fri Apr 26 2024 Pavel Simovec - 1.11.3-7 +- Fully remove pythran dependency +- Resolves: RHEL-33955 + * Tue Jan 30 2024 Miro HronĨok - 1.11.3-6 - Skip fewer tests during build