commit python-scipy for openSUSE:Factory
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-07-17 15:14:20 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.17339 (New) Package is "python-scipy" Wed Jul 17 15:14:20 2024 rev:75 rq:1187907 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2024-07-03 20:29:46.891925885 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.17339/python-scipy.changes 2024-07-17 15:14:54.773544359 +0200 @@ -1,0 +2,5 @@ +Thu Jul 11 17:55:47 UTC 2024 - Ben Greiner + +- Fix hpc build: Provide f2py with correct shebang for build-time + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.3tk6to/_old 2024-07-17 15:14:55.725579223 +0200 +++ /var/tmp/diff_new_pack.3tk6to/_new 2024-07-17 15:14:55.729579369 +0200 @@ -189,11 +189,16 @@ %endif # makes sure that the cython and pythran commands from the correct flavor are in PATH %python_flavored_alternatives +origpath="$PATH" %{python_expand # %if %{with hpc} +export PATH=$origpath +mkdir build/hpcflavorbin py_ver=%{$python_version} %hpc_setup module load $python-numpy +ln -s %{_bindir}/f2py-%{$python_bin_suffix} build/hpcflavorbin/f2py +export PATH="$PWD/build/hpcflavorbin/:$PATH" %endif export CFLAGS="%{optflags} -fno-strict-aliasing" %{$python_pyproject_wheel}
commit python-scipy for openSUSE:Factory
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-07-03 20:29:17 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.18349 (New) Package is "python-scipy" Wed Jul 3 20:29:17 2024 rev:74 rq:1184871 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2024-05-29 19:35:37.523996432 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.18349/python-scipy.changes 2024-07-03 20:29:46.891925885 +0200 @@ -1,0 +2,208 @@ +Mon Jul 1 13:35:29 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.14.0 + ## Highlights of this release + * SciPy now supports the new Accelerate library introduced in macOS 13.3, and +has wheels built against Accelerate for macOS >=14 resulting in significant +performance improvements for many linear algebra operations. + * A new method, ``cobyqa``, has been added to `scipy.optimize.minimize` - this +is an interface for COBYQA (Constrained Optimization BY Quadratic +Approximations), a derivative-free optimization solver, designed to +supersede COBYLA, developed by the Department of Applied Mathematics, The +Hong Kong Polytechnic University. + * `scipy.sparse.linalg.spsolve_triangular` is now more than an order of +magnitude faster in many cases. + ## New features + # `scipy.fft` improvements + * A new function, `scipy.fft.prev_fast_len`, has been added. This function +finds the largest composite of FFT radices that is less than the target +length. It is useful for discarding a minimal number of samples before FFT. + #`scipy.io` improvements + * ``wavfile`` now supports reading and writing of ``wav`` files in the RF64 +format, allowing files greater than 4 GB in size to be handled. + #`scipy.constants` improvements + * Experimental support for the array API standard has been added. + #`scipy.interpolate` improvements + * `scipy.interpolate.Akima1DInterpolator` now supports extrapolation via the +``extrapolate`` argument. + #`scipy.optimize` improvements + * `scipy.optimize.HessianUpdateStrategy` now also accepts square arrays for +``init_scale``. + * A new method, ``cobyqa``, has been added to `scipy.optimize.minimize` - this +is an interface for COBYQA (Constrained Optimization BY Quadratic +Approximations), a derivative-free optimization solver, designed to +supersede COBYLA, developed by the Department of Applied Mathematics, The +Hong Kong Polytechnic University. + * There are some performance improvements in +`scipy.optimize.differential_evolution`. + * `scipy.optimize.approx_fprime` now has linear space complexity. + #`scipy.signal` improvements + * `scipy.signal.minimum_phase` has a new argument ``half``, allowing the +provision of a filter of the same length as the linear-phase FIR filter +coefficients and with the same magnitude spectrum. + #`scipy.sparse` improvements + * Sparse arrays now support 1D shapes in COO, DOK and CSR formats. +These are all the formats we currently intend to support 1D shapes. +Other sparse array formats raise an exception for 1D input. + * Sparse array methods min/nanmin/argmin and max analogs now return 1D arrays. +Results are still COO format sparse arrays for min/nanmin and +dense ``np.ndarray`` for argmin. + * Sparse matrix and array objects improve their ``repr`` and ``str`` output. + * A special case has been added to handle multiplying a ``dia_array`` by a +scalar, which avoids a potentially costly conversion to CSR format. + * `scipy.sparse.csgraph.yen` has been added, allowing usage of Yen's K-Shortest +Paths algorithm on a directed on undirected graph. + * Addition between DIA-format sparse arrays and matrices is now faster. + * `scipy.sparse.linalg.spsolve_triangular` is now more than an order of +magnitude faster in many cases. + #`scipy.spatial` improvements + * ``Rotation`` supports an alternative "scalar-first" convention of quaternion +component ordering. It is available via the keyword argument ``scalar_first`` +of ``from_quat`` and ``as_quat`` methods. + * Some minor performance improvements for inverting of ``Rotation`` objects. + #`scipy.special` improvements + * Added `scipy.special.log_wright_bessel`, for calculation of the logarithm of +Wright's Bessel function. + * The relative error in `scipy.special.hyp2f1` calculations has improved +substantially. + * Improved behavior of ``boxcox``, ``inv_boxcox``, ``boxcox1p``, and +``inv_boxcox1p`` by preventing premature overflow. + #`scipy.stats` improvements + * A new function `scipy.stats.power` can be used for simulating the power +of a hypothesis
commit python-scipy for openSUSE:Factory
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-04-30 17:25:49 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1880 (New) Package is "python-scipy" Tue Apr 30 17:25:49 2024 rev:70 rq:1170765 version:1.13.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2024-03-01 23:34:20.886730700 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1880/python-scipy.changes 2024-04-30 17:26:07.991494898 +0200 @@ -1,0 +2,138 @@ +Wed Apr 24 11:41:51 UTC 2024 - Ben Greiner + +- Skip another test out of numeric precision for 32-bit +- Fix HPC _version + +--- +Fri Apr 19 10:55:20 UTC 2024 - Ben Greiner + +- Update to 1.13.0 + ## Highlights of this release + * Support for NumPy 2.0.0. + * Interactive examples have been added to the documentation, +allowing users to run the examples locally on embedded +Jupyterlite notebooks in their browser. + * Preliminary 1D array support for the COO and DOK sparse +formats. + * Several scipy.stats functions have gained support for +additional axis, nan_policy, and keepdims arguments. +scipy.stats also has several performance and accuracy +improvements. + ## New features + * scipy.integrate improvements + * scipy.io improvements + * scipy.interpolate improvements + * scipy.signal improvements + * scipy.sparse improvements + * scipy.spatial improvements + * scipy.special improvements + * scipy.stats improvements + ## Deprecated features + * Complex dtypes in PchipInterpolator and Akima1DInterpolator +have been deprecated and will raise an error in SciPy 1.15.0. +If you are trying to use the real components of the passed +array, use np.real on y. + ## Other changes + * The second argument of scipy.stats.moment has been renamed to +order while maintaining backward compatibility. +- Release 1.12.0 + ## Highlights of this release + * Experimental support for the array API standard has been added +to part of scipy.special, and to all of scipy.fft and +scipy.cluster. There are likely to be bugs and early feedback +for usage with CuPy arrays, PyTorch tensors, and other array +API compatible libraries is appreciated. Use the +SCIPY_ARRAY_API environment variable for testing. + * A new class, ShortTimeFFT, provides a more versatile +implementation of the short-time Fourier transform (STFT), its +inverse (ISTFT) as well as the (cross-) spectrogram. It +utilizes an improved algorithm for calculating the ISTFT. + * Several new constructors have been added for sparse arrays, and +many operations now additionally support sparse arrays, further +facilitating the migration from sparse matrices. + * A large portion of the scipy.stats API now has improved support +for handling NaN values, masked arrays, and more fine-grained +shape-handling. The accuracy and performance of a number of +stats methods have been improved, and a number of new +statistical tests and distributions have been added. + ## New features + * scipy.cluster improvements + * scipy.fft improvements + * scipy.integrate improvements + * scipy.interpolate improvements + * scipy.linalg improvements + * scipy.ndimage improvements + * scipy.optimize improvements + * scipy.signal improvements + * scipy.sparse improvements + * scipy.spatial improvements + * scipy.special improvements + * scipy.stats improvements + ## Deprecated features + * Error messages have been made clearer for objects that donât +exist in the public namespace and warnings sharpened for +private attributes that are not supposed to be imported at all. + * scipy.signal.cmplx_sort has been deprecated and will be removed +in SciPy 1.15. A replacement you can use is provided in the +deprecation message. + * Values the argument initial of +scipy.integrate.cumulative_trapezoid other than 0 and None are +now deprecated. + * scipy.stats.rvs_ratio_uniforms is deprecated in favour of +scipy.stats.sampling.RatioUniforms + * scipy.integrate.quadrature and scipy.integrate.romberg have +been deprecated due to accuracy issues and interface +shortcomings. They will be removed in SciPy 1.15. Please use +scipy.integrate.quad instead. + * Coinciding with upcoming changes to function signatures (e.g. +removal of a deprecated keyword), we are deprecating positional +use of keyword arguments for the affected functions, which will +raise an error starting with SciPy 1.14. In some cases, this +has delayed the originally announced removal date, to give time +to respond to the
commit python-scipy for openSUSE:Factory
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 2023-10-11 23:53:38 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1807 (New) Package is "python-scipy" Wed Oct 11 23:53:38 2023 rev:66 rq:1116438 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2023-08-06 16:29:20.283611737 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1807/python-scipy.changes 2023-10-12 11:55:44.294551743 +0200 @@ -1,0 +2,5 @@ +Mon Oct 9 06:52:54 UTC 2023 - ecsos + +- Let it build for Leap 15.6 also. + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.yIe8bJ/_old 2023-10-12 11:55:45.054579134 +0200 +++ /var/tmp/diff_new_pack.yIe8bJ/_new 2023-10-12 11:55:45.054579134 +0200 @@ -126,7 +126,7 @@ %endif %if %{without hpc} BuildRequires: %{python_module numpy-devel >= 1.18.5} -%if 0%{?sle_version} && 0%{?sle_version} <= 150500 +%if 0%{?sle_version} && 0%{?sle_version} <= 150600 # The default gcc on SLE15 is gcc7 we need something newer BuildRequires: gcc10-c++ BuildRequires: gcc10-fortran @@ -182,7 +182,7 @@ %if !%{with test} %build -%if 0%{?sle_version} && 0%{?sle_version} <= 150500 +%if 0%{?sle_version} && 0%{?sle_version} <= 150600 # We need gcc >= 8 for SLE15 export CC=gcc-10 export CXX=g++-10
commit python-scipy for openSUSE:Factory
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 2023-08-06 16:29:16 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.22712 (New) Package is "python-scipy" Sun Aug 6 16:29:16 2023 rev:65 rq:1101324 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2023-07-05 15:30:34.850573704 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.22712/python-scipy.changes 2023-08-06 16:29:20.283611737 +0200 @@ -1,0 +2,20 @@ +Thu Jul 27 13:31:24 UTC 2023 - Markéta Machová + +- Add upstream intc.patch to fix gh#scipy/scipy#18603 + +--- +Tue Jul 25 10:04:04 UTC 2023 - Markéta Machová + +- Update to 1.11.1 + * Several scipy.sparse array API improvements, including sparse.sparray, +a new public base class distinct from the older sparse.spmatrix class, +proper 64-bit index support, and numerous deprecations paving the way +to a modern sparse array experience. + * scipy.stats added tools for survival analysis, multiple hypothesis +testing, sensitivity analysis, and working with censored data. + * A new function was added for quasi-Monte Carlo integration, and linear +algebra functions det and lu now accept nD-arrays. + * An axes argument was added broadly to ndimage functions, facilitating +analysis of stacked image data. + +--- Old: scipy-1.10.1.tar.gz New: intc.patch scipy-1.11.1.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.07KTdX/_old 2023-08-06 16:29:22.127623548 +0200 +++ /var/tmp/diff_new_pack.07KTdX/_new 2023-08-06 16:29:22.135623599 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_10_1 +%define _ver 1_11_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.10.1 +Version:1.11.1 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 @@ -102,6 +102,8 @@ 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 https://github.com/scipy/scipy/commit/8501b7c2fb8a7121aeef94489ece988043c463d0 BUG: sparse.linalg: Cast index arrays to intc before calling SuperLU functions +Patch: intc.patch BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module meson-python >= 0.9.0} @@ -262,6 +264,7 @@ donttest+=" or (test_rotation and test_align_vectors_single_vector)" donttest+=" or (test_lobpcg and test_tolerance_float32)" donttest+=" or (test_iterative and test_maxiter_worsening)" +donttest+=" or (test_resampling and test_bootstrap_alternative)" %ifarch %ix86 donttest+=" or (test_solvers and test_solve_generalized_discrete_are)" # Skip the following tests that fail with GCC 13 due to the excess precision change: ++ intc.patch ++ >From 8501b7c2fb8a7121aeef94489ece988043c463d0 Mon Sep 17 00:00:00 2001 From: CJ Carey Date: Sun, 2 Jul 2023 16:29:22 -0400 Subject: [PATCH] BUG: sparse.linalg: Cast index arrays to intc before calling SuperLU functions (#18644) * BUG: sparse.linalg: Cast to intc before SuperLU - Co-authored-by: Stefan van der Walt Co-authored-by: Dan Schult --- scipy/sparse/linalg/_dsolve/linsolve.py | 27 +++-- .../linalg/_dsolve/tests/test_linsolve.py | 38 ++- 2 files changed, 44 insertions(+), 21 deletions(-) diff --git a/scipy/sparse/linalg/_dsolve/linsolve.py b/scipy/sparse/linalg/_dsolve/linsolve.py index 0c408f737266..78ba447bcd44 100644 --- a/scipy/sparse/linalg/_dsolve/linsolve.py +++ b/scipy/sparse/linalg/_dsolve/linsolve.py @@ -123,6 +123,21 @@ def _get_umf_family(A): return family, A_new +def _safe_downcast_indices(A): +# check for safe downcasting +max_value = np.iinfo(np.intc).max + +if A.indptr[-1] > max_value: # indptr[-1] is max b/c indptr always sorted +raise ValueError("indptr values too large for SuperLU") + +if max(*A.shape) > max_value: # only
commit python-scipy for openSUSE:Factory
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 2023-07-05 15:30:32 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.23466 (New) Package is "python-scipy" Wed Jul 5 15:30:32 2023 rev:64 rq:1096504 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2023-03-11 18:24:35.139051224 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.23466/python-scipy.changes 2023-07-05 15:30:34.850573704 +0200 @@ -1,0 +2,6 @@ +Thu Jun 29 07:21:08 UTC 2023 - Andreas Schneider + +- Use sle15_python_module_pythons +- Require GCC >= 8 + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.CcETdq/_old 2023-07-05 15:30:35.966580326 +0200 +++ /var/tmp/diff_new_pack.CcETdq/_new 2023-07-05 15:30:35.974580373 +0200 @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} %define _ver 1_10_1 %define shortname scipy @@ -123,8 +124,14 @@ %endif %if %{without hpc} BuildRequires: %{python_module numpy-devel >= 1.18.5} -BuildRequires: gcc-c++ -BuildRequires: gcc-fortran +%if 0%{?sle_version} && 0%{?sle_version} <= 150500 +# The default gcc on SLE15 is gcc7 we need something newer +BuildRequires: gcc10-c++ +BuildRequires: gcc10-fortran +%else +BuildRequires: gcc-c++ >= 8 +BuildRequires: gcc-fortran >= 8 +%endif Requires: python-numpy >= 1.18.5 Requires: python-pybind11 >= 2.4.3 Suggests: python-pooch @@ -173,6 +180,12 @@ %if !%{with test} %build +%if 0%{?sle_version} && 0%{?sle_version} <= 150500 +# We need gcc >= 8 for SLE15 +export CC=gcc-10 +export CXX=g++-10 +export FC=gfortran-10 +%endif # makes sure that the cython and pythran commands from the correct flavor are in PATH %python_flavored_alternatives %{python_expand #
commit python-scipy for openSUSE:Factory
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 2023-03-11 18:23:47 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.31432 (New) Package is "python-scipy" Sat Mar 11 18:23:47 2023 rev:63 rq:1070755 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2023-02-27 12:54:56.351264503 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.31432/python-scipy.changes 2023-03-11 18:24:35.139051224 +0100 @@ -1,0 +2,6 @@ +Fri Mar 10 14:18:09 UTC 2023 - Martin Liška + +- Fix i686 tests for GCC 13 due to: + https://gcc.gnu.org/gcc-13/porting_to.html#excess-precision + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.88JGXW/_old 2023-03-11 18:24:35.779054560 +0100 +++ /var/tmp/diff_new_pack.88JGXW/_new 2023-03-11 18:24:35.783054580 +0100 @@ -251,6 +251,9 @@ donttest+=" or (test_iterative and test_maxiter_worsening)" %ifarch %ix86 donttest+=" or (test_solvers and test_solve_generalized_discrete_are)" +# Skip the following tests that fail with GCC 13 due to the excess precision change: +# https://gcc.gnu.org/gcc-13/porting_to.html#excess-precision +donttest+=" or (test_fitpack or test_fitpack2 or test_splint or test_integrate or test_boost)" %endif # fails on big endian donttest+=" or (TestNoData and test_nodata)"
commit python-scipy for openSUSE:Factory
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 2023-02-27 12:54:54 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.31432 (New) Package is "python-scipy" Mon Feb 27 12:54:54 2023 rev:62 rq:1067788 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2023-01-28 20:07:52.461947736 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.31432/python-scipy.changes 2023-02-27 12:54:56.351264503 +0100 @@ -1,0 +2,7 @@ +Sun Feb 26 00:27:35 UTC 2023 - Ben Greiner + +- Update to 1.10.1 + * bug-fix release with no new features compared to 1.10.0 +- Drop scipy-pr17717-ro-interpn.patch + +--- Old: scipy-1.10.0.tar.gz scipy-pr17717-ro-interpn.patch New: scipy-1.10.1.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.F6LGfA/_old 2023-02-27 12:54:57.671272600 +0100 +++ /var/tmp/diff_new_pack.F6LGfA/_new 2023-02-27 12:54:57.679272649 +0100 @@ -17,7 +17,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_10_0 +%define _ver 1_10_1 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -92,7 +92,7 @@ # TODO explore debundling Boost for standard and hpc Name: %{package_name} -Version:1.10.0 +Version:1.10.1 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 @@ -101,8 +101,6 @@ 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-pr17717-ro-interpn.patch gh#scipy/scipy#17717 -Patch0: https://github.com/scipy/scipy/pull/17717.patch#/scipy-pr17717-ro-interpn.patch BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module meson-python >= 0.9.0} ++ scipy-1.10.0.tar.gz -> scipy-1.10.1.tar.gz ++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.10.0.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.31432/scipy-1.10.1.tar.gz differ: char 5, line 1
commit python-scipy for openSUSE:Factory
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 2023-01-28 19:59:45 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.32243 (New) Package is "python-scipy" Sat Jan 28 19:59:45 2023 rev:61 rq:1059146 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-12-25 15:14:43.197327919 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.32243/python-scipy.changes 2023-01-28 20:07:52.461947736 +0100 @@ -1,0 +2,30 @@ +Mon Jan 16 22:06:27 UTC 2023 - Ben Greiner + +- Highlights of the 1.10.0 release + * A new dedicated datasets submodule (scipy.datasets) has been +added, and is now preferred over usage of scipy.misc for +dataset retrieval. + * A new scipy.interpolate.make_smoothing_spline function was +added. This function constructs a smoothing cubic spline from +noisy data, using the generalized cross-validation (GCV) +criterion to find the tradeoff between smoothness and proximity +to data points. + * scipy.stats has three new distributions, two new hypothesis +tests, three new sample statistics, a class for greater control +over calculations involving covariance matrices, and many other +enhancements. +- Add scipy-pr17717-ro-interpn.patch gh#scipy/scipy#17717 + * Fixes gh#spacetelescope/gwcs#433 +- Provide scipy-datasets.tar.gz for pooch cache and tests without + needing to download during test time. + +--- +Wed Jan 11 07:35:47 UTC 2023 - Guillaume GARDET + +- Update to version 1.10.0 +- Drop upstream pacthes: + * fix-tests.patch + * fix-tests-pytest72.patch + * scipy-pr17467-no-np.int0.patch + +--- Old: fix-tests-pytest72.patch fix-tests.patch scipy-1.9.3.tar.gz scipy-pr17467-no-np.int0.patch New: scipy-1.10.0.tar.gz scipy-datasets.tar.gz scipy-pr17717-ro-interpn.patch Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.4CVZqH/_old 2023-01-28 20:07:53.87790 +0100 +++ /var/tmp/diff_new_pack.4CVZqH/_new 2023-01-28 20:07:53.881955572 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_9_3 +%define _ver 1_10_0 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -92,19 +92,17 @@ # TODO explore debundling Boost for standard and hpc Name: %{package_name} -Version:1.9.3 +Version:1.10.0 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 Group: Development/Libraries/Python URL:https://www.scipy.org Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz -# PATCH-FIX-UPSTREAM gh#scipy/scipy#16926#issuecomment-1287507634 -Patch1: fix-tests.patch -# PATCH-FIX-UPSTREAM fix-tests-pytest72.patch gh#scipy/scipy#17296 -Patch2: fix-tests-pytest72.patch -# PATCH-FIX-UPSTREAM scipy-pr17467-no-np.int0.patch gh#scipy/scipy#17467 -Patch3: scipy-pr17467-no-np.int0.patch +# 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-pr17717-ro-interpn.patch gh#scipy/scipy#17717 +Patch0: https://github.com/scipy/scipy/pull/17717.patch#/scipy-pr17717-ro-interpn.patch BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module meson-python >= 0.9.0} @@ -118,6 +116,7 @@ BuildRequires: pkg-config BuildRequires: python-rpm-macros >= 20220911 %if %{with test} +BuildRequires: %{python_module pooch} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} @@ -130,6 +129,7 @@ BuildRequires: gcc-fortran Requires: python-numpy >= 1.18.5 Requires: python-pybind11 >= 2.4.3 +Suggests: python-pooch %if %{with openblas} BuildRequires: openblas-devel %else @@ -157,8 +157,9 @@ %{?with_hpc:%{hpc_python_master_package -L -a }} %prep -%autosetup -p1 -n scipy-%{version}
commit python-scipy for openSUSE:Factory
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 2022-12-25 15:14:31 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1563 (New) Package is "python-scipy" Sun Dec 25 15:14:31 2022 rev:60 rq:1045131 version:1.9.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-12-10 21:18:02.369630568 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1563/python-scipy.changes 2022-12-25 15:14:43.197327919 +0100 @@ -1,0 +2,7 @@ +Fri Dec 23 16:37:30 UTC 2022 - Ben Greiner + +- Add scipy-pr17467-no-np.int0.patch gh#scipy/scipy#17467 +- Move the flavored packaganame definition so that quilt does not + fail + +--- New: scipy-pr17467-no-np.int0.patch Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.sYDfqi/_old 2022-12-25 15:14:44.11103 +0100 +++ /var/tmp/diff_new_pack.sYDfqi/_new 2022-12-25 15:14:44.117333126 +0100 @@ -42,7 +42,9 @@ %if "%{flavor}" == "test" %bcond_with hpc %bcond_without test +%define package_name %{pname}-test %else +%define package_name %{pname} %bcond_with test %endif @@ -60,11 +62,6 @@ %{?with_hpc:%{hpc_requires}} %bcond_with ringdisabled %if %{without hpc} -%if "%{flavor}" == "" -%define package_name %{pname} -%else -%define package_name %{pname}-%{flavor} -%endif # for file section %define p_python_sitearch %{python_sitearch} # for inside python_expand @@ -106,6 +103,8 @@ Patch1: fix-tests.patch # PATCH-FIX-UPSTREAM fix-tests-pytest72.patch gh#scipy/scipy#17296 Patch2: fix-tests-pytest72.patch +# PATCH-FIX-UPSTREAM scipy-pr17467-no-np.int0.patch gh#scipy/scipy#17467 +Patch3: scipy-pr17467-no-np.int0.patch BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module meson-python >= 0.9.0} @@ -269,6 +268,11 @@ donttest+=" or (test_distributions and TestLevyStable and nolan_samples and pct_range0-alpha_range0-beta_range0)" donttest+=" or (test_distributions and TestLevyStable and test_location_scale and pdf)" donttest+=" or (test_data and test_boost and (betainc or btdtr))" +donttest+=" or (test_mstats_basic and test_skewtest_2D_WithMask)" +%endif +%ifarch %ix86 +# illegal instruction (?) +donttest+=" or (test_fftlog and test_fht_identity)" %endif %ifarch %arm donttest+=" or (test_cython_api and eval_sh_chebyt)" ++ scipy-pr17467-no-np.int0.patch ++ >From da3ff893b9ac161938e11f9bcd5380e09cf03150 Mon Sep 17 00:00:00 2001 From: warren Date: Wed, 23 Nov 2022 16:27:51 -0500 Subject: [PATCH] BUG: ndimage: Don't use np.int0 (it is the same as np.intp) --- scipy/ndimage/_measurements.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: scipy-1.9.3/scipy/ndimage/_measurements.py === --- scipy-1.9.3.orig/scipy/ndimage/_measurements.py +++ scipy-1.9.3/scipy/ndimage/_measurements.py @@ -1524,8 +1524,7 @@ def watershed_ift(input, markers, struct if input.shape != markers.shape: raise RuntimeError('input and markers must have equal shape') -integral_types = [numpy.int0, - numpy.int8, +integral_types = [numpy.int8, numpy.int16, numpy.int32, numpy.int_,
commit python-scipy for openSUSE:Factory
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 2022-12-10 21:17:44 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1835 (New) Package is "python-scipy" Sat Dec 10 21:17:44 2022 rev:59 rq:1041891 version:1.9.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-12-08 16:50:18.551213987 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1835/python-scipy.changes 2022-12-10 21:18:02.369630568 +0100 @@ -1,0 +2,9 @@ +Thu Dec 8 17:07:18 UTC 2022 - Dominique Leuenberger + +- Ensure the test flavor has a different source name than the main + flavor: OBS uses the source names to create the dep-chain. With + the test package having the same name as the mani flavor, all + builds behind python-scipy are blocked until the test suite + passed. + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.7dLRi6/_old 2022-12-10 21:18:03.641638006 +0100 +++ /var/tmp/diff_new_pack.7dLRi6/_new 2022-12-10 21:18:03.645638029 +0100 @@ -60,7 +60,11 @@ %{?with_hpc:%{hpc_requires}} %bcond_with ringdisabled %if %{without hpc} +%if "%{flavor}" == "" %define package_name %{pname} +%else +%define package_name %{pname}-%{flavor} +%endif # for file section %define p_python_sitearch %{python_sitearch} # for inside python_expand
commit python-scipy for openSUSE:Factory
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 2022-12-08 16:50:15 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1835 (New) Package is "python-scipy" Thu Dec 8 16:50:15 2022 rev:58 rq:1040954 version:1.9.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-12-03 10:03:33.547214490 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1835/python-scipy.changes 2022-12-08 16:50:18.551213987 +0100 @@ -1,0 +2,6 @@ +Wed Dec 7 11:11:11 UTC 2022 - Daniel Garcia + +- Add fix-tests-pytest72.patch to fix the tests that fails with pytest 7 + gh#scipy/scipy#17296 + +--- New: fix-tests-pytest72.patch Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.yTYXwc/_old 2022-12-08 16:50:19.311217875 +0100 +++ /var/tmp/diff_new_pack.yTYXwc/_new 2022-12-08 16:50:19.315217896 +0100 @@ -100,6 +100,8 @@ Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz # PATCH-FIX-UPSTREAM gh#scipy/scipy#16926#issuecomment-1287507634 Patch1: fix-tests.patch +# PATCH-FIX-UPSTREAM fix-tests-pytest72.patch gh#scipy/scipy#17296 +Patch2: fix-tests-pytest72.patch BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module meson-python >= 0.9.0} ++ fix-tests-pytest72.patch ++ diff --git a/scipy/_lib/tests/test_bunch.py b/scipy/_lib/tests/test_bunch.py index 6525568b099..1af6f2d5fab 100644 --- a/scipy/_lib/tests/test_bunch.py +++ b/scipy/_lib/tests/test_bunch.py @@ -16,7 +16,7 @@ class TestMakeTupleBunch: # Tests with Result # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -def setup(self): +def setup_method(self): # Set up an instance of Result. self.result = Result(x=1, y=2, z=3, w=99, beta=0.5) diff --git a/scipy/optimize/tests/test_minpack.py b/scipy/optimize/tests/test_minpack.py index c88095351c6..64aafbb63b9 100644 --- a/scipy/optimize/tests/test_minpack.py +++ b/scipy/optimize/tests/test_minpack.py @@ -203,10 +203,12 @@ def deriv_func(*args): assert_array_almost_equal(final_flows, np.ones(4)) def test_concurrent_no_gradient(self): -return sequence_parallel([self.test_pressure_network_no_gradient] * 10) +v = sequence_parallel([self.test_pressure_network_no_gradient] * 10) +assert all([result is None for result in v]) def test_concurrent_with_gradient(self): -return sequence_parallel([self.test_pressure_network_with_gradient] * 10) +v = sequence_parallel([self.test_pressure_network_with_gradient] * 10) +assert all([result is None for result in v]) class TestRootHybr: @@ -386,10 +388,12 @@ def deriv_func(*args): assert_array_almost_equal(params_fit, self.abc, decimal=2) def test_concurrent_no_gradient(self): -return sequence_parallel([self.test_basic] * 10) +v = sequence_parallel([self.test_basic] * 10) +assert all([result is None for result in v]) def test_concurrent_with_gradient(self): -return sequence_parallel([self.test_basic_with_gradient] * 10) +v = sequence_parallel([self.test_basic_with_gradient] * 10) +assert all([result is None for result in v]) def test_func_input_output_length_check(self): diff --git a/scipy/stats/tests/test_hypotests.py b/scipy/stats/tests/test_hypotests.py index 129b3fffc67..e5780df6572 100644 --- a/scipy/stats/tests/test_hypotests.py +++ b/scipy/stats/tests/test_hypotests.py @@ -169,7 +169,7 @@ def test_callable_cdf(self): class TestMannWhitneyU: -def setup(self): +def setup_method(self): _mwu_state._recursive = True # All magic numbers are from R wilcox.test unless otherwise specied @@ -616,15 +616,15 @@ def test_gh_2118(self, x, y, alternative, expected): method="asymptotic") assert_allclose(res, expected, rtol=1e-12) -def teardown(self): +def teardown_method(self): _mwu_state._recursive = None class TestMannWhitneyU_iterative(TestMannWhitneyU): -def setup(self): +def setup_method(self): _mwu_state._recursive = False -def teardown(self): +def teardown_method(self): _mwu_state._recursive = None
commit python-scipy for openSUSE:Factory
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 2022-12-03 10:03:27 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1835 (New) Package is "python-scipy" Sat Dec 3 10:03:27 2022 rev:57 rq:1039620 version:1.9.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-10-27 13:53:20.972315680 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1835/python-scipy.changes 2022-12-03 10:03:33.547214490 +0100 @@ -1,0 +2,5 @@ +Fri Dec 2 11:56:35 UTC 2022 - Daniel Garcia + +- Add fix-tests.patch gh#scipy/scipy#16926#issuecomment-1287507634 + +--- New: fix-tests.patch Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.bVejz8/_old 2022-12-03 10:03:34.295218647 +0100 +++ /var/tmp/diff_new_pack.bVejz8/_new 2022-12-03 10:03:34.307218714 +0100 @@ -98,6 +98,8 @@ Group: Development/Libraries/Python URL:https://www.scipy.org Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gh#scipy/scipy#16926#issuecomment-1287507634 +Patch1: fix-tests.patch BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module meson-python >= 0.9.0} ++ fix-tests.patch ++ Index: scipy-1.9.3/scipy/sparse/linalg/_eigen/tests/test_svds.py === --- scipy-1.9.3.orig/scipy/sparse/linalg/_eigen/tests/test_svds.py +++ scipy-1.9.3/scipy/sparse/linalg/_eigen/tests/test_svds.py @@ -786,11 +786,15 @@ class SVDSCommonTests: @pytest.mark.filterwarnings("ignore:The problem size") @pytest.mark.parametrize("dtype", (float, complex, np.float32)) def test_small_sigma2(self, dtype): -if not has_propack: -pytest.skip("PROPACK not enabled") -# https://github.com/scipy/scipy/issues/11406 -if dtype == complex and self.solver == 'propack': -pytest.skip("PROPACK unsupported for complex dtype") +if self.solver == 'propack': +if not has_propack: +pytest.skip("PROPACK not enabled") +elif dtype == np.float32: +pytest.skip("Test failures in CI, see gh-17004") +elif dtype == complex: +# https://github.com/scipy/scipy/issues/11406 +pytest.skip("PROPACK unsupported for complex dtype") + rng = np.random.default_rng(179847540) # create a 10x10 singular matrix with a 4-dim null space dim = 4 Index: scipy-1.9.3/scipy/linalg/tests/test_solvers.py === --- scipy-1.9.3.orig/scipy/linalg/tests/test_solvers.py +++ scipy-1.9.3/scipy/linalg/tests/test_solvers.py @@ -474,7 +474,7 @@ def test_solve_discrete_are(): np.array([[0], [1]]), np.eye(2), np.array([[1]]), - None), +"Presumed issue with OpenBLAS, see gh-16926"), # TEST CASE 16 : darex #13 (np.array([[16, 10, -2], [10, 13, -8], @@ -617,7 +617,7 @@ def test_solve_generalized_discrete_are( [7.093648e-01, 6.797027e-01, 1.189977e-01], [7.546867e-01, 6.550980e-01, 4.983641e-01]]), np.ones((3, 2)), - None), +"Presumed issue with OpenBLAS, see gh-16926"), # user-reported (under PR-6616) 20-Jan-2017 # tests against the case where E is None but S is provided (mat20170120['A'],
commit python-scipy for openSUSE:Factory
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 2022-10-27 13:53:06 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2275 (New) Package is "python-scipy" Thu Oct 27 13:53:06 2022 rev:56 rq:1030333 version:1.9.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-10-18 12:44:02.277592334 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2275/python-scipy.changes 2022-10-27 13:53:20.972315680 +0200 @@ -1,0 +2,49 @@ +Thu Oct 20 15:05:16 UTC 2022 - Ben Greiner + +- Update to version 1.9.3 + * SciPy 1.9.3 is a bug-fix release with no new features compared +to 1.9.2. + * #3691: scipy.interpolate.UnivariateSpline segfault + * #5286: BUG: multivariate_normal returns a pdf for values +outside its??? + * #6551: BUG: stats: inconsistency in docs and behavior of gmean +and hmean + * #9245: running +scipy.interpolate.tests.test_fitpack::test_bisplev_integer_overflow??? + * #12471: test_bisplev_integer_overflow: Segmentation fault (core +dumped) + * #13321: Bug: setting iprint=0 hides all output from +fmin_l_bfgs_b, but??? + * #13730: `scipy.stats.mood` does not correct for ties + * #14019: ks_2samp throws `RuntimeWarning: overflow encountered +in double_scalars` + * #14589: `shgo` error since scipy 1.8.0.dev0+1529.803e52d + * #14591: Input data validation for RectSphereBivariateSpline + * #15101: BUG: binom.pmf - RuntimeWarning: divide by zero + * #15342: BUG: scipy.optimize.minimize: Powell???s method function +evaluated??? + * #15964: BUG: lombscargle fails if argument is a view + * #16211: BUG: Possible bug when using winsorize on pandas data +instead??? + * #16459: BUG: stats.ttest_ind returns wrong p-values with +permutations + * #16500: odr.Model default meta value fails with __getattr__ + * #16519: BUG: Error in error message for incorrect sample +dimension in??? + * #16527: BUG: dimension of isuppz in syevr is mistranslated + * #16600: BUG: `KDTree`???s optional argument `eps` seems to have +no??? + * #16656: dtype not preserved with operations on sparse arrays + * #16751: BUG: `stats.fit` on `boltzmann` expects `bound` for +`lambda`,??? + * #17012: BUG: Small oversight in sparse.linalg.lsmr? + * #17020: BUG: Build failure due to problems with shebang line in +cythoner.py + * #17088: BUG: stats.rayleigh.fit: returns `loc` that is +inconsistent??? + * #17104: BUG? Incorrect branch in `LAMV` / `_specfunc.lamv` + * #17196: DOC: keepdims in stats.mode is incorrectly documented +- Move multibuild flavor ":standard" to unflavored build +- Test in parallel (pytest-xdist) + +--- Old: scipy-1.9.2.tar.gz New: scipy-1.9.3.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.cPYXpt/_old 2022-10-27 13:53:22.744324719 +0200 +++ /var/tmp/diff_new_pack.cPYXpt/_new 2022-10-27 13:53:22.748324740 +0200 @@ -17,12 +17,12 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_9_2 +%define _ver 1_9_3 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') -%if "%{flavor}" == "standard" +%if "%{flavor}" == "" %bcond_with hpc %ifarch armv6l s390 s390x m68k %bcond_with openblas @@ -91,7 +91,7 @@ # TODO explore debundling Boost for standard and hpc Name: %{package_name} -Version:1.9.2 +Version:1.9.3 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 @@ -110,10 +110,9 @@ BuildRequires: meson >= 0.62.2 BuildRequires: pkg-config BuildRequires: python-rpm-macros >= 20220911 -%if "%{flavor}" == "" -ExclusiveArch: do_not_build -%endif %if %{with test} +BuildRequires: %{python_module pytest-timeout} +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy = %{version}} BuildRequires: %{python_module threadpoolctl} @@ -152,7 +151,7 @@ %prep %autosetup -p1 -n scipy-%{version} -find . -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \; +sed -i '1{/env python/d}' scipy/sparse/linalg/_isolve/tests/test_gcrotmk.py %ifarch i586 # Limit double floating point precision for x87, triggered by GCC 12. @@ -248,11 +247,11 @@ donttest+=" or (TestBSR and test_scalar_idx_dtype)" # error while getting entropy donttest+=" or (test_cont_basic and 500-200-ncf-arg74)" +#
commit python-scipy for openSUSE:Factory
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 2022-10-18 12:44:01 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2275 (New) Package is "python-scipy" Tue Oct 18 12:44:01 2022 rev:55 rq:1009894 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-10-11 18:03:51.365920527 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2275/python-scipy.changes 2022-10-18 12:44:02.277592334 +0200 @@ -1,0 +2,7 @@ +Tue Oct 11 08:36:20 UTC 2022 - Ben Greiner + +- Update to version 1.9.2 + * SciPy 1.9.2 is a bug-fix release with no new features compared +to 1.9.1. + +--- Old: scipy-1.9.1.tar.gz New: scipy-1.9.2.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.RGNwun/_old 2022-10-18 12:44:03.273594601 +0200 +++ /var/tmp/diff_new_pack.RGNwun/_new 2022-10-18 12:44:03.277594610 +0200 @@ -17,7 +17,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_9_1 +%define _ver 1_9_2 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -91,16 +91,16 @@ # TODO explore debundling Boost for standard and hpc Name: %{package_name} -Version:1.9.1 +Version:1.9.2 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 Group: Development/Libraries/Python URL:https://www.scipy.org Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz -BuildRequires: %{python_module Cython >= 0.29.21} +BuildRequires: %{python_module Cython >= 0.29.32} BuildRequires: %{python_module devel >= 3.8} -BuildRequires: %{python_module meson-python >= 0.8.1} +BuildRequires: %{python_module meson-python >= 0.9.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module pybind11 >= 2.4.3} BuildRequires: %{python_module pybind11-devel >= 2.4.3} @@ -261,6 +261,7 @@ donttest+=" or (test_discrete_basic and test_rv_sample)" donttest+=" or (test_distributions and TestLevyStable and nolan_samples and pct_range0-alpha_range0-beta_range0)" donttest+=" or (test_distributions and TestLevyStable and test_location_scale and pdf)" +donttest+=" or (test_data and test_boost and (betainc or btdtr))" %endif %ifarch %arm donttest+=" or (test_cython_api and eval_sh_chebyt)" ++ scipy-1.9.1.tar.gz -> scipy-1.9.2.tar.gz ++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.9.1.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.2275/scipy-1.9.2.tar.gz differ: char 5, line 1
commit python-scipy for openSUSE:Factory
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 2022-10-11 18:01:23 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2275 (New) Package is "python-scipy" Tue Oct 11 18:01:23 2022 rev:54 rq:1007747 version:1.9.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-08-04 13:23:25.416491876 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2275/python-scipy.changes 2022-10-11 18:03:51.365920527 +0200 @@ -1,0 +2,24 @@ +Sat Sep 10 23:43:22 UTC 2022 - Ben Greiner + +- Update to version 1.9.1 + * SciPy 1.9.1 is a bug-fix release with no new features compared +to 1.9.0. Notably, some important meson build fixes are +included. +- Release 1.9.0 + * Full changelog at +https://docs.scipy.org/doc/scipy/release.1.9.0.html +- Highlights of the 1.9.0 release: + * We have modernized our build system to use meson, +substantially improving our build performance, and providing +better build-time configuration and cross-compilation support, + * Added scipy.optimize.milp, new function for mixed-integer +linear programming, + * Added scipy.stats.fit for fitting discrete and continuous +distributions to data, + * Tensor-product spline interpolation modes were added to +scipy.interpolate.RegularGridInterpolator, + * A new global optimizer (DIviding RECTangles algorithm) +scipy.optimize.direct. +- Switch to meson-python PEP517 build + +--- Old: python-scipy-rpmlintrc scipy-1.8.1.tar.gz New: scipy-1.9.1.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.MHOCEH/_old 2022-10-11 18:03:52.333922092 +0200 +++ /var/tmp/diff_new_pack.MHOCEH/_new 2022-10-11 18:03:52.337922099 +0200 @@ -17,7 +17,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_8_0 +%define _ver 1_9_1 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -90,27 +90,26 @@ # TODO explore debundling Boost for standard and hpc -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 - Name: %{package_name} -Version:1.8.1 +Version:1.9.1 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 Group: Development/Libraries/Python URL:https://www.scipy.org Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz -Source100: python-scipy-rpmlintrc -BuildRequires: %{python_module Cython >= 0.29.18} +BuildRequires: %{python_module Cython >= 0.29.21} BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module meson-python >= 0.8.1} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pybind11 >= 2.4.3} BuildRequires: %{python_module pybind11-devel >= 2.4.3} -BuildRequires: %{python_module pythran >= 0.10.0} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pythran >= 0.9.12} +BuildRequires: %{python_module wheel} BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: swig +BuildRequires: meson >= 0.62.2 +BuildRequires: pkg-config +BuildRequires: python-rpm-macros >= 20220911 %if "%{flavor}" == "" ExclusiveArch: do_not_build %endif @@ -120,10 +119,10 @@ BuildRequires: %{python_module threadpoolctl} %endif %if %{without hpc} -BuildRequires: %{python_module numpy-devel >= 1.17.3} +BuildRequires: %{python_module numpy-devel >= 1.18.5} BuildRequires: gcc-c++ BuildRequires: gcc-fortran -Requires: python-numpy >= 1.17.3 +Requires: python-numpy >= 1.18.5 Requires: python-pybind11 >= 2.4.3 %if %{with openblas} BuildRequires: openblas-devel @@ -138,7 +137,7 @@ BuildRequires: lua-lmod BuildRequires: suse-hpc >= 0.3 Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc -Requires: python-numpy%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc >= 1.17.3 +Requires: python-numpy%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc >= 1.18.5 %endif %python_subpackages @@ -154,31 +153,31 @@ %prep %autosetup -p1 -n scipy-%{version} find . -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \; -echo 'ignore:.*The distutils.* is deprecated.*:DeprecationWarning' >> pytest.ini %ifarch i586 # Limit double floating point precision for x87, triggered by GCC 12. %global optflags %(echo "%{optflags} -ffloat-store")
commit python-scipy for openSUSE:Factory
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 2022-08-04 13:23:12 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1521 (New) Package is "python-scipy" Thu Aug 4 13:23:12 2022 rev:53 rq:990111 version:1.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-05-24 20:31:12.826911207 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1521/python-scipy.changes 2022-08-04 13:23:25.416491876 +0200 @@ -1,0 +2,5 @@ +Mon Jul 18 15:23:43 UTC 2022 - Ben Greiner + +- Keep lowercase egg-info despite setuptools 60+ + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.z0WOwR/_old 2022-08-04 13:23:26.216494145 +0200 +++ /var/tmp/diff_new_pack.z0WOwR/_new 2022-08-04 13:23:26.220494156 +0200 @@ -61,14 +61,20 @@ %bcond_with ringdisabled %if %{without hpc} %define package_name %{pname} +# for file section %define p_python_sitearch %{python_sitearch} +# for inside python_expand +%define p_python_sitearch_expand %{$python_sitearch} %define p_prefix %{_prefix} %define p_bindir %{_bindir} %else %{!?compiler_family:%global compiler_family gnu} %{hpc_init -c %{compiler_family} %{?c_f_ver:-v %{c_f_ver}} %{?ext:-e %{ext}}} %define package_name %{hpc_package_name %{_ver}} +# for file section %define p_python_sitearch %{hpc_python_sitearch} +# for inside python_expand +%define p_python_sitearch_expand $($python -c "import sysconfig as s; print(s.get_paths(vars={'platbase':'%{hpc_prefix}','base':'%{hpc_prefix}'}).get('platlib'))") %define p_prefix %{hpc_prefix} %define p_bindir %{hpc_bindir} # Magic for OBS Staging. Only build the flavors required by @@ -181,16 +187,21 @@ %hpc_setup module load $python-numpy %endif +# Note: SciPy 1.9 will switch to Meson and support for numpy.distutils will be removed in 1.10 $python setup.py install --prefix=%{p_prefix} --root=%{buildroot} -%fdupes %{buildroot}%{$python_sitearch} +# Setuptools 60+ unexpectedly writes the egg-info in CamelCase, +# upstream published dist-info is lowercase; keep lowercase until above mentioned switch happens. +if [ -d %{buildroot}%{p_python_sitearch_expand}/SciPy-%{version}-py%{$python_bin_suffix}.egg-info ]; then + mv %{buildroot}%{p_python_sitearch_expand}/SciPy-%{version}-py%{$python_bin_suffix}.egg-info \ + %{buildroot}%{p_python_sitearch_expand}/scipy-%{version}-py%{$python_bin_suffix}.egg-info +fi +%fdupes %{buildroot}%{p_python_sitearch_expand} } %if %{with hpc} %define hpc_module_pname ${python_flavor}-%{shortname} %{python_expand # -python_flavor=$(cat _current_flavor) -sitesearch_path=`$python -c "import sysconfig as s; print(s.get_paths(vars={'platbase':'%{hpc_prefix}','base':'%{hpc_prefix}'}).get('platlib'))"` -rm -rf %{buildroot}${sitesearch_path}/scipy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests +rm -rf %{buildroot}%{p_python_sitearch_expand}/scipy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests %hpc_write_modules_files #%%Module1.0# @@ -261,7 +272,7 @@ %files %{python_files} %license LICENSE.txt %{p_python_sitearch}/scipy/ -%{p_python_sitearch}/scipy-*-py*.egg-info +%{p_python_sitearch}/scipy-%{version}*-info %if %{with hpc} %define hpc_module_pname %{python_flavor}-scipy
commit python-scipy for openSUSE:Factory
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 2022-05-24 20:30:57 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2254 (New) Package is "python-scipy" Tue May 24 20:30:57 2022 rev:52 rq:978687 version:1.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-05-04 15:10:16.520107445 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2254/python-scipy.changes 2022-05-24 20:31:12.826911207 +0200 @@ -1,0 +2,6 @@ +Sat May 21 08:12:51 UTC 2022 - andy great + +- Update to version 1.8.1. + * Bug-fix release with no new features. + +--- Old: scipy-1.8.0.tar.gz New: scipy-1.8.1.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.aZDXTR/_old 2022-05-24 20:31:14.490912693 +0200 +++ /var/tmp/diff_new_pack.aZDXTR/_new 2022-05-24 20:31:14.494912696 +0200 @@ -88,7 +88,7 @@ %define skip_python2 1 Name: %{package_name} -Version:1.8.0 +Version:1.8.1 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 ++ scipy-1.8.0.tar.gz -> scipy-1.8.1.tar.gz ++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.8.0.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.2254/scipy-1.8.1.tar.gz differ: char 5, line 1
commit python-scipy for openSUSE:Factory
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 2022-05-04 15:10:16 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1538 (New) Package is "python-scipy" Wed May 4 15:10:16 2022 rev:51 rq:969712 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-04-02 18:20:45.338130243 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1538/python-scipy.changes 2022-05-04 15:10:16.520107445 +0200 @@ -1,0 +2,13 @@ +Tue Apr 12 12:20:43 UTC 2022 - Martin Li??ka + +- With the previously added -ffloat-store, some tests that fail on i586. + Disable them. + +--- +Tue Apr 12 06:36:01 UTC 2022 - Martin Li??ka + +- Limit double floating point precision for x87, triggered by GCC 12. + Fixes test_kolmogorov.py Fatal Python error: Floating point exception + which is a double floating-point test. + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.ftgzTa/_old 2022-05-04 15:10:17.500108650 +0200 +++ /var/tmp/diff_new_pack.ftgzTa/_new 2022-05-04 15:10:17.508108660 +0200 @@ -150,6 +150,11 @@ find . -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \; echo 'ignore:.*The distutils.* is deprecated.*:DeprecationWarning' >> pytest.ini +%ifarch i586 +# Limit double floating point precision for x87, triggered by GCC 12. +%global optflags %(echo "%{optflags} -ffloat-store") +%endif + %if !%{with test} %build %{python_expand # @@ -235,6 +240,13 @@ donttest+=" or (TestBSR and test_scalar_idx_dtype)" # error while getting entropy donttest+=" or (test_cont_basic and 500-200-ncf-arg74)" +# fails on i586 +%ifarch i586 +donttest+=" or (test_linprog and test_bug_6690)" +donttest+=" or (test_hausdorff and test_brute_force_comparison_forward)" +donttest+=" or (test_hausdorff and test_2d_data_forward)" +donttest+=" or (test_iterative and test_x0_equals_Mb)" +%endif %python_exec runtests.py -vv --no-build -m fast -- -k "not ($donttest)" # prevent failing debuginfo extraction because we did not create anything for testing touch debugsourcefiles.list
commit python-scipy for openSUSE:Factory
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 2022-04-02 18:20:32 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1900 (New) Package is "python-scipy" Sat Apr 2 18:20:32 2022 rev:50 rq:965742 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2022-02-03 23:16:39.368543282 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1900/python-scipy.changes 2022-04-02 18:20:45.338130243 +0200 @@ -1,0 +2,41 @@ +Mon Mar 28 18:16:15 UTC 2022 - Ben Greiner + +- Update to version 1.8.0 + * https://scipy.github.io/devdocs/release.1.8.0.html + * SciPy 1.8.0 is the culmination of 6 months of hard work. It +contains many new features, numerous bug-fixes, improved test +coverage and better documentation. There have been a number of +deprecations and API changes in this release. All users are +encouraged to upgrade to this release, as there are a large +number of bug-fixes and optimizations. Before upgrading, we +recommend that users check that their own code does not use +deprecated SciPy functionality (to do so, run your code with +python -Wd and check for `DeprecationWarning`s). + * A sparse array API has been added for early testing and +feedback; this work is ongoing, and users should expect minor +API refinements over the next few releases. + * The sparse SVD library PROPACK is now vendored with SciPy, and +an interface is exposed via scipy.sparse.svds with +solver='PROPACK'. It is currently default-off due to potential +issues on Windows that we aim to resolve in the next release, +but can be optionally enabled at runtime for friendly testing +with an environment variable setting of USE_PROPACK=1. + * A new scipy.stats.sampling submodule that leverages the UNU.RAN +C library to sample from arbitrary univariate non-uniform +continuous and discrete distributions + * All namespaces that were private but happened to miss +underscores in their names have been deprecated. + * Backwards incompatible changes +- SciPy has raised the minimum compiler versions to GCC 6.3 on + linux and VS2019 on windows. In particular, this means that + SciPy may now use C99 and C++14 features. For more details + see here. +- The result for empty bins for scipy.stats.binned_statistic + with the builtin 'std' metric is now nan, for consistency + with np.std. +- The function scipy.spatial.distance.wminkowski has been + removed. To achieve the same results as before, please use + the minkowski distance function with the (optional) w= + keyword-argument for the given weight. + +--- Old: scipy-1.7.3.tar.gz New: scipy-1.8.0.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.lvWHLX/_old 2022-04-02 18:20:46.830113496 +0200 +++ /var/tmp/diff_new_pack.lvWHLX/_new 2022-04-02 18:20:46.834113451 +0200 @@ -17,7 +17,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_7_3 +%define _ver 1_8_0 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -88,7 +88,7 @@ %define skip_python2 1 Name: %{package_name} -Version:1.7.3 +Version:1.8.0 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 @@ -97,10 +97,10 @@ Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz Source100: python-scipy-rpmlintrc BuildRequires: %{python_module Cython >= 0.29.18} -BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pybind11 >= 2.4.3} BuildRequires: %{python_module pybind11-devel >= 2.4.3} -BuildRequires: %{python_module pythran} +BuildRequires: %{python_module pythran >= 0.10.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -111,12 +111,13 @@ %if %{with test} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy = %{version}} +BuildRequires: %{python_module threadpoolctl} %endif %if %{without hpc} -BuildRequires: %{python_module numpy-devel >= 1.16.5} +BuildRequires: %{python_module numpy-devel >= 1.17.3} BuildRequires: gcc-c++ BuildRequires: gcc-fortran -Requires: python-numpy >= 1.16.5 +Requires: python-numpy >= 1.17.3 Requires:
commit python-scipy for openSUSE:Factory
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 2022-02-03 23:16:10 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1898 (New) Package is "python-scipy" Thu Feb 3 23:16:10 2022 rev:49 rq:950300 version:1.7.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2021-07-28 19:19:44.803658607 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1898/python-scipy.changes 2022-02-03 23:16:39.368543282 +0100 @@ -1,0 +2,31 @@ +Sat Jan 29 20:44:30 UTC 2022 - Ben Greiner + +- Provide empty debuginfo extraction for :test flavor + +--- +Sun Jan 23 17:52:38 UTC 2022 - Ben Greiner + +- Update to version 1.7.3 + * 3rd bugfix release since 1.7.0 +- Highlights from the 1.7.0 release + * A new submodule for quasi-Monte Carlo, scipy.stats.qmc, was +added + * The documentation design was updated to use the same +PyData-Sphinx theme as NumPy and other ecosystem libraries. + * We now vendor and leverage the Boost C++ library to enable +numerous improvements for long-standing weaknesses in +scipy.stats + * scipy.stats has six new distributions, eight new (or +overhauled) hypothesis tests, a new function for bootstrapping, +a class that enables fast random variate sampling and +percentile point function evaluation, and many other +enhancements. + * cdist and pdist distance calculations are faster for several +metrics, especially weighted cases, thanks to a rewrite to a +new C++ backend framework + * A new class for radial basis function interpolation, +RBFInterpolator, was added to address issues with the Rbf +class. +- Enable fast part of the test suite + +--- Old: scipy-1.6.3.tar.gz New: scipy-1.7.3.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.LzHf3N/_old 2022-02-03 23:16:41.840526409 +0100 +++ /var/tmp/diff_new_pack.LzHf3N/_new 2022-02-03 23:16:41.848526354 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_6_0 +%define _ver 1_7_3 %define shortname scipy %define pname python-%{shortname} %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') -%{?!python_module:%define python_module() python-%{**} python3-%{**}} + %if "%{flavor}" == "standard" %bcond_with hpc %ifarch armv6l s390 s390x m68k @@ -38,6 +38,14 @@ %endif %endif %endif + +%if "%{flavor}" == "test" +%bcond_with hpc +%bcond_without test +%else +%bcond_with test +%endif + %if "%{flavor}" == "gnu-hpc" %define compiler_family gnu %bcond_without hpc @@ -48,9 +56,7 @@ %define c_f_ver 7 %bcond_without hpc %endif -%define skip_python2 1 -# https://numpy.org/neps/nep-0029-deprecation_policy.html -%define skip_python36 1 + %{?with_hpc:%{hpc_requires}} %bcond_with ringdisabled %if %{without hpc} @@ -75,11 +81,17 @@ %endif %{hpc_modules_init openblas} %endif + +# TODO explore debundling Boost for standard and hpc + +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 + Name: %{package_name} -Version:1.6.3 +Version:1.7.3 Release:0 Summary:Scientific Tools for Python -License:BSD-3-Clause AND LGPL-2.0-or-later +License:BSD-3-Clause AND LGPL-2.0-or-later AND BSL-1.0 Group: Development/Libraries/Python URL:https://www.scipy.org Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz @@ -88,6 +100,7 @@ BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module pybind11 >= 2.4.3} BuildRequires: %{python_module pybind11-devel >= 2.4.3} +BuildRequires: %{python_module pythran} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -95,6 +108,10 @@ %if "%{flavor}" == "" ExclusiveArch: do_not_build %endif +%if %{with test} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module scipy = %{version}} +%endif %if %{without hpc} BuildRequires: %{python_module numpy-devel >= 1.16.5} BuildRequires: gcc-c++ @@ -128,9 +145,11 @@ %{?with_hpc:%{hpc_python_master_package -L -a }} %prep -%setup -q -n
commit python-scipy for openSUSE:Factory
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 2021-07-28 19:19:29 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.1899 (New) Package is "python-scipy" Wed Jul 28 19:19:29 2021 rev:48 rq:908547 version:1.6.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2021-05-05 20:39:42.654990940 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.1899/python-scipy.changes 2021-07-28 19:19:44.803658607 +0200 @@ -1,0 +2,5 @@ +Mon Jul 26 14:37:33 UTC 2021 - Andreas Schwab + +- Enable openblas on riscv64 + +--- Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.kG6qKj/_old 2021-07-28 19:19:45.423657793 +0200 +++ /var/tmp/diff_new_pack.kG6qKj/_new 2021-07-28 19:19:45.427657788 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-scipy +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -24,7 +24,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %if "%{flavor}" == "standard" %bcond_with hpc - %ifarch armv6l s390 s390x m68k riscv64 + %ifarch armv6l s390 s390x m68k %bcond_with openblas %else %if 0%{?sle_version} == 120200 @@ -70,7 +70,7 @@ %if %{with ringdisabled} ExclusiveArch: do_not_build %endif - %ifarch armv6l s390 s390x m68k riscv64 i586 + %ifarch armv6l s390 s390x m68k i586 ExclusiveArch: do_not_build %endif %{hpc_modules_init openblas}
commit python-scipy for openSUSE:Factory
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 2021-05-05 20:39:39 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2988 (New) Package is "python-scipy" Wed May 5 20:39:39 2021 rev:47 rq:890051 version:1.6.3 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2021-04-08 21:03:15.709971683 +0200 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2988/python-scipy.changes 2021-05-05 20:39:42.654990940 +0200 @@ -1,0 +2,18 @@ +Mon May 3 01:31:43 UTC 2021 - Arun Persaud + +- update to version 1.6.3: + * Issues closed ++ #13772: Divide by zero in distance.yule ++ #13796: CI: prerelease_deps failures ++ #13890: TST: spatial rotation failure in (1.6.3) wheels repo + (ARM64) + * Pull requests ++ #13755: CI: fix the matplotlib warning emitted during builing + docs ++ #13773: BUG: Divide by zero in yule dissimilarity of constant + vectors ++ #13799: CI/MAINT: deprecated np.typeDict ++ #13819: substitute np.math.factorial with math.factorial ++ #13895: TST: add random seeds in Rotation module + +--- Old: scipy-1.6.2.tar.gz New: scipy-1.6.3.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.hIAhPw/_old 2021-05-05 20:39:43.798986030 +0200 +++ /var/tmp/diff_new_pack.hIAhPw/_new 2021-05-05 20:39:43.802986013 +0200 @@ -76,7 +76,7 @@ %{hpc_modules_init openblas} %endif Name: %{package_name} -Version:1.6.2 +Version:1.6.3 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later ++ scipy-1.6.2.tar.gz -> scipy-1.6.3.tar.gz ++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.6.2.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.2988/scipy-1.6.3.tar.gz differ: char 5, line 1
commit python-scipy for openSUSE:Factory
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 2021-04-08 21:03:06 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2401 (New) Package is "python-scipy" Thu Apr 8 21:03:06 2021 rev:46 rq:883202 version:1.6.2 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2021-03-17 20:14:29.606869612 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2401/python-scipy.changes 2021-04-08 21:03:15.709971683 +0200 @@ -1,0 +2,18 @@ +Sun Apr 4 16:40:00 UTC 2021 - Arun Persaud + +- update to version 1.6.2: + * Issues closed for 1.6.2 ++ #13512: `stats.gaussian_kde.evaluate` broken on S390X ++ #13584: rotation._compute_euler_from_matrix() creates an array + with negative... ++ #13585: Behavior change in coo_matrix when dtype=None ++ #13686: delta0 argument of scipy.odr.ODR() ignored + * Pull requests for 1.6.2 ++ #12862: REL: put upper bounds on versions of dependencies ++ #13575: BUG: fix `gaussian_kernel_estimate` on S390X ++ #13586: BUG: sparse: Create a utility function `getdata` ++ #13598: MAINT, BUG: enforce contiguous layout for output array + in Rotation.as_euler ++ #13687: BUG: fix scipy.odr to consider given delta0 argument + +--- Old: scipy-1.6.1.tar.gz New: scipy-1.6.2.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.9f5Olj/_old 2021-04-08 21:03:17.261973359 +0200 +++ /var/tmp/diff_new_pack.9f5Olj/_new 2021-04-08 21:03:17.261973359 +0200 @@ -76,7 +76,7 @@ %{hpc_modules_init openblas} %endif Name: %{package_name} -Version:1.6.1 +Version:1.6.2 Release:0 Summary:Scientific Tools for Python License:BSD-3-Clause AND LGPL-2.0-or-later ++ scipy-1.6.1.tar.gz -> scipy-1.6.2.tar.gz ++ /work/SRC/openSUSE:Factory/python-scipy/scipy-1.6.1.tar.gz /work/SRC/openSUSE:Factory/.python-scipy.new.2401/scipy-1.6.2.tar.gz differ: char 5, line 1
commit python-scipy for openSUSE:Factory
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 2021-03-17 20:13:52 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.2401 (New) Package is "python-scipy" Wed Mar 17 20:13:52 2021 rev:45 rq:879292 version:1.6.1 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2021-02-10 21:29:49.826236127 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.2401/python-scipy.changes 2021-03-17 20:14:29.606869612 +0100 @@ -1,0 +2,61 @@ +Wed Mar 3 19:09:30 UTC 2021 - Arun Persaud + +- update to version 1.6.1: + * Issues closed ++ #13072: BLD: Quadpack undefined references ++ #13241: Not enough values to unpack when passing tuple to + `blocksize`... ++ #13329: Large sparse matrices of big integers lose information ++ #13342: fftn crashes if shape arguments are supplied as ndarrays ++ #13356: LSQBivariateSpline segmentation fault when quitting the + Python... ++ #13358: scipy.spatial.transform.Rotation object can not be + deepcopied... ++ #13408: Type of `has_sorted_indices` property ++ #13412: Sorting spherical Voronoi vertices leads to crash in + area calculation ++ #13421: linear_sum_assignment - support for matrices with more + than 2^31... ++ #13428: `stats.exponnorm.cdf` returns `nan` for small values of + `K`... ++ #13465: KDTree.count_neighbors : 0xC005 error for tuple of + different... ++ #13468: directed_hausdorff issue with shuffle ++ #13472: Failures on FutureWarnings with numpy 1.20.0 for + lfilter, sosfilt... ++ #13565: BUG: 32-bit wheels repo test failure in optimize + * Pull requests ++ #13318: REL: prepare for SciPy 1.6.1 ++ #13344: BUG: fftpack doesn't work with ndarray shape argument ++ #13345: MAINT: Replace scipy.take with numpy.take in FFT + function docstrings. ++ #13354: BUG: optimize: rename private functions to include + leading underscore ++ #13387: BUG: Support big-endian platforms and big-endian WAVs ++ #13394: BUG: Fix Python crash by allocating larger array in + LSQBivariateSpline ++ #13400: BUG: sparse: Better validation for BSR ctor ++ #13403: BUG: sparse: Propagate dtype through CSR/CSC + constructors ++ #13414: BUG: maintain dtype of SphericalVoronoi regions ++ #13422: FIX: optimize: use npy_intp to store array dims for lsap ++ #13425: BUG: spatial: make Rotation picklable ++ #13426: BUG: `has_sorted_indices` and `has_canonical_format` + should... ++ #13430: BUG: stats: Fix exponnorm.cdf and exponnorm.sf for small + K ++ #13470: MAINT: silence warning generated by + `spatial.directed_hausdorff` ++ #13473: TST: fix failures due to new FutureWarnings in NumPy + 1.21.dev0 ++ #13479: MAINT: update directed_hausdorff Cython code ++ #13485: BUG: KDTree weighted count_neighbors doesn't work + between two... ++ #13503: TST: fix `test_fortranfile_read_mixed_record` on + big-endian... ++ #13518: DOC: document that pip >= 20.3.3 is needed for macOS 11 ++ #13520: BLD: update reqs based on oldest-supported-numpy in + pyproject.toml ++ #13567: TST, BUG: adjust tol on test_equivalence + +--- Old: scipy-1.6.0.tar.gz New: scipy-1.6.1.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.TCz884/_old 2021-03-17 20:15:07.634921592 +0100 +++ /var/tmp/diff_new_pack.TCz884/_new 2021-03-17 20:15:07.634921592 +0100 @@ -17,22 +17,12 @@ %global flavor @BUILD_FLAVOR@%{nil} - %define _ver 1_6_0 %define shortname scipy %define pname python-%{shortname} - -%bcond_with ringdisabled - %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') - -%if "%flavor" == "" -ExclusiveArch: do_not_build -%endif - %{?!python_module:%define python_module() python-%{**} python3-%{**}} - -%if "%flavor" == "standard" +%if "%{flavor}" == "standard" %bcond_with hpc %ifarch armv6l s390 s390x m68k riscv64 %bcond_with openblas @@ -48,25 +38,33 @@ %endif %endif %endif - -%if "%flavor" == "gnu-hpc" - %bcond_without hpc +%if "%{flavor}" == "gnu-hpc" %define compiler_family gnu + %bcond_without hpc %undefine c_f_ver %endif - -%if "%flavor" == "gnu7-hpc" - %bcond_without hpc +%if "%{flavor}" == "gnu7-hpc" %define compiler_family gnu %define c_f_ver 7 + %bcond_without hpc %endif - +%define skip_python2 1 +# https://numpy.org/neps/nep-0029-deprecation_policy.html +%define
commit python-scipy for openSUSE:Factory
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 2021-02-10 21:29:48 Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.28504 (New) Package is "python-scipy" Wed Feb 10 21:29:48 2021 rev:44 rq:863807 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2020-12-23 14:19:52.209644699 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.28504/python-scipy.changes 2021-02-10 21:29:49.826236127 +0100 @@ -1,0 +2,54 @@ +Sat Jan 16 17:14:26 UTC 2021 - Benjamin Greiner + +- NEP 29: Last minorversion bump deprecated Python 3.6 + https://numpy.org/neps/nep-0029-deprecation_policy.html +- Fix hpc setup for coinstallable python3 flavors, needs + gh#openSUSE/hpc#3 + +--- +Tue Jan 5 07:57:30 UTC 2021 - Paolo Stivanin + +- Update to 1.6.0: + * scipy.ndimage improvements: Fixes and ehancements to boundary extension +modes for interpolation functions. Support for complex-valued inputs +in many filtering and interpolation functions. New grid_mode option +for scipy.ndimage.zoom to enable results consistent with scikit-image???s rescale. + * scipy.optimize.linprog has fast, new methods for large, sparse +problems from the HiGHS library. + * scipy.stats improvements including new distributions, a new test, +and enhancements to existing distributions and tests + * scipy.special now has improved support for 64-bit LAPACK backend + * scipy.odr now has support for 64-bit integer BLAS + * scipy.odr.ODR has gained an optional overwrite argument so that +existing files may be overwritten. + * scipy.cluster.hierarchy.DisjointSet has been added for incremental +connectivity queries. + * scipy.cluster.hierarchy.dendrogram return value now also includes +leaf color information in leaves_color_list. + * scipy.interpolate.interp1d has a new method nearest-up, similar to +the existing method nearest but rounds half-integers up instead of down. + * scipy.ndimage.convolve, scipy.ndimage.correlate and their 1d counterparts +now accept both complex-valued images and/or complex-valued filter kernels. +All convolution-based filters also now accept complex-valued inputs + * scipy.optimize.linprog has fast, new methods for large, sparse problems +from the HiGHS C++ library + * scipy.optimize.quadratic_assignment has been added for approximate solution of +the quadratic assignment problem. + * scipy.optimize.linear_sum_assignment now has a substantially reduced +overhead for small cost matrix sizes + * scipy.optimize.least_squares has improved performance when the user +provides the jacobian as a sparse jacobian already in csr_matrix format + * scipy.signal.gammatone has been added to design FIR or IIR filters that +model the human auditory system. + * scipy.signal.iircomb has been added to design IIR peaking/notching +comb filters that can boost/attenuate a frequency from a signal. + * scipy.signal.sosfilt performance has been improved to avoid some +previously- observed slowdowns + * scipy.signal.windows.taylor has been added???the Taylor window function +is commonly used in radar digital signal processing + * scipy.signal.gauss_spline now supports list type input for consistency +with other related SciPy functions + * scipy.signal.correlation_lags has been added to allow calculation of +the lag/ displacement indices array for 1D cross-correlation. + +--- Old: scipy-1.5.4.tar.gz New: scipy-1.6.0.tar.gz Other differences: -- ++ python-scipy.spec ++ --- /var/tmp/diff_new_pack.mZv6aw/_old 2021-02-10 21:29:51.842239048 +0100 +++ /var/tmp/diff_new_pack.mZv6aw/_new 2021-02-10 21:29:51.846239053 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-scipy # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_5_4 +%define _ver 1_6_0 %define shortname scipy %define pname python-%{shortname} @@ -85,8 +85,10 @@ %endif %define skip_python2 1 +# https://numpy.org/neps/nep-0029-deprecation_policy.html +%define skip_python36 1 Name: %{package_name} -Version:1.5.4 +Version:1.6.0 Release:0 Summary:Scientific Tools for Python License: