diff --git a/PROPACK.zip b/PROPACK.zip index 0da116873325d59a17d65898d9acd00d0f9a8d74..7e9201b1368dad7fb875347b982f1b94446ef89b 100644 Binary files a/PROPACK.zip and b/PROPACK.zip differ diff --git a/array-api-compat.zip b/array-api-compat.zip new file mode 100644 index 0000000000000000000000000000000000000000..b59ae6453773321097fa77bbe180058cd0100c71 Binary files /dev/null and b/array-api-compat.zip differ diff --git a/array-api-extra.zip b/array-api-extra.zip new file mode 100644 index 0000000000000000000000000000000000000000..4f2dd030edd273a431dcede16d8477ed0482f334 Binary files /dev/null and b/array-api-extra.zip differ diff --git a/array_api_compat.zip b/array_api_compat.zip deleted file mode 100644 index 23ccaaac2b8239ac521ca4d6925f930780c3fa8b..0000000000000000000000000000000000000000 Binary files a/array_api_compat.zip and /dev/null differ diff --git a/boost_math.zip b/boost_math.zip index 64a6febb2d9ea8da769408fb12084876a116c28d..6fcb4c18d61ef6d887e2355ad44ceb9061144940 100644 Binary files a/boost_math.zip and b/boost_math.zip differ diff --git a/cobyqa.zip b/cobyqa.zip new file mode 100644 index 0000000000000000000000000000000000000000..8d34c72112a59ea015e0b8446056bbd93020cea2 Binary files /dev/null and b/cobyqa.zip differ diff --git a/highs.zip b/highs.zip index 882487b1ecd76b39c8330e9c94b594ed5bdeb7da..b85ff3a84df297ed8df7ac1a885ef65dbde30a94 100644 Binary files a/highs.zip and b/highs.zip differ diff --git a/pocketfft.zip b/pocketfft.zip new file mode 100644 index 0000000000000000000000000000000000000000..abc40ad693c366dedcb435e3e0e22634d5a0e3fc Binary files /dev/null and b/pocketfft.zip differ diff --git a/scipy-1.12.0.tar.gz b/scipy-1.15.3.tar.gz similarity index 71% rename from scipy-1.12.0.tar.gz rename to scipy-1.15.3.tar.gz index d36cce138ed227e602cd18c72395b82aded33043..388ad9e9470f1e69c8e7d0ab298fddd4ad9c5ca4 100644 Binary files a/scipy-1.12.0.tar.gz and b/scipy-1.15.3.tar.gz differ diff --git a/scipy.spec b/scipy.spec index a957ea46a50ce488a3e2af9a698d50a367e136c8..1074b0b526b05952a6c94df74d189bfe300c2057 100644 --- a/scipy.spec +++ b/scipy.spec @@ -1,21 +1,28 @@ %global debug_package %{nil} Name: scipy -Version: 1.12.0 -Release: 2 +Version: 1.15.3 +Release: 1 Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering License: Qhull and Apache-2.0 URL: https://www.scipy.org -Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz -# https://github.com/data-apis/array-api-compat/archive/affd3a56927d3d1c178023121f43c9fa624eced0.zip -Source1: array_api_compat.zip -# https://github.com/boostorg/math/archive/6bfe5818acdf86432f3e1a78ec5e1d3cdb8c6480.zip -Source2: boost_math.zip -# https://github.com/scipy/HiGHS/archive/4a122958a82e67e725d08153e099efe4dad099a2.zip -Source3: highs.zip -# https://github.com/scipy/unuran/archive/1d315c690787b14781a12e0beca6d25cc75562d6.zip -Source4: unuran.zip -# https://github.com/scipy/PROPACK/archive/96f6800451372dd003e627bbfd732937ac0c685e.zip -Source5: PROPACK.zip +# https://github.com/scipy/scipy/archive/refs/tags/v1.15.3.tar.gz +Source0: scipy-%{version}.tar.gz +# https://github.com/data-apis/array-api-compat/archive/498f086568362002185b005a0a7f38ad136ca8bb.zip +Source1: array-api-compat.zip +# https://github.com/data-apis/array-api-extra/archive/8e1c8fa42df403231d65b3690e73098cfc52674a.zip +Source2: array-api-extra.zip +# https://github.com/boostorg/math/archive/260f7600e95dcf87b228d46a4a37cf594df5437b.zip +Source3: boost_math.zip +# https://github.com/cobyqa/cobyqa/archive/55c8e5a5d29ba5c873d87ad27bd9cffee94ae3df.zip +Source4: cobyqa.zip +# https://github.com/scipy/pocketfft/archive/9367142748fcc9696a1c9e5a99b76ed9897c9daa.zip +Source5: pocketfft.zip +# https://github.com/scipy/unuran/archive/21810c856880bb2f1b3071c8ac4aaf634983b338.zip +Source6: unuran.zip +# https://github.com/scipy/PROPACK/archive/8a6b20767d74fe560d616d51e83e35b01bce6861.zip +Source7: PROPACK.zip +# https://github.com/scipy/HiGHS/archive/222cce79a2bca866dbfbcd91b55da11336ae88f4.zip +Source8: highs.zip BuildRequires: python3-devel python3-numpy-f2py BuildRequires: gcc-c++ openblas-devel gcc-gfortran chrpath @@ -44,29 +51,34 @@ python3 package for scipy %prep %autosetup -n %{name}-%{version} -p1 -sed -i '/pythran/d' pyproject.toml +sed -i "/pythran/d" pyproject.toml -cat >> pyproject.toml << EOF - -[tool.meson-python.args] -setup = ['-Duse-pythran=false'] -EOF +sed -i "/tool.meson-python.args/a\setup = ['-Duse-pythran=false']" pyproject.toml unzip %{SOURCE1} unzip %{SOURCE2} unzip %{SOURCE3} unzip %{SOURCE4} unzip %{SOURCE5} -mv array-api-compat-affd3a56927d3d1c178023121f43c9fa624eced0/* scipy/_lib/array_api_compat/ -mv math-6bfe5818acdf86432f3e1a78ec5e1d3cdb8c6480/* scipy/_lib/boost_math/ -mv HiGHS-4a122958a82e67e725d08153e099efe4dad099a2/* scipy/_lib/highs/ -mv unuran-1d315c690787b14781a12e0beca6d25cc75562d6/* scipy/_lib/unuran/ -mv PROPACK-96f6800451372dd003e627bbfd732937ac0c685e/* scipy/sparse/linalg/_propack/PROPACK/ -rm -rf array-api-compat-affd3a56927d3d1c178023121f43c9fa624eced0 -rm -rf math-6bfe5818acdf86432f3e1a78ec5e1d3cdb8c6480 -rm -rf HiGHS-4a122958a82e67e725d08153e099efe4dad099a2 -rm -rf unuran-1d315c690787b14781a12e0beca6d25cc75562d6 -rm -rf PROPACK-96f6800451372dd003e627bbfd732937ac0c685e +unzip %{SOURCE6} +unzip %{SOURCE7} +unzip %{SOURCE8} +mv array-api-compat-498f086568362002185b005a0a7f38ad136ca8bb/* scipy/_lib/array_api_compat/ +mv array-api-extra-8e1c8fa42df403231d65b3690e73098cfc52674a/* scipy/_lib/array_api_extra/ +mv math-260f7600e95dcf87b228d46a4a37cf594df5437b/* scipy/_lib/boost_math/ +mv cobyqa-55c8e5a5d29ba5c873d87ad27bd9cffee94ae3df/* scipy/_lib/cobyqa/ +mv pocketfft-9367142748fcc9696a1c9e5a99b76ed9897c9daa/* scipy/_lib/pocketfft/ +mv unuran-21810c856880bb2f1b3071c8ac4aaf634983b338/* scipy/_lib/unuran/ +mv PROPACK-8a6b20767d74fe560d616d51e83e35b01bce6861/* scipy/sparse/linalg/_propack/PROPACK/ +mv HiGHS-222cce79a2bca866dbfbcd91b55da11336ae88f4/* subprojects/highs/ +rm -rf array-api-compat-498f086568362002185b005a0a7f38ad136ca8bb +rm -rf array-api-extra-8e1c8fa42df403231d65b3690e73098cfc52674a +rm -rf math-260f7600e95dcf87b228d46a4a37cf594df5437b +rm -rf cobyqa-55c8e5a5d29ba5c873d87ad27bd9cffee94ae3df +rm -rf pocketfft-9367142748fcc9696a1c9e5a99b76ed9897c9daa +rm -rf unuran-21810c856880bb2f1b3071c8ac4aaf634983b338 +rm -rf PROPACK-8a6b20767d74fe560d616d51e83e35b01bce6861 +rm -rf HiGHS-222cce79a2bca866dbfbcd91b55da11336ae88f4 rm -rf %{py3dir} cp -a . %{py3dir} @@ -113,6 +125,9 @@ echo "%{_libdir}/%{name}" >> $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.c %config(noreplace) /etc/ld.so.conf.d/* %changelog +* Thu Jul 03 2025 Liu Chao - 1.15.3-1 +- Upgrade to 1.15.3 because numpy upgrades to 2.3.0 + * Tue Jul 01 2025 wangxiao - 1.12.0-2 - delete macros in changelog diff --git a/unuran.zip b/unuran.zip index 7dfcf65f612198cd9585b1e454bf5f291f7630eb..e1753522827119240b1ebca6f2c85ac2991795f1 100644 Binary files a/unuran.zip and b/unuran.zip differ