Compare commits
58 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
138e3931a6 | ||
|
d411bdc4f2 | ||
|
6b3a6c9407 | ||
|
94c45e83c5 | ||
|
803fd0655e | ||
|
de8cee97b4 | ||
|
f9718c404a | ||
|
3d2d3e1fed | ||
|
8b264e22b8 | ||
|
77fd7b5f42 | ||
|
87b7e4491e | ||
|
3b286e1db7 | ||
|
8bfea1df6b | ||
|
5b99b78e2c | ||
|
9c18ea8292 | ||
|
6ac9ed170a | ||
|
567bfb565c | ||
|
e73966d9bf | ||
|
0516e73d2e | ||
|
70ed1cdf04 | ||
|
76ca11c616 | ||
|
b2dc08c359 | ||
|
0d2dfdebae | ||
|
a36526471b | ||
|
bf2f2311a1 | ||
|
5dd1dba41f | ||
|
33637a11cb | ||
|
a07631500b | ||
|
180d9017e2 | ||
|
0bf871d600 | ||
|
1d12442e10 | ||
|
32c93448e8 | ||
|
98a80e211d | ||
|
b491c27147 | ||
|
4b0880421d | ||
|
36f81adb49 | ||
|
2b99813d54 | ||
|
33f8ec88d1 | ||
|
c1994df3a0 | ||
|
1a96b4ae2f | ||
|
a9751d7ccc | ||
|
14a650a68a | ||
|
23c4ce0904 | ||
|
dd19a3061b | ||
|
dc3fd840b8 | ||
|
4e4627bca5 | ||
|
c6f0b45631 | ||
|
e5a2f382bb | ||
|
ebde6f766b | ||
|
f274f16327 | ||
|
dc61a2567a | ||
|
69c9877242 | ||
|
0c4a65d090 | ||
|
4711749435 | ||
|
da5496b1f9 | ||
|
76d012b321 | ||
|
45bf650856 | ||
|
ba99478fc6 |
12
.gitignore
vendored
12
.gitignore
vendored
@ -20,3 +20,15 @@ scipy-0.7.2.tar.gz
|
|||||||
/scipy-0.16.1.tar.gz
|
/scipy-0.16.1.tar.gz
|
||||||
/scipy-0.17.0.tar.gz
|
/scipy-0.17.0.tar.gz
|
||||||
/scipy-0.18.0.tar.xz
|
/scipy-0.18.0.tar.xz
|
||||||
|
/scipy-0.19.0.tar.xz
|
||||||
|
/scipy-0.19.1.tar.xz
|
||||||
|
/scipy-1.0.0.tar.xz
|
||||||
|
/scipy-1.1.0.tar.gz
|
||||||
|
/scipy-1.2.0.tar.gz
|
||||||
|
/scipy-1.2.1.tar.gz
|
||||||
|
/scipy-1.3.1.tar.gz
|
||||||
|
/scipy-1.4.1.tar.gz
|
||||||
|
/scipy-1.5.0.tar.gz
|
||||||
|
/scipy-1.5.2.tar.gz
|
||||||
|
/scipy-1.5.3.tar.gz
|
||||||
|
/scipy-1.5.4.tar.gz
|
||||||
|
356
scipy.spec
356
scipy.spec
@ -1,39 +1,56 @@
|
|||||||
%global with_python3 1
|
# without means enabled
|
||||||
%{?filter_setup:
|
%bcond_with doc
|
||||||
%filter_provides_in %{python2_sitearch}.*\.so$
|
|
||||||
%filter_provides_in %{python3_sitearch}.*\.so$
|
|
||||||
%filter_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
# Set to pre-release version suffix if building pre-release, else %%{nil}
|
# Set to pre-release version suffix if building pre-release, else %%{nil}
|
||||||
%global rcver %{nil}
|
%global rcver %{nil}
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||||
|
%global blaslib flexiblas
|
||||||
|
%global blasvar %{nil}
|
||||||
|
%else
|
||||||
|
%global blaslib openblas
|
||||||
|
%global blasvar p
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Scientific Tools for Python
|
Summary: Scientific Tools for Python
|
||||||
Name: scipy
|
Name: scipy
|
||||||
Version: 0.18.0
|
Version: 1.5.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
# BSD -- whole package except:
|
# BSD -- whole package except:
|
||||||
# Boost -- scipy/special/cephes/scipy_iv.c
|
# Boost -- scipy/special/cephes/scipy_iv.c
|
||||||
# Public Domain -- scipy/odr/__odrpack.c
|
# Public Domain -- scipy/odr/__odrpack.c
|
||||||
License: BSD and Boost and Public Domain
|
License: BSD and Boost and Public Domain
|
||||||
Url: http://www.scipy.org/scipylib/index.html
|
Url: http://www.scipy.org/scipylib/index.html
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.tar.xz
|
Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: numpy, python2-devel,f2py
|
# https://github.com/scipy/scipy/pull/12899
|
||||||
BuildRequires: fftw-devel, blas-devel, lapack-devel, suitesparse-devel
|
Patch0: skip-certain-tests-on-32-bit-arches.patch
|
||||||
BuildRequires: atlas-devel
|
# https://github.com/scipy/scipy/pull/13130
|
||||||
BuildRequires: gcc-gfortran, swig
|
Patch1: skip-factorial-float-tests-on-py310.patch
|
||||||
|
|
||||||
|
BuildRequires: fftw-devel, suitesparse-devel
|
||||||
|
BuildRequires: %{blaslib}-devel
|
||||||
|
BuildRequires: gcc-gfortran, swig, gcc-c++
|
||||||
BuildRequires: qhull-devel
|
BuildRequires: qhull-devel
|
||||||
|
BuildRequires: /usr/bin/pathfix.py
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
BuildRequires: pybind11-devel
|
||||||
BuildRequires: python3-numpy, python3-devel, python3-f2py
|
BuildRequires: python3-pybind11 >= 2.4.0
|
||||||
|
BuildRequires: python3-numpy, python3-devel, python3-numpy-f2py
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-Cython
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-pytest-xdist
|
||||||
|
BuildRequires: python3-pytest-timeout
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
BuildRequires: python3-matplotlib
|
||||||
|
BuildRequires: python3-numpydoc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%global _description %{expand:
|
||||||
Scipy is open-source software for mathematics, science, and
|
Scipy is open-source software for mathematics, science, and
|
||||||
engineering. The core library is NumPy which provides convenient and
|
engineering. The core library is NumPy which provides convenient and
|
||||||
fast N-dimensional array manipulation. The SciPy library is built to
|
fast N-dimensional array manipulation. The SciPy library is built to
|
||||||
@ -42,51 +59,27 @@ numerical routines such as routines for numerical integration and
|
|||||||
optimization. Together, they run on all popular operating systems, are
|
optimization. Together, they run on all popular operating systems, are
|
||||||
quick to install, and are free of charge. NumPy and SciPy are easy to
|
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
|
use, but powerful enough to be depended upon by some of the world's
|
||||||
leading scientists and engineers.
|
leading scientists and engineers.}
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
%package -n python2-scipy
|
|
||||||
Summary: Scientific Tools for Python
|
|
||||||
Requires: numpy, f2py
|
|
||||||
%{?python_provide:%python_provide python2-scipy}
|
|
||||||
# General provides of plain 'scipy' in F24
|
|
||||||
Provides: scipy = %{version}-%{release}
|
|
||||||
Provides: scipy%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: scipy <= 0.16.0
|
|
||||||
%description -n python2-scipy
|
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python3-scipy
|
%package -n python3-scipy
|
||||||
Summary: Scientific Tools for Python
|
Summary: Scientific Tools for Python
|
||||||
Group: Development/Libraries
|
|
||||||
License: BSD and LGPLv2+
|
|
||||||
Requires: python3-numpy, python3-f2py
|
Requires: python3-numpy, python3-f2py
|
||||||
%{?python_provide:%python_provide python3-scipy}
|
%{?python_provide:%python_provide python3-scipy}
|
||||||
%description -n python3-scipy
|
%description -n python3-scipy %_description
|
||||||
Scipy is open-source software for mathematics, science, and
|
|
||||||
engineering. The core library is NumPy which provides convenient and
|
%if %{with doc}
|
||||||
fast N-dimensional array manipulation. The SciPy library is built to
|
%package -n python3-scipy-doc
|
||||||
work with NumPy arrays, and provides many user-friendly and efficient
|
Summary: Scientific Tools for Python - documentation
|
||||||
numerical routines such as routines for numerical integration and
|
Requires: python3-scipy = %{version}-%{release}
|
||||||
optimization. Together, they run on all popular operating systems, are
|
%description -n python3-scipy-doc
|
||||||
quick to install, and are free of charge. NumPy and SciPy are easy to
|
HTML documentation for Scipy
|
||||||
use, but powerful enough to be depended upon by some of the world's
|
%endif
|
||||||
leading scientists and engineers.
|
|
||||||
|
|
||||||
%endif # with _python3
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?rcver}
|
%autosetup -p1 -n %{name}-%{version}%{?rcver}
|
||||||
cat > site.cfg << EOF
|
cat > site.cfg << EOF
|
||||||
|
|
||||||
[amd]
|
[amd]
|
||||||
@ -98,69 +91,233 @@ amd_libs = amd
|
|||||||
library_dirs = %{_libdir}
|
library_dirs = %{_libdir}
|
||||||
include_dirs = /usr/include/suitesparse
|
include_dirs = /usr/include/suitesparse
|
||||||
umfpack_libs = umfpack
|
umfpack_libs = umfpack
|
||||||
|
|
||||||
|
[openblas]
|
||||||
|
libraries = %{blaslib}%{blasvar}
|
||||||
|
library_dirs = %{_libdir}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Docs won't build unless the .dat files are specified here
|
||||||
|
sed -i 's/metadata = dict(/metadata = dict(package_data={"": ["*.dat"]},/' setup.py
|
||||||
|
|
||||||
|
# remove bundled numpydoc
|
||||||
|
rm doc/sphinxext -r
|
||||||
|
|
||||||
|
rm $(grep -rl '/\* Generated by Cython') PKG-INFO
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?with_python3}
|
for PY in %{python3_version}; do
|
||||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
# Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611
|
||||||
|
env CFLAGS="$RPM_OPT_FLAGS -lm" \
|
||||||
|
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
|
||||||
|
FFLAGS="$RPM_OPT_FLAGS -fPIC -fallow-argument-mismatch" \
|
||||||
|
%else
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
%endif
|
||||||
%__python3 setup.py config_fc \
|
OPENBLAS=%{_libdir} \
|
||||||
--fcompiler=gnu95 --noarch build
|
FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
||||||
%endif # with _python3
|
%{_bindir}/python$PY setup.py config_fc \
|
||||||
|
--fcompiler=gnu95 --noarch \
|
||||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
build
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
|
||||||
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
|
||||||
%__python2 setup.py config_fc \
|
|
||||||
--fcompiler=gnu95 --noarch build
|
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
|
pushd doc
|
||||||
|
export PYTHONPATH=$(echo ../build/lib.linux-*-$PY/)
|
||||||
|
make html SPHINXBUILD=sphinx-build-$PY
|
||||||
|
rm -rf build/html/.buildinfo
|
||||||
|
mv build build-$PY
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# first install python3 so the binaries are overwritten by the python2 ones
|
%py3_install
|
||||||
%if 0%{?with_python3}
|
# Some files got ambiguous python shebangs, we fix them after everything else is done
|
||||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch}
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
|
||||||
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
|
||||||
%__python3 setup.py install --root=$RPM_BUILD_ROOT
|
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
|
||||||
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
|
||||||
%__python2 setup.py install --root=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?with_python3}
|
# check against the reference BLAS/LAPACK
|
||||||
mkdir test3
|
export FLEXIBLAS=netlib
|
||||||
cd test3
|
|
||||||
PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch} \
|
|
||||||
%__python3 -c "import scipy; scipy.test('full', verbose=2)" || :
|
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
mkdir test2
|
%ifarch s390x
|
||||||
cd test2
|
# skip failing tests on s390x for now
|
||||||
PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} \
|
export PYTEST_ADDOPTS="-k '\
|
||||||
%__python2 -c "import scipy; scipy.test('full', verbose=2)" || :
|
not (TestNoData and test_nodata) and \
|
||||||
|
not test_fortranfile_read_mixed_record and \
|
||||||
|
not test_kde_1d and \
|
||||||
|
not test_kde_1d_weighted and \
|
||||||
|
not test_kde_2d and \
|
||||||
|
not test_kde_2d_weighted and \
|
||||||
|
not test_gaussian_kde_subclassing and \
|
||||||
|
not test_gaussian_kde_covariance_caching and \
|
||||||
|
not test_kde_integer_input and \
|
||||||
|
not test_pdf_logpdf and \
|
||||||
|
not test_pdf_logpdf_weighted'"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
pushd %{buildroot}/%{python3_sitearch}
|
||||||
|
%{pytest} --timeout=500 scipy --numprocesses=auto
|
||||||
|
# Remove test remnants
|
||||||
|
rm -rf gram{A,B}
|
||||||
|
popd
|
||||||
|
|
||||||
%files -n python2-scipy
|
|
||||||
%doc LICENSE.txt
|
|
||||||
%{python2_sitearch}/scipy
|
|
||||||
%{python2_sitearch}/*.egg-info
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python3-scipy
|
%files -n python3-scipy
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%{python3_sitearch}/scipy
|
%{python3_sitearch}/scipy/
|
||||||
%{python3_sitearch}/*.egg-info
|
%{python3_sitearch}/*.egg-info
|
||||||
%endif # with_python3
|
|
||||||
|
%if %{with doc}
|
||||||
|
%files -n python3-scipy-doc
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc doc/build-%{python3_version}/html
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 25 2020 Nikola Forró <nforro@redhat.com> - 1.5.4-2
|
||||||
|
- Skip factorial() float tests on Python 3.10
|
||||||
|
resolves: #1898157
|
||||||
|
|
||||||
|
* Thu Nov 05 2020 Nikola Forró <nforro@redhat.com> - 1.5.4-1
|
||||||
|
- New upstream release 1.5.4
|
||||||
|
- Increase test timeout, 300 seconds is not always enough
|
||||||
|
for test_logpdf_overflow on s390x
|
||||||
|
resolves: #1894887
|
||||||
|
|
||||||
|
* Mon Oct 19 2020 Nikola Forró <nforro@redhat.com> - 1.5.3-1
|
||||||
|
- New upstream release 1.5.3
|
||||||
|
resolves: #1889132
|
||||||
|
|
||||||
|
* Wed Sep 30 2020 Nikola Forró <nforro@redhat.com> - 1.5.2-2
|
||||||
|
- Skip one more test expected to fail on 32-bit architectures
|
||||||
|
|
||||||
|
* Mon Aug 31 2020 Nikola Forró <nforro@redhat.com> - 1.5.2-1
|
||||||
|
- New upstream release 1.5.2
|
||||||
|
resolves: #1853871 and #1840077
|
||||||
|
|
||||||
|
* Sun Aug 16 2020 Iñaki Úcar <iucar@fedoraproject.org> - 1.5.0-4
|
||||||
|
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.0-1
|
||||||
|
- Update to latest version
|
||||||
|
|
||||||
|
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.1-2
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Sun Mar 01 2020 Orion Poplawski <orion@nwra.com> - 1.4.1-1
|
||||||
|
- Update to 1.4.1 (bz#1771154)
|
||||||
|
- Workaround FTBFS with gcc 10 (bz#1800078)
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Oct 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.1-1
|
||||||
|
- Update to 1.3.1 (#1674101)
|
||||||
|
- Drop Python 2 packages (not supported by SciPy >= 1.3)
|
||||||
|
- Backported upstream patch for cKDTree (fixes FTBFS)
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-8
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-7
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Tue Jul 30 2019 Petr Viktorin <pviktori@redhat.com> - 1.2.1-6
|
||||||
|
- Remove build dependency on python2-pytest-xdist and python2-pytest-timeout
|
||||||
|
- Enable parallel tests in Python 3 %%check
|
||||||
|
- Use macros for Python interpreter in tests
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 10 2019 Marcel Plch <mplch@redhat.com> - 1.2.1-4
|
||||||
|
- Fix FTBFS with Py3.8 (#1606315)
|
||||||
|
|
||||||
|
* Thu May 16 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-3
|
||||||
|
- Build only against openblasp (bugz#1709161)
|
||||||
|
|
||||||
|
* Fri Apr 26 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-2
|
||||||
|
- Do not create *-PYTEST.pyc files
|
||||||
|
|
||||||
|
* Tue Apr 23 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-1
|
||||||
|
- Update to 1.2.1
|
||||||
|
- Drop scipy2-doc
|
||||||
|
|
||||||
|
* Wed Feb 06 2019 Charalampos Stratakis <cstratak@redhat.com> - 1.2.0-1
|
||||||
|
- Update to 1.2.0
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 23 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
|
||||||
|
- Don't ignore the tests results but rather have a tolerance rate
|
||||||
|
- Skip test_decomp on ppc64le as it currently segfaults
|
||||||
|
|
||||||
|
* Fri Jun 22 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-1
|
||||||
|
- Update to 1.1.0 (#1560265, #1594355)
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-8
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 02 2018 Petr Viktorin <pviktori@redhat.com> - 1.0.0-6
|
||||||
|
- Link with -lm to build with new stricter Fedora flags
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1541416
|
||||||
|
|
||||||
|
* Wed Jan 31 2018 Christian Dersch <lupinix@mailbox.org> - 1.0.0-5
|
||||||
|
- rebuilt for GCC 8.x (gfortran soname bump)
|
||||||
|
|
||||||
|
* Mon Dec 11 2017 Lumír Balhar <lbalhar@redhat.com> - 1.0.0-4
|
||||||
|
- Disable tests on s390x
|
||||||
|
|
||||||
|
* Mon Nov 20 2017 Lumír Balhar <lbalhar@redhat.com> - 1.0.0-3
|
||||||
|
- New subpackages with HTML documentation
|
||||||
|
|
||||||
|
* Tue Oct 31 2017 Christian Dersch <lupinix@mailbox.org> - 1.0.0-2
|
||||||
|
- Use openblas where available https://fedoraproject.org/wiki/Changes/OpenBLAS_as_default_BLAS
|
||||||
|
- Remove ppc64 hackery for OpenBLAS
|
||||||
|
- Don't run tests in parallel as pytest crashes
|
||||||
|
- Don't run test_denormals as it tends to stuck
|
||||||
|
|
||||||
|
* Thu Oct 26 2017 Thomas Spura <tomspur@fedoraproject.org> - 1.0.0-1
|
||||||
|
- update to 1.0.0 and use pytest instead of nose
|
||||||
|
- use timeout during parallel %%check
|
||||||
|
|
||||||
|
* Wed Oct 04 2017 Christian Dersch <lupinix@mailbox.org> - 0.19.1-5
|
||||||
|
- Use openblas where available (except ppc64), to use same as numpy (BZ 1472318)
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.19.1-2
|
||||||
|
- Rebuild due to bug in RPM (RHBZ #1468476)
|
||||||
|
|
||||||
|
* Tue Jun 27 2017 Christian Dersch <lupinix@mailbox.org> - 0.19.1-1
|
||||||
|
- new version
|
||||||
|
|
||||||
|
* Wed Jun 07 2017 Christian Dersch <lupinix@mailbox.org> - 0.19.0-1
|
||||||
|
- new version
|
||||||
|
|
||||||
|
* Tue Jan 31 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18.0-3
|
||||||
|
- Rebuild for libgfortran.so.3
|
||||||
|
|
||||||
|
* Mon Dec 12 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.18.0-2
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
* Tue Jul 26 2016 Than Ngo <than@redhat.com> - 0.18.0-1
|
* Tue Jul 26 2016 Than Ngo <than@redhat.com> - 0.18.0-1
|
||||||
- 0.18.0
|
- 0.18.0
|
||||||
- %%check: make non-fatal as temporary workaround for scipy build on arm
|
- %%check: make non-fatal as temporary workaround for scipy build on arm
|
||||||
@ -453,4 +610,3 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} \
|
|||||||
- Add changelog
|
- Add changelog
|
||||||
- Removed Prefix, Vendor
|
- Removed Prefix, Vendor
|
||||||
- Fix Source0
|
- Fix Source0
|
||||||
|
|
||||||
|
47
skip-certain-tests-on-32-bit-arches.patch
Normal file
47
skip-certain-tests-on-32-bit-arches.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
From ea0a77cf8761a8b8636b93314139ed0fc0a9d1db Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
||||||
|
Date: Wed, 30 Sep 2020 11:44:25 +0200
|
||||||
|
Subject: [PATCH] TST: make a couple of tests expected to fail on 32-bit
|
||||||
|
architectures
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
In TestConstructUtils.test_concatenate_int32_overflow
|
||||||
|
and test_nnz_overflow, on a 32-bit architecture, in case
|
||||||
|
check_free_memory() passes, ValueError is raised on an attempt
|
||||||
|
to create a numpy array too large for a 32-bit architecture.
|
||||||
|
|
||||||
|
Signed-off-by: Nikola Forró <nforro@redhat.com>
|
||||||
|
---
|
||||||
|
scipy/sparse/tests/test_construct.py | 1 +
|
||||||
|
scipy/sparse/tests/test_sparsetools.py | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/scipy/sparse/tests/test_construct.py b/scipy/sparse/tests/test_construct.py
|
||||||
|
index 3a882c6cc..5a2b92667 100644
|
||||||
|
--- a/scipy/sparse/tests/test_construct.py
|
||||||
|
+++ b/scipy/sparse/tests/test_construct.py
|
||||||
|
@@ -378,6 +378,7 @@ class TestConstructUtils(object):
|
||||||
|
excinfo.match(r'Got blocks\[0,1\]\.shape\[0\] == 1, expected 2')
|
||||||
|
|
||||||
|
@pytest.mark.slow
|
||||||
|
+ @pytest.mark.xfail_on_32bit("Can't create large array for test")
|
||||||
|
def test_concatenate_int32_overflow(self):
|
||||||
|
""" test for indptr overflow when concatenating matrices """
|
||||||
|
check_free_memory(30000)
|
||||||
|
diff --git a/scipy/sparse/tests/test_sparsetools.py b/scipy/sparse/tests/test_sparsetools.py
|
||||||
|
index 0c208ef44..e95df1ba0 100644
|
||||||
|
--- a/scipy/sparse/tests/test_sparsetools.py
|
||||||
|
+++ b/scipy/sparse/tests/test_sparsetools.py
|
||||||
|
@@ -61,6 +61,7 @@ def test_regression_std_vector_dtypes():
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.slow
|
||||||
|
+@pytest.mark.xfail_on_32bit("Can't create large array for test")
|
||||||
|
def test_nnz_overflow():
|
||||||
|
# Regression test for gh-7230 / gh-7871, checking that coo_todense
|
||||||
|
# with nnz > int32max doesn't overflow.
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
40
skip-factorial-float-tests-on-py310.patch
Normal file
40
skip-factorial-float-tests-on-py310.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
From eabd8ea25fe291665f37fd069a1c574cd30d12cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Victor Stinner <vstinner@python.org>
|
||||||
|
Date: Wed, 25 Nov 2020 11:41:15 +0100
|
||||||
|
Subject: [PATCH] GH-13122: Skip factorial() float tests on Python 3.10
|
||||||
|
|
||||||
|
special.factorial() argument should be an array of integers.
|
||||||
|
On Python 3.10, math.factorial() reject float.
|
||||||
|
On Python 3.9, a DeprecationWarning is emitted.
|
||||||
|
A numpy array casts all integers to float if the array contains a
|
||||||
|
single NaN.
|
||||||
|
---
|
||||||
|
scipy/special/tests/test_basic.py | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/scipy/special/tests/test_basic.py b/scipy/special/tests/test_basic.py
|
||||||
|
index 9b7260e8435..e2ae29812a5 100644
|
||||||
|
--- a/scipy/special/tests/test_basic.py
|
||||||
|
+++ b/scipy/special/tests/test_basic.py
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
|
||||||
|
import itertools
|
||||||
|
import platform
|
||||||
|
+import sys
|
||||||
|
|
||||||
|
import numpy as np
|
||||||
|
from numpy import (array, isnan, r_, arange, finfo, pi, sin, cos, tan, exp,
|
||||||
|
@@ -1822,6 +1823,13 @@ def test_nan_inputs(self, x, exact):
|
||||||
|
result = special.factorial(x, exact=exact)
|
||||||
|
assert_(np.isnan(result))
|
||||||
|
|
||||||
|
+ # GH-13122: special.factorial() argument should be an array of integers.
|
||||||
|
+ # On Python 3.10, math.factorial() reject float.
|
||||||
|
+ # On Python 3.9, a DeprecationWarning is emitted.
|
||||||
|
+ # A numpy array casts all integers to float if the array contains a
|
||||||
|
+ # single NaN.
|
||||||
|
+ @pytest.mark.skipif(sys.version_info >= (3, 10),
|
||||||
|
+ reason="Python 3.10+ math.factorial() requires int")
|
||||||
|
def test_mixed_nan_inputs(self):
|
||||||
|
x = np.array([np.nan, 1, 2, 3, np.nan])
|
||||||
|
with suppress_warnings() as sup:
|
Loading…
Reference in New Issue
Block a user