Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-statsmodels for openSUSE:Factory checked in at 2022-03-21 20:11:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-statsmodels (Old) and /work/SRC/openSUSE:Factory/.python-statsmodels.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-statsmodels" Mon Mar 21 20:11:39 2022 rev:11 rq:963466 version:0.13.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-statsmodels/python-statsmodels.changes 2021-09-27 20:08:47.110453981 +0200 +++ /work/SRC/openSUSE:Factory/.python-statsmodels.new.25692/python-statsmodels.changes 2022-03-21 20:11:50.292429028 +0100 @@ -1,0 +2,16 @@ +Sun Mar 20 14:43:40 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.13.2 + * Autoregressive Distributed Lag models + * Copulas + * Ordered Models (Ordinal Regression) + * Beta Regression + * Improvements to ARIMA estimation options + * Python 3.10 support + * Protection against changes in recent versions of upstream + packages +- Drop patches merged upstream + * statsmodels-pr7373-future-sp-pd-mpl.patch + * statsmodels-pr7737-32bit-iloc-dtype.patch + +------------------------------------------------------------------- Old: ---- statsmodels-0.12.2.tar.gz statsmodels-pr7373-future-sp-pd-mpl.patch statsmodels-pr7737-32bit-iloc-dtype.patch New: ---- statsmodels-0.13.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-statsmodels.spec ++++++ --- /var/tmp/diff_new_pack.VP2u93/_old 2022-03-21 20:11:51.640430374 +0100 +++ /var/tmp/diff_new_pack.VP2u93/_new 2022-03-21 20:11:51.644430378 +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 @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -26,42 +26,38 @@ %bcond_with test %endif %define skip_python2 1 -%define skip_python36 1 Name: python-statsmodels%{psuffix} -Version: 0.12.2 +Version: 0.13.2 Release: 0 Summary: A Python module that allows users to explore data License: BSD-3-Clause URL: https://github.com/statsmodels/statsmodels Source: https://files.pythonhosted.org/packages/source/s/statsmodels/statsmodels-%{version}.tar.gz -# PATCH-FIX-UPSTREAM statsmodels-pr7373-future-sp-pd-mpl.patch -- gh#statsmodels/statsmodels#7373 -Patch1: https://github.com/statsmodels/statsmodels/pull/7373.patch#/statsmodels-pr7373-future-sp-pd-mpl.patch -# PATCH-FiX-UPSTREAM statsmodels-pr7737-32bit-iloc-dtype.patch gh#statsmodels/statsmodels#7737 -Patch2: https://github.com/statsmodels/statsmodels/pull/7737.patch#/statsmodels-pr7737-32bit-iloc-dtype.patch -BuildRequires: %{python_module Cython >= 0.29} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module numpy-devel >= 1.15} -BuildRequires: %{python_module scipy >= 1.1} +BuildRequires: %{python_module Cython >= 0.29.22} +BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module numpy-devel >= 1.17} +BuildRequires: %{python_module scipy >= 1.3} BuildRequires: %{python_module setuptools >= 0.6} BuildRequires: fdupes BuildRequires: gcc-fortran BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.15 -Requires: python-pandas >= 0.23 -Requires: python-patsy >= 0.5.1 -Requires: python-scipy >= 1.1 -Recommends: python-matplotlib >= 2.2 +Requires: python-numpy >= 1.17 +Requires: python-pandas >= 1.0 +Requires: python-patsy >= 0.5.2 +Requires: python-scipy >= 1.3 +Recommends: python-matplotlib >= 3 %if %{with test} -BuildRequires: %{python_module matplotlib >= 2.2} -# https://github.com/pandas-dev/pandas/issues/42626 -BuildRequires: %{python_module pandas >= 0.23 without (%python-pandas >= 1.3 with %python-pandas < 1.3.2)} -BuildRequires: %{python_module patsy >= 0.5.1} -BuildRequires: %{python_module statsmodels >= %{version}} -%endif +# SECTION mandatory +BuildRequires: %{python_module statsmodels = %{version}} +# /SECTION +# SECTION optional +BuildRequires: %{python_module matplotlib >= 3} +# /SECTION # SECTION test requirements +BuildRequires: %{python_module pytest >= 6} BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module pytest} # /SECTION +%endif %python_subpackages %description @@ -88,6 +84,8 @@ %build %if !%{with test} export CFLAGS="%{optflags} -fno-strict-aliasing" +# force cythonization +export SM_FORCE_C=1 %python_build %endif @@ -95,11 +93,6 @@ %if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} - -# Remove unwanted setup files -%python_expand find %{buildroot}%{$python_sitearch} -name 'setup.py*' -exec rm {} \; -rm -f %{buildroot}%{_prefix}/LICENSE.txt -rm -f %{buildroot}%{_prefix}/setup.cfg %endif %check @@ -111,8 +104,13 @@ mkdir $testdir cp setup.cfg $testdir pushd $testdir +%ifarch %{ix86} %{arm32} +# Note: there is no upstream 32-bit support for testing +# gh#statsmodels/statsmodels#7463 +%define donttest -k "not (test_seasonal_order or (test_holtwinters and test_forecast_index))" +%endif # not slow: some tests in tsa and discrete take AGES to run in OBS, like 2h per the folder -%pytest_arch -n auto -p no:cacheprovider -m "not slow" %{$python_sitearch}/statsmodels +%pytest_arch -n auto -p no:cacheprovider -m "not slow" %{$python_sitearch}/statsmodels %{?donttest} popd rm -r $testdir %endif ++++++ statsmodels-0.12.2.tar.gz -> statsmodels-0.13.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-statsmodels/statsmodels-0.12.2.tar.gz /work/SRC/openSUSE:Factory/.python-statsmodels.new.25692/statsmodels-0.13.2.tar.gz differ: char 5, line 1