Hello community, here is the log from the commit of package python-statsmodels for openSUSE:Factory checked in at 2020-04-07 10:30:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-statsmodels (Old) and /work/SRC/openSUSE:Factory/.python-statsmodels.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-statsmodels" Tue Apr 7 10:30:52 2020 rev:7 rq:791743 version:0.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-statsmodels/python-statsmodels.changes 2019-11-28 10:14:15.367637249 +0100 +++ /work/SRC/openSUSE:Factory/.python-statsmodels.new.3248/python-statsmodels.changes 2020-04-07 10:32:14.310570277 +0200 @@ -1,0 +2,13 @@ +Mon Apr 6 09:30:02 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Switch to multibuild to not take ages on running tests and + blocking all depending packages + +------------------------------------------------------------------- +Mon Apr 6 07:14:18 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Update to 0.11.1: + * Bugfixes all around + * upstream declare dropped support for python2 + +------------------------------------------------------------------- Old: ---- statsmodels-0.10.2.tar.gz New: ---- _multibuild statsmodels-0.11.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-statsmodels.spec ++++++ --- /var/tmp/diff_new_pack.S9Nyry/_old 2020-04-07 10:32:16.718573414 +0200 +++ /var/tmp/diff_new_pack.S9Nyry/_new 2020-04-07 10:32:16.718573414 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-statsmodels # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,43 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-statsmodels -Version: 0.10.2 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +%define skip_python2 1 +Name: python-statsmodels%{psuffix} +Version: 0.11.1 Release: 0 Summary: A Python module that allows users to explore data License: BSD-3-Clause -Group: Development/Libraries/Python -URL: http://statsmodels.sourceforge.net/ +URL: https://github.com/statsmodels/statsmodels Source: https://files.pythonhosted.org/packages/source/s/statsmodels/statsmodels-%{version}.tar.gz +BuildRequires: %{python_module Cython >= 0.29} BuildRequires: %{python_module devel} -BuildRequires: %{python_module matplotlib >= 1.0.0} -BuildRequires: %{python_module numpy-devel >= 1.7.0} -BuildRequires: %{python_module pandas >= 0.7.1} -BuildRequires: %{python_module patsy >= 0.3.0} -BuildRequires: %{python_module scipy >= 0.9.0} +BuildRequires: %{python_module numpy-devel >= 1.14} +BuildRequires: %{python_module scipy >= 1.0} BuildRequires: %{python_module setuptools >= 0.6} BuildRequires: fdupes BuildRequires: gcc-fortran BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.7.0 -Requires: python-pandas >= 0.7.1 -Requires: python-patsy >= 0.3.0 -Requires: python-scipy >= 0.9.0 -Recommends: python-matplotlib >= 1.0.0 +Requires: python-numpy >= 1.14 +Requires: python-pandas >= 0.21 +Requires: python-patsy >= 0.5.1 +Requires: python-scipy >= 1.0 +Recommends: python-matplotlib >= 2.2 +%if %{with test} +BuildRequires: %{python_module matplotlib >= 2.2} +BuildRequires: %{python_module pandas >= 0.21} +BuildRequires: %{python_module patsy >= 0.5.1} +BuildRequires: %{python_module statsmodels >= %{version}} +%endif # SECTION test requirements +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -77,10 +90,13 @@ chmod a-x README_l1.txt %build +%if !%{with test} export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build +%endif %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} @@ -89,23 +105,24 @@ %python_expand find %{buildroot}%{$python_sitearch} -type f -exec chmod a-x {} \; rm -f %{buildroot}%{_prefix}/LICENSE.txt rm -f %{buildroot}%{_prefix}/setup.cfg +%endif -%ifnarch ppc64le %check -export PYTHONDONTWRITEBYTECODE=1 # do not write unreproducible .pyc files -mv statsmodels statsmodels_temp -rm -rf build _build.* -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -pytest-%{$python_bin_suffix} -p no:cacheprovider %{buildroot}%{$python_sitearch}/statsmodels/ -} -mv statsmodels_temp statsmodels +%if %{with test} +export PYTHONDONTWRITEBYTECODE=1 +# tsa and discrete tests - take AGES to run all those tests in OBS, like 2h per the folder +# statsmodels/stats/tests/test_dist_dependant_measures.py online tests +# test_lazy_imports test_docstring_optimization_compat - fail due to dep updates +%pytest_arch -n auto -v -p no:cacheprovider %{$python_sitearch}/statsmodels/ --ignore=%{$python_sitearch}/statsmodels/tsa --ignore=%{$python_sitearch}/statsmodels/discrete --ignore %{$python_sitearch}/statsmodels/stats/tests/test_dist_dependant_measures.py -k 'not (test_lazy_imports or test_docstring_optimization_compat)' %endif +%if !%{with test} %files %{python_files} %doc README.rst README_l1.txt %doc examples/ %license COPYRIGHTS.txt LICENSE.txt %{python_sitearch}/statsmodels/ %{python_sitearch}/statsmodels-%{version}-py*.egg-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ statsmodels-0.10.2.tar.gz -> statsmodels-0.11.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-statsmodels/statsmodels-0.10.2.tar.gz /work/SRC/openSUSE:Factory/.python-statsmodels.new.3248/statsmodels-0.11.1.tar.gz differ: char 5, line 1
