Hello community,
here is the log from the commit of package python-scipy.12987 for
openSUSE:Leap:15.1:Update checked in at 2020-06-29 20:20:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/python-scipy.12987 (Old)
and /work/SRC/openSUSE:Leap:15.1:Update/.python-scipy.12987.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scipy.12987"
Mon Jun 29 20:20:03 2020 rev:1 rq:817276 version:1.2.0
Changes:
--------
New Changes file:
--- /dev/null 2020-06-25 10:56:43.568241769 +0200
+++
/work/SRC/openSUSE:Leap:15.1:Update/.python-scipy.12987.new.3060/python-scipy.changes
2020-06-29 20:20:04.227010783 +0200
@@ -0,0 +1,883 @@
+-------------------------------------------------------------------
+Mon Mar 16 13:51:18 UTC 2020 - Egbert Eich <[email protected]>
+
+- 'umpfack' is a runtime dependency of scipy. No build time
+ dependency to suitesparse is required (jsc#SLE-11732,
+ jsc#SLE-11776).
+- Get rid of site.cfg entirely as it is used nowhwere in scipy.
+
+-------------------------------------------------------------------
+Tue Feb 12 08:55:55 UTC 2019 - Egbert Eich <[email protected]>
+
+bsc#1130564: Apply update from the openSUSE package
+
+- Properly create and tear down default version links when the
+ HPC master packages are installed/uninstalled.
+- Make use of %hpc_modules_init to make modules also known to
+ client.
+- Module file:
+ * remove PATH element. Package has no binary,
+ * make cosmetic changes.
+- Remove use of %%python_module in dependency.
+
+-------------------------------------------------------------------
+Fri Jan 18 11:33:14 UTC 2019 - [email protected]
+
+- Some futher changes:
+ * Remove the use of fftw. The code doesn't link against it
+ anywhere. For HPC we would have to build things separately
+ for different MPI flavors as fftw3 exists only with HPC
+ support there.
+ * restructure the build process: since the environment for
+ the right python version of Numpy needs to be loaded, wrap
+ entire build (and install) in %%{python_expand: ..}.
+
+-------------------------------------------------------------------
+Thu Jan 17 23:58:18 UTC 2019 - [email protected]
+
+- Add support for HPC builds:
+ * Add _multibuild file
+ * Add standard and gnu-hpc builds
+ * Create initialization for both flavors to set the correct
+ target directories in macros and replace install paths
+ with these.
+ * Restructure the build process.
+ * Create 'master' packages for non-HPC builds.
+ * Create environment module information,
+
+-------------------------------------------------------------------
+Sat Dec 22 02:01:08 UTC 2018 - Todd R <[email protected]>
+
+- Update to version 1.2.0
+ * Many changes. Please see changelog at:
+ https://github.com/scipy/scipy/blob/v1.2.0/doc/release/1.2.0-notes.rst
+
+-------------------------------------------------------------------
+Fri May 11 20:17:12 UTC 2018 - [email protected]
+
+- Fix build on SLE
+
+-------------------------------------------------------------------
+Mon May 7 06:48:57 UTC 2018 - [email protected]
+
+- Update to version 1.1.0
+ * Many changes. Please see changelog at:
+ https://github.com/scipy/scipy/blob/v1.1.0/doc/release/1.1.0-notes.rst
+
+-------------------------------------------------------------------
+Sun Apr 1 22:41:09 UTC 2018 - [email protected]
+
+- update to version 1.0.1:
+ * Issues closed for 1.0.1
+ + #7493: ndimage.morphology functions are broken with numpy 1.13.0
+ + #8118: minimize_cobyla broken if disp=True passed
+ + #8142: scipy-v1.0.0 pdist with metric=`minkowski` raises
+ `ValueError:...
+ + #8173: scipy.stats.ortho_group produces all negative
+ determinants...
+ + #8207: gaussian_filter seg faults on float16 numpy arrays
+ + #8234: scipy.optimize.linprog interior-point presolve bug with
+ trivial...
+ + #8243: Make csgraph importable again via from scipy.sparse
+ import*
+ + #8320: scipy.root segfaults with optimizer 'lm'
+ * Pull requests for 1.0.1
+ + #8068: BUG: fix numpy deprecation test failures
+ + #8082: BUG: fix solve_lyapunov import
+ + #8144: MRG: Fix for cobyla
+ + #8150: MAINT: resolve UPDATEIFCOPY deprecation errors
+ + #8156: BUG: missing check on minkowski w kwarg
+ + #8187: BUG: Sign of elements in random orthogonal 2D matrices in
+ "ortho_group_gen"...
+ + #8197: CI: uninstall oclint
+ + #8215: Fixes Numpy datatype compatibility issues
+ + #8237: BUG: optimize: fix bug when variables fixed by bounds are
+ inconsistent...
+ + #8248: BUG: declare "gfk" variable before call of terminate() in
+ newton-cg
+ + #8280: REV: reintroduce csgraph import in scipy.sparse
+ + #8322: MAINT: prevent scipy.optimize.root segfault closes #8320
+ + #8334: TST: stats: don't use exact equality check for hdmedian
+ test
+ + #8477: BUG: signal/signaltools: fix wrong refcounting in
+ PyArray_OrderFilterND
+ + #8530: BUG: linalg: Fixed typo in flapack.pyf.src.
+ + #8566: CI: Temporarily pin Cython version to 0.27.3
+ + #8573: Backports for 1.0.1
+ + #8581: Fix Cython 0.28 build break of qhull.pyx
+
+-------------------------------------------------------------------
+Tue Feb 13 12:48:45 UTC 2018 - [email protected]
+
+- Don't use openblas on m68k and riscv64
+
+-------------------------------------------------------------------
+Thu Oct 26 03:22:32 UTC 2017 - [email protected]
+
+- Update to version 1.0.0
+ * Many changes. Please see changelog at:
+
https://github.com/scipy/scipy/blob/v1.0.0/doc/release/1.0.0-notes.rst#why-1-0-now
+- Rebase no_implicit_decl.patch
+
+-------------------------------------------------------------------
+Tue Jul 11 19:55:40 UTC 2017 - [email protected]
+
+- More rpmlint fixes.
+
+-------------------------------------------------------------------
+Mon Jul 10 18:25:30 UTC 2017 - [email protected]
+
+- Update to version 0.19.1
+ * #7214: Memory use in integrate.quad in scipy-0.19.0
+ * #7258: linalg.matrix_balance gives wrong transformation matrix
+ * #7262: Segfault in daily testing
+ * #7273: scipy.interpolate._bspl.evaluate_spline gets wrong type
+ * #7335: scipy.signal.dlti(A,B,C,D).freqresp() fails
+ * #7211: BUG: convolve may yield inconsistent dtypes with method changed
+ * #7216: BUG: integrate: fix refcounting bug in quad()
+ * #7229: MAINT: special: Rewrite a test of wrightomega
+ * #7261: FIX: Corrected the transformation matrix permutation
+ * #7265: BUG: Fix broken axis handling in spectral functions
+ * #7266: FIX 7262: ckdtree crashes in query_knn.
+ * #7279: Upcast half- and single-precision floats to doubles in BSpline...
+ * #7336: BUG: Fix signal.dfreqresp for StateSpace systems
+ * #7419: Fix several issues in sparse.load_npz, save_npz
+ * #7420: BUG: stats: allow integers as kappa4 shape parameters
+- Add no_implicit_decl.patch
+ Fixes implicit-pointer-decl warnings and implicit-fortify-decl error.
+- Fix wrong-script-interpreter rpmlint error.
+
+-------------------------------------------------------------------
+Wed Apr 19 18:52:04 UTC 2017 - [email protected]
+
+- Update to version 0.19.0
+ + Highlights
+ * A unified foreign function interface layer, `scipy.LowLevelCallable`.
+ * Cython API for scalar, typed versions of the universal functions from
+ the `scipy.special` module, via `cimport scipy.special.cython_special`.
+- Removed weave subpackage. It was removed upstream in this release.
+
+-------------------------------------------------------------------
+Fri Oct 21 19:12:29 UTC 2016 - [email protected]
+
+- Switch to single-spec version
+- update to version 0.18.1:
+ * #6357: scipy 0.17.1 piecewise cubic hermite interpolation does not
+ return...
+ * #6420: circmean() changed behaviour from 0.17 to 0.18
+ * #6421: scipy.linalg.solve_banded overwrites input 'b' when the
+ inversion...
+ * #6425: cKDTree INF bug
+ * #6435: scipy.stats.ks_2samp returns different values on different
+ computers
+ * #6458: Error in scipy.integrate.dblquad when using variable
+ integration...
+ * #6405: BUG: sparse: fix elementwise divide for CSR/CSC
+ * #6431: BUG: result for insufficient neighbours from cKDTree is
+ wrong.
+ * #6432: BUG Issue #6421: scipy.linalg.solve_banded overwrites input
+ 'b'...
+ * #6455: DOC: add links to release notes
+ * #6462: BUG: interpolate: fix .roots method of PchipInterpolator
+ * #6492: BUG: Fix regression in dblquad: #6458
+ * #6543: fix the regression in circmean
+ * #6545: Revert gh-5938, restore ks_2samp
+ * #6557: Backports for 0.18.1
+- update to version 0.18.0:
+ (see http://scipy.github.io/devdocs/release.0.18.0.html for full changelog)
+ * Highlights of this release include:
+ + A new ODE solver for two-point boundary value problems,
+ scipy.optimize.solve_bvp.
+ + A new class, CubicSpline, for cubic spline interpolation of
+ data.
+ + N-dimensional tensor product polynomials,
+ scipy.interpolate.NdPPoly.
+ + Spherical Voronoi diagrams, scipy.spatial.SphericalVoronoi.
+ + Support for discrete-time linear systems, scipy.signal.dlti.
+- update to version 0.17.1:
++++ 686 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.1:Update/.python-scipy.12987.new.3060/python-scipy.changes
New:
----
_multibuild
no_implicit_decl.patch
python-scipy-rpmlintrc
python-scipy.changes
python-scipy.spec
scipy-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-scipy.spec ++++++
#
# spec file for package python-scipy
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global flavor @BUILD_FLAVOR@%{nil}
%define _ver 1_2_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"
%bcond_with hpc
%ifarch armv6l s390 s390x m68k riscv64
%bcond_with openblas
%else
%if 0%{?sle_version} == 120200
%ifarch i586
%bcond_with openblas
%else
%bcond_without openblas
%endif
%else
%bcond_without openblas
%endif
%endif
%endif
%if "%flavor" == "gnu-hpc"
%bcond_without hpc
%define compiler_family gnu
%undefine c_f_ver
%endif
%if "%flavor" == "gnu7-hpc"
%bcond_without hpc
%define compiler_family gnu
%define c_f_ver 7
%endif
%if %{without hpc}
%define package_name %{pname}
%define p_python_sitearch %python_sitearch
%define p_prefix %_prefix
%define p_bindir %_bindir
%else
# Magic for OBS Staging. Only build the flavors required by
# other packages in the ring.
%if %{with ringdisabled}
ExclusiveArch: do_not_build
%endif
%ifarch armv6l s390 s390x m68k riscv64 i586
ExclusiveArch: do_not_build
%endif
%{!?compiler_family:%global compiler_family gnu}
%{hpc_init -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} %{?ext:-e %{ext}}}
%{hpc_modules_init openblas}
%define package_name %{hpc_package_name %_ver}
%define p_python_sitearch %hpc_python_sitearch
%define p_prefix %hpc_prefix
%define p_bindir %hpc_bindir
%endif
Name: %{package_name}
Version: 1.2.0
Release: 0
Summary: Scientific Tools for Python
License: BSD-3-Clause AND LGPL-2.0-or-later
Group: Development/Libraries/Python
Url: http://www.scipy.org
Source0:
https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.gz
Source100: python-scipy-rpmlintrc
# PATCH-FIX-OPENSUSE - no_implicit_decl.patch - Fix implicit-pointer-decl
warnings and implicit-fortify-decl error
Patch0: no_implicit_decl.patch
BuildRequires: %{python_module Cython >= 0.19}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: swig
%if %{without hpc}
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
%if %{with openblas}
BuildRequires: openblas-devel
%else
BuildRequires: blas-devel
BuildRequires: lapack-devel
%endif
BuildRequires: %{python_module numpy-devel >= 1.5.1}
BuildRequires: lapacke-devel
Requires: python-numpy >= 1.5.1
%else
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel >= 1.3
BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
BuildRequires: %{python_module
numpy%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel}
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.5.1
%endif
%{?with_hpc:%{hpc_requires}}
%python_subpackages
%description
Scipy is open-source software for mathematics, science, and
engineering. The core library is NumPy which provides convenient and
fast N-dimensional array manipulation. The SciPy library is built to
work with NumPy arrays, and provides many user-friendly and efficient
numerical routines such as routines for numerical integration and
optimization. Together, they run on all popular operating systems, are
quick to install, and are free of charge. NumPy and SciPy are easy to
use, but powerful enough to be depended upon by some of the world\'s
leading scientists and engineers.
%{?with_hpc:%{hpc_python_master_package -L -a }}
%prep
%setup -q -n scipy-%{version}
%patch0 -p1
find . -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \;
%build
%{python_expand #
%if %{with hpc}
py_ver=%{$python_version}
%hpc_setup
module load python${py_ver/.*/}-numpy
export CFLAGS="$(pkg-config --cflags openblas) %{optflags}
-fno-strict-aliasing" LIBS="$(pkg-config --libs openblas)"
export OPENBLAS=$OPENBLAS_LIB
%else
export CFLAGS="%{optflags} -fno-strict-aliasing"
export BLAS=%{_libdir}
export LAPACK=%{_libdir}
%if %{with openblas}
export OPENBLAS=%{_libdir}
%endif
%endif
%__$python setup.py config_fc --fcompiler=gnu95 --noarch build
}
%install
%{python_expand #
%if %{with hpc}
py_ver=%{$python_version}
%hpc_setup
module load python${py_ver/.*/}-numpy
%endif
%__$python setup.py install --prefix=%{p_prefix} --root=%{buildroot}
%fdupes %{buildroot}%{$python_sitearch}
%if %{with hpc}
%define hpc_module_pname python${py_ver/.*/}-%{shortname}
py_ver=%{$python_version}
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
%hpc_write_modules_files
#%%Module1.0#####################################################################
proc ModulesHelp { } {
puts stderr " "
puts stderr "This module loads the %{pname} library built with the
%{compiler_family} compiler "
puts stderr "toolchain."
puts stderr "\nVersion %{version}\n"
}
module-whatis "Name: %{pname} built with %{compiler_family} toolchain."
module-whatis "Version: %{version}"
module-whatis "Category: python module"
module-whatis "Description: %{SUMMARY}"
module-whatis "URL %{url}"
set version %{version}
depends-on python${py_ver/.*/}-numpy
prepend-path PYTHONPATH ${sitesearch_path}
setenv %{hpc_upcase_trans_hyph %pname}_DIR %{hpc_prefix}
setenv %{hpc_upcase_trans_hyph %pname}_BIN %{hpc_bindir}
family %{shortname}
EOF
%endif
}
%if %{with hpc}
%post
%hpc_module_delete_if_default
%endif
%files %{python_files}
%license LICENSE.txt
%{p_python_sitearch}/scipy/
%{p_python_sitearch}/scipy-*-py*.egg-info
%if %{with hpc}
%define hpc_module_pname python%(a=%{hpc_python_version}; echo -n
${a/.*/})-scipy
%{hpc_modules_files}
%{hpc_dirs}
%dir %{hpc_libdir}/python%{hpc_python_version}
%dir %{p_python_sitearch}
%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>standard</package>
<package>gnu-hpc</package>
</multibuild>
++++++ no_implicit_decl.patch ++++++
From: [email protected]
Date: 2017-07-40
Subject: Fix implicit-pointer-decl warnings and implicit-fortify-decl errors
Fix the following warnings:
Program is using implicit definitions of functions getting
pointers or implemented by macros.
W: python-scipy implicit-pointer-decl
scipy/sparse/linalg/dsolve/SuperLU/SRC/dmach.c:52
W: python-scipy implicit-pointer-decl
scipy/sparse/linalg/dsolve/SuperLU/SRC/smach.c:52
And fix the following error:
I: Program is using implicit definitions of special functions.
E: python-scipy implicit-fortify-decl scipy/spatial/qhull_misc.h:23
---
--- a/scipy/sparse/linalg/dsolve/SuperLU/SRC/dmach.c
+++ b/scipy/sparse/linalg/dsolve/SuperLU/SRC/dmach.c
@@ -1,6 +1,7 @@
#include <float.h>
#include <math.h>
#include <stdio.h>
+#include <string.h>
double dmach(char *cmach)
{
--- a/scipy/sparse/linalg/dsolve/SuperLU/SRC/smach.c
+++ b/scipy/sparse/linalg/dsolve/SuperLU/SRC/smach.c
@@ -1,6 +1,7 @@
#include <float.h>
#include <math.h>
#include <stdio.h>
+#include <string.h>
float smach(char *cmach)
{
--- a/scipy/spatial/qhull_misc.h
+++ b/scipy/spatial/qhull_misc.h
@@ -2,6 +2,9 @@
* Handle different Fortran conventions.
*/
+#include <stdio.h>
+#include <lapacke.h>
+
#if defined(NO_APPEND_FORTRAN)
#if defined(UPPERCASE_FORTRAN)
#define F_FUNC(f,F) F
++++++ python-scipy-rpmlintrc ++++++
addFilter('devel-file-in-non-devel-package .*/tests/.*')