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 <[email protected]>
+
+- Provide empty debuginfo extraction for :test flavor
+
+-------------------------------------------------------------------
+Sun Jan 23 17:52:38 UTC 2022 - Ben Greiner <[email protected]>
+
+- 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 scipy-%{version}
+%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
 
+%if !%{with test}
 %build
 %{python_expand #
 %if %{with hpc}
@@ -196,7 +215,31 @@
 EOF
 }
 %endif
+%endif
+
+%if %{with test}
+%check
+# (occasional) precision errors
+donttest="(TestLinprogIPSpecific and test_solver_select)"
+donttest+=" or test_gh12922"
+donttest+=" or (TestPeriodogram and test_nd_axis_m1)"
+donttest+=" or (TestPeriodogram and test_nd_axis_0)"
+donttest+=" or (TestPdist and test_pdist_jensenshannon_iris)"
+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)"
+# fails on big endian
+donttest+=" or (TestNoData and test_nodata)"
+# oom
+donttest+=" or (TestBSR and test_scalar_idx_dtype)"
+# error while getting entropy
+donttest+=" or (test_cont_basic and 500-200-ncf-arg74)"
+%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
+%endif
 
+%if !%{with test}
 %if %{with hpc}
 %post
 %{hpc_module_delete_if_default}
@@ -214,5 +257,6 @@
 %dir %{hpc_libdir}/python%{hpc_python_version}
 %dir %{p_python_sitearch}
 %endif
+%endif
 
 %changelog

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.LzHf3N/_old  2022-02-03 23:16:41.880526135 +0100
+++ /var/tmp/diff_new_pack.LzHf3N/_new  2022-02-03 23:16:41.884526108 +0100
@@ -1,5 +1,6 @@
 <multibuild>
   <package>standard</package>
+  <package>test</package>
   <package>gnu-hpc</package>
 </multibuild>
 

++++++ scipy-1.6.3.tar.gz -> scipy-1.7.3.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-scipy/scipy-1.6.3.tar.gz 
/work/SRC/openSUSE:Factory/.python-scipy.new.1898/scipy-1.7.3.tar.gz differ: 
char 5, line 1

Reply via email to