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 2024-09-17 18:17:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scipy" Tue Sep 17 18:17:25 2024 rev:76 rq:1199463 version:1.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2024-07-17 15:14:54.773544359 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.29891/python-scipy.changes 2024-09-17 18:17:27.645155590 +0200 @@ -1,0 +2,13 @@ +Fri Sep 6 18:26:08 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Add scipy-pybind11-2.13.patch gh#scipy/scipy#21199 +- Rename 21063.patch to scipy-pr21063-gcc14.patch + +------------------------------------------------------------------- +Sat Aug 31 08:54:54 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to SciPy 1.14.1 + * Add support for Python 3.13 + * Bug-fix release with no new features compared to 1.14.0. + +------------------------------------------------------------------- Old: ---- 21063.patch scipy-1.14.0.tar.gz New: ---- scipy-1.14.1.tar.gz scipy-pr21063-gcc14.patch scipy-pybind11-2.13.patch BETA DEBUG BEGIN: Old:- Add scipy-pybind11-2.13.patch gh#scipy/scipy#21199 - Rename 21063.patch to scipy-pr21063-gcc14.patch BETA DEBUG END: BETA DEBUG BEGIN: New:- Add scipy-pybind11-2.13.patch gh#scipy/scipy#21199 - Rename 21063.patch to scipy-pr21063-gcc14.patch New: - Add scipy-pybind11-2.13.patch gh#scipy/scipy#21199 - Rename 21063.patch to scipy-pr21063-gcc14.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scipy.spec ++++++ --- /var/tmp/diff_new_pack.JuDnl3/_old 2024-09-17 18:17:29.913249549 +0200 +++ /var/tmp/diff_new_pack.JuDnl3/_new 2024-09-17 18:17:29.917249715 +0200 @@ -93,7 +93,7 @@ # TODO explore debundling Boost for standard and hpc Name: %{package_name} -Version: 1.14.0 +Version: 1.14.1 Release: 0 Summary: Scientific Tools for Python License: BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 @@ -101,13 +101,15 @@ 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 - MAINT: gcc-14 test_region5 tol bump -Patch: https://github.com/scipy/scipy/pull/21063.patch +# 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 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 pip} -BuildRequires: %{python_module pybind11-devel >= 2.12 with %python-pybind11-devel < 2.13} +BuildRequires: %{python_module pybind11-devel >= 2.13.1 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.17} BuildRequires: fdupes ++++++ scipy-1.14.0.tar.gz -> scipy-1.14.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.14.0.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.29891/scipy-1.14.1.tar.gz differ: char 5, line 1 ++++++ scipy-pr21063-gcc14.patch ++++++ >From c485c78ae3918ed26d4c1208e77b029a7f918f0d Mon Sep 17 00:00:00 2001 From: Tyler Reddy <tyler.je.re...@gmail.com> Date: Thu, 27 Jun 2024 09:56:23 -0600 Subject: [PATCH] MAINT: gcc-14 test_region5 tol bump * Fixes #21059 * A small tolerance bump in `TestHyp2f1.test_region5` needed for one its test cases to pass when compiling SciPy with gcc-14 series. [ci skip] [skip ci] --- 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 6c2f6ec103bf..adef4e2584c8 100644 --- a/scipy/special/tests/test_hyp2f1.py +++ b/scipy/special/tests/test_hyp2f1.py @@ -2093,7 +2093,7 @@ def test_region4(self, hyp2f1_test_case): c=-15.5, z=(0.3413793103448277-0.9482758620689655j), expected=(-1.0509834850116921-1.1145522325486075j), - rtol=1e-14, + rtol=1.1e-14, ), ), pytest.param( ++++++ scipy-pybind11-2.13.patch ++++++ >From 1ea9f1dc0ac4e871b7a54a8f3b12a01ac7d5f3d7 Mon Sep 17 00:00:00 2001 From: Ralf Gommers <ralf.gomm...@gmail.com> Date: Tue, 16 Jul 2024 17:49:38 +0200 Subject: [PATCH] BLD: bump minimum pybind11 version to 2.13.1, mark pypocketfft as safe without GIL --- pyproject.toml | 2 +- requirements/build.txt | 2 +- scipy/fft/_pocketfft/pypocketfft.cxx | 3 ++- scipy/meson.build | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) Index: scipy-1.14.1/requirements/build.txt =================================================================== --- scipy-1.14.1.orig/requirements/build.txt +++ scipy-1.14.1/requirements/build.txt @@ -2,7 +2,7 @@ # Do not edit this file; modify `pyproject.toml` instead and run `python tools/generate_requirements.py`. meson-python>=0.15.0 Cython>=3.0.8 -pybind11>=2.12.0 +pybind11>=2.13.1 pythran>=0.14.0 ninja numpy>=1.23.5 Index: scipy-1.14.1/scipy/fft/_pocketfft/pypocketfft.cxx =================================================================== --- scipy-1.14.1.orig/scipy/fft/_pocketfft/pypocketfft.cxx +++ scipy-1.14.1/scipy/fft/_pocketfft/pypocketfft.cxx @@ -12,6 +12,7 @@ * \author Peter Bell */ +// Note: do not reorder, pybind11.h must come first (it includes Python.h) #include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> @@ -756,7 +757,7 @@ out : int } // unnamed namespace -PYBIND11_MODULE(pypocketfft, m) +PYBIND11_MODULE(pypocketfft, m, py::mod_gil_not_used()) { using namespace pybind11::literals; Index: scipy-1.14.1/scipy/meson.build =================================================================== --- scipy-1.14.1.orig/scipy/meson.build +++ scipy-1.14.1/scipy/meson.build @@ -83,7 +83,7 @@ fortranobject_c = incdir_f2py / 'fortran npymath_path = _incdir_numpy_abs / '..' / 'lib' npymath_lib = cc.find_library('npymath', dirs: npymath_path) -pybind11_dep = dependency('pybind11', version: '>=2.12.0') +pybind11_dep = dependency('pybind11', version: '>=2.13.1') # Pythran include directory and build flags if use_pythran Index: scipy-1.14.1/pyproject.toml =================================================================== --- scipy-1.14.1.orig/pyproject.toml +++ scipy-1.14.1/pyproject.toml @@ -24,7 +24,7 @@ requires = [ # The upper bound on Cython is pre-emptive only "Cython>=3.0.8,<3.1.0", # when updating version, also update check in meson.build # The upper bound on pybind11 is pre-emptive only - "pybind11>=2.12.0,<2.13.0", # when updating version, also update check in scipy/meson.build + "pybind11>=2.13.1,<2.14.0", # when updating version, also update check in scipy/meson.build # The upper bound on pythran is pre-emptive only; 0.16.1 # is released/working at time of writing. "pythran>=0.14.0,<0.17.0",