Hello community,
here is the log from the commit of package python-dask for openSUSE:Factory checked in at 2019-02-25 17:52:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dask (Old)
and /work/SRC/openSUSE:Factory/.python-dask.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dask"
Mon Feb 25 17:52:13 2019 rev:17 rq:677653 version:1.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dask/python-dask.changes 2019-02-04 14:24:25.941081612 +0100
+++ /work/SRC/openSUSE:Factory/.python-dask.new.28833/python-dask.changes 2019-02-25 17:52:15.510723671 +0100
@@ -1,0 +2,5 @@
+Wed Feb 20 11:19:16 UTC 2019 - Tomáš Chvátal
+
+- Enable tests and switch to multibuild
+
+-------------------------------------------------------------------
New:
----
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dask.spec ++++++
--- /var/tmp/diff_new_pack.b8iF3d/_old 2019-02-25 17:52:16.202723295 +0100
+++ /var/tmp/diff_new_pack.b8iF3d/_new 2019-02-25 17:52:16.202723295 +0100
@@ -17,11 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Tests require a network connection
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
%bcond_with test
-# python(2/3)-distributed has a dependency loop with python(2/3)-dask
-%bcond_with test_distributed
-Name: python-dask
+%endif
+Name: python-dask%{psuffix}
Version: 1.1.1
Release: 0
Summary: Minimal task scheduling abstraction
@@ -53,11 +57,11 @@
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module bcolz}
BuildRequires: %{python_module bokeh}
-# Test-only imports
BuildRequires: %{python_module boto3}
BuildRequires: %{python_module cachey}
BuildRequires: %{python_module chest}
BuildRequires: %{python_module cloudpickle >= 0.2.1}
+BuildRequires: %{python_module distributed}
BuildRequires: %{python_module graphviz}
BuildRequires: %{python_module h5py}
BuildRequires: %{python_module jupyter_ipython}
@@ -83,9 +87,6 @@
BuildRequires: graphviz-gnome
BuildRequires: python-mock
BuildConflicts: python3-buildservice-tweak
-%if %{with test_distributed}
-BuildRequires: %{python_module distributed}
-%endif
%endif
%python_subpackages
@@ -263,16 +264,21 @@
%python_build
%install
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
%if %{with test}
%check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{python_bin_suffix} dask
-}
+# Tests need network:
+# test_serializable_groupby_agg
+# test_persist
+# test_local_get_with_distributed_active
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{python_bin_suffix} -v dask/tests -k 'not (test_serializable_groupby_agg or test_persist or test_local_get_with_distributed_active)'
%endif
+%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE.txt
@@ -317,5 +323,6 @@
%license LICENSE.txt
%{python_sitelib}/dask/multiprocessing.py*
%python3_only %{python_sitelib}/dask/__pycache__/multiprocessing.*
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>