From 6f1744d30d47fe7a35cbe8f61909345f98a6e020 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 11 Mar 2025 08:11:19 +0000 Subject: [PATCH] import CS scipy-1.9.3-1.el9 --- .gitignore | 2 +- .scipy.metadata | 2 +- SPECS/scipy.spec | 27 +++++++++++++++++++++------ 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 22ec545..85f12c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/scipy-1.6.2.tar.gz +SOURCES/scipy-1.9.3.tar.gz diff --git a/.scipy.metadata b/.scipy.metadata index 44b9068..f27bc4b 100644 --- a/.scipy.metadata +++ b/.scipy.metadata @@ -1 +1 @@ -7ef8a684f9feb4fd24d35e87f9d1f69eb6ec793e SOURCES/scipy-1.6.2.tar.gz +55fb286ab1a0b66a7439c5cc76e3c80e9de409ec SOURCES/scipy-1.9.3.tar.gz diff --git a/SPECS/scipy.spec b/SPECS/scipy.spec index e5aa130..62b3637 100644 --- a/SPECS/scipy.spec +++ b/SPECS/scipy.spec @@ -14,8 +14,8 @@ Summary: Scientific Tools for Python Name: scipy -Version: 1.6.2 -Release: 8%{?dist} +Version: 1.9.3 +Release: 1%{?dist} # BSD -- whole package except: # Boost -- scipy/special/cephes/scipy_iv.c @@ -94,12 +94,11 @@ EOF # Docs won't build unless the .dat files are specified here sed -i 's/metadata = dict(/metadata = dict(package_data={"": ["*.dat"]},/' setup.py -# remove bundled numpydoc -rm doc/sphinxext -r - rm $(grep -rl '/\* Generated by Cython') PKG-INFO %build +export SCIPY_USE_PYTHRAN=0 + for PY in %{python3_version}; do # Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611 env CFLAGS="$RPM_OPT_FLAGS -lm" \ @@ -124,6 +123,8 @@ for PY in %{python3_version}; do done %install +export SCIPY_USE_PYTHRAN=0 + %py3_install # Some files got ambiguous python shebangs, we fix them after everything else is done pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch} @@ -133,7 +134,7 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch export FLEXIBLAS=netlib # default test timeout -TIMEOUT=500 +TIMEOUT=1000 %ifarch s390x # skip failing tests on s390x for now @@ -154,6 +155,16 @@ export PYTEST_ADDOPTS="-k '\ TIMEOUT=1000 %endif +%ifarch i686 +# skip failing tests on s390x for now +export PYTEST_ADDOPTS="-k '\ + not test_gh12218 and \ + not TestRBFInterpolatorNeighborsNone and\ + not TestRBFInterpolatorNeighborsInf and\ + not test_examples[False-double] and\ + not test_examples[True-single]'" +%endif + pushd %{buildroot}/%{python3_sitearch} %{pytest} --timeout=${TIMEOUT} scipy # Remove test remnants @@ -172,6 +183,10 @@ popd %endif %changelog +* Mon Oct 07 2024 Pavel Simovec - 1.9.3-1 +- Update to 1.9.3 +- Resolves: RHEL-5600 + * Mon Feb 21 2022 Tomas Orsava - 1.6.2-8 - Add gating configuration and a simple smoke test - Related: rhbz#1950291