Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-scipy for openSUSE:Factory checked in at 2025-02-04 18:10:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scipy" Tue Feb 4 18:10:44 2025 rev:78 rq:1242918 version:1.15.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2024-11-20 16:59:14.030959516 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2316/python-scipy.changes 2025-02-04 18:11:22.796683567 +0100 @@ -1,0 +2,33 @@ +Mon Feb 3 15:44:53 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Add test_hyp2fi-tolerance.patch to fix test failure on i586 + +------------------------------------------------------------------- +Fri Jan 31 12:07:07 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Update to 1.15.1 + * This release requires Python 3.10-3.13 and NumPy 1.23.5 or greater. + * Sparse arrays are now fully functional for 1-D and 2-D arrays. We recommend + that all new code use sparse arrays instead of sparse matrices and that + developers start to migrate their existing code from sparse matrix to sparse + array: migration_to_sparray. Both sparse.linalg and sparse.csgraph + work with either sparse matrix or sparse array and work internally with + sparse array. + * Sparse arrays now provide basic support for n-D arrays in the COO format + including add, subtract, reshape, transpose, matmul, + dot, tensordot and others. + * Preliminary support for free-threaded Python 3.13. + * New probability distribution features in scipy.stats can be used to improve + the speed and accuracy of existing continuous distributions and perform new + probability calculations. + * Several new features support vectorized calculations with Python Array API + Standard compatible input + * scipy.interpolate.AAA adds the AAA algorithm for barycentric rational + approximation of real or complex functions. + * scipy.special adds new functions offering improved Legendre function + implementations with a more consistent interface. +- Drop upstreamed patches: + * scipy-pr21063-gcc14.patch + * scipy-pybind11-2.13.patch + +------------------------------------------------------------------- Old: ---- scipy-1.14.1.tar.gz scipy-pr21063-gcc14.patch scipy-pybind11-2.13.patch New: ---- scipy-1.15.1.tar.gz test_hyp2fi-tolerance.patch BETA DEBUG BEGIN: Old:- Drop upstreamed patches: * scipy-pr21063-gcc14.patch * scipy-pybind11-2.13.patch Old: * scipy-pr21063-gcc14.patch * scipy-pybind11-2.13.patch BETA DEBUG END: BETA DEBUG BEGIN: New: - Add test_hyp2fi-tolerance.patch to fix test failure on i586 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scipy.spec ++++++ --- /var/tmp/diff_new_pack.D1LtKL/_old 2025-02-04 18:11:25.204782918 +0100 +++ /var/tmp/diff_new_pack.D1LtKL/_new 2025-02-04 18:11:25.208783083 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-scipy # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_13_1 +%define _ver 1_15_1 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -93,7 +93,7 @@ # TODO explore debundling Boost for standard and hpc Name: %{package_name} -Version: 1.14.1 +Version: 1.15.1 Release: 0 Summary: Scientific Tools for Python License: BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 @@ -101,15 +101,13 @@ Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz # Create with pooch: `python3 scipy-%%{version}/scipy/datasets/_download_all.py scipy-datasets/scipy-data; tar czf scipy-datasets.tar.gz scipy-datasets` Source1: scipy-datasets.tar.gz -# PATCH-FIX-UPSTREAM scipy-pr21063-gcc14.patch gh#scipy/scipy#21063 - MAINT: gcc-14 test_region5 tol bump -Patch0: https://github.com/scipy/scipy/pull/21063.patch#/scipy-pr21063-gcc14.patch -# PATCH-FIX-UPSTREAM scipy-pybind11-2.13.patch gh#scipy/scipy#21199 -- commit 1ea9f1dc0ac4e871b7a54a8f3b12a01ac7d5f3d7 -Patch1: scipy-pybind11-2.13.patch +# PATCH-FIX-UPSTREAM https://github.com/scipy/scipy/pull/22364 TST: bump tolerance on TestHyp2f1.test_region3[hyp2f1_test_case23] +Patch0: test_hyp2fi-tolerance.patch BuildRequires: %{python_module Cython >= 3.0.8 with %python-Cython < 3.1} -BuildRequires: %{python_module devel >= 3.9} -BuildRequires: %{python_module meson-python >= 0.15.0 with %python-meson-python < 0.18} +BuildRequires: %{python_module devel >= 3.10} +BuildRequires: %{python_module meson-python >= 0.15.0 with %python-meson-python < 0.20} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pybind11-devel >= 2.13.1 with %python-pybind11-devel < 2.14} +BuildRequires: %{python_module pybind11-devel >= 2.13.2 with %python-pybind11-devel < 2.14} # Upstream's pre-emptive pin to < 0.16 is not necessary BuildRequires: %{python_module pythran >= 0.14 with %python-pythran < 0.18} BuildRequires: fdupes @@ -127,7 +125,7 @@ BuildRequires: %{python_module threadpoolctl} %endif %if %{without hpc} -BuildRequires: %{python_module numpy-devel >= 1.23.5 with %python-numpy-devel < 2.3} +BuildRequires: %{python_module numpy-devel >= 1.23.5 with %python-numpy-devel < 2.5} %if 0%{?sle_version} && 0%{?sle_version} <= 150600 # The default gcc on SLE15 is gcc7 we need something newer BuildRequires: gcc10-c++ @@ -136,7 +134,7 @@ BuildRequires: gcc-c++ >= 8 BuildRequires: gcc-fortran >= 8 %endif -Requires: (python-numpy >= 1.22.4 with python-numpy < 2.3) +Requires: (python-numpy >= 1.23.5 with python-numpy < 2.5) Suggests: python-pooch %if %{with openblas} BuildRequires: openblas-devel @@ -177,8 +175,8 @@ %if !%{with openblas} # Edit the options file until we have a way to provide options to meson-python from command line or environment # https://github.com/mesonbuild/meson-python/issues/230 https://github.com/mesonbuild/meson-python/issues/235 -sed -i "s/option('blas', type: 'string', value: 'openblas'/option('blas', type: 'string', value: 'blas'/" meson_options.txt -sed -i "s/option('lapack', type: 'string', value: 'openblas'/option('lapack', type: 'string', value: 'lapack'/" meson_options.txt +sed -i "s/option('blas', type: 'string', value: 'openblas'/option('blas', type: 'string', value: 'blas'/" meson.options +sed -i "s/option('lapack', type: 'string', value: 'openblas'/option('lapack', type: 'string', value: 'lapack'/" meson.options %endif %if !%{with test} ++++++ scipy-1.14.1.tar.gz -> scipy-1.15.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.14.1.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.2316/scipy-1.15.1.tar.gz differ: char 5, line 1 ++++++ scipy-datasets.tar.gz ++++++ ++++++ test_hyp2fi-tolerance.patch ++++++ >From 7372d710ef6e97a3a9f3027efcf6b5b77bb33777 Mon Sep 17 00:00:00 2001 From: Jake Bowhay <60778417+j-bow...@users.noreply.github.com> Date: Sun, 19 Jan 2025 07:25:47 -0600 Subject: [PATCH] TST: bump tolerance on TestHyp2f1.test_region3[hyp2f1_test_case23] (#22364) --- scipy/special/tests/test_hyp2f1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipy/special/tests/test_hyp2f1.py b/scipy/special/tests/test_hyp2f1.py index aacf978e06dd..4321670e8291 100644 --- a/scipy/special/tests/test_hyp2f1.py +++ b/scipy/special/tests/test_hyp2f1.py @@ -1135,7 +1135,7 @@ def test_region2(self, hyp2f1_test_case): c=8.5, z=(0.7368421052631575+0.5263157894736841j), expected=(6.468457061368628+24.190040684917374j), - rtol=5e-16, + rtol=6e-16, ), ), pytest.param(