Hello community,

here is the log from the commit of package python-datashader for 
openSUSE:Factory checked in at 2018-11-26 10:28:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-datashader (Old)
 and      /work/SRC/openSUSE:Factory/.python-datashader.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-datashader"

Mon Nov 26 10:28:25 2018 rev:6 rq:651108 version:0.6.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-datashader/python-datashader.changes      
2018-10-31 13:15:53.231371199 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-datashader.new.19453/python-datashader.changes
   2018-11-26 10:28:57.729122569 +0100
@@ -1,0 +2,7 @@
+Thu Nov 22 12:52:29 UTC 2018 - Enno Gotthold <[email protected]>
+
+- Added patch to fix broken test_dask tests.
+  * python-datashader-dask-api-change-fix.patch
+  Upstream URL: https://github.com/pyviz/datashader/pull/667
+
+-------------------------------------------------------------------

New:
----
  python-datashader-dask-api-change-fix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-datashader.spec ++++++
--- /var/tmp/diff_new_pack.vnMMD1/_old  2018-11-26 10:28:58.525121635 +0100
+++ /var/tmp/diff_new_pack.vnMMD1/_new  2018-11-26 10:28:58.525121635 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -31,6 +31,7 @@
 URL:            http://github.com/bokeh/datashader
 Source0:        
https://files.pythonhosted.org/packages/source/d/datashader/datashader-%{version}.tar.gz
 Source100:      python-datashader-rpmlintrc
+Patch0:         python-datashader-dask-api-change-fix.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module param >= 1.6.0}
 BuildRequires:  %{python_module pyct}
@@ -103,6 +104,7 @@
 %prep
 %setup -q -n datashader-%{version}
 sed -i -e '/^#!\//, 1d' examples/*.py
+%patch0 -p1
 
 %build
 %python_build

++++++ python-datashader-dask-api-change-fix.patch ++++++
>From 51a42b36875af5e45d89c7b89dbbcefe1b2e690e Mon Sep 17 00:00:00 2001
From: Enno Gotthold <[email protected]>
Date: Thu, 22 Nov 2018 13:31:26 +0100
Subject: [PATCH] Fix the broken test because of the dask api-change.

---
 datashader/tests/test_dask.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datashader/tests/test_dask.py b/datashader/tests/test_dask.py
index a020b3c5..75fd2726 100644
--- a/datashader/tests/test_dask.py
+++ b/datashader/tests/test_dask.py
@@ -1,5 +1,5 @@
 from dask.local import get_sync
-from dask.context import set_options
+from dask.context import config
 import dask.dataframe as dd
 import numpy as np
 import pandas as pd
@@ -9,7 +9,7 @@
 
 import pytest
 
-set_options(get=get_sync)
+config.set(scheduler=get_sync)
 
 df = pd.DataFrame({'x': np.array(([0.] * 10 + [1] * 10)),
                    'y': np.array(([0.] * 5 + [1] * 5 + [0] * 5 + [1] * 5)),


Reply via email to