diff --git a/.gitignore b/.gitignore index fb01a9c..b582244 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /dask-1.2.1.tar.gz /dask-2.1.0.tar.gz /dask-2.3.0.tar.gz +/dask-2.4.0.tar.gz diff --git a/0001-XFail-partitioning-test-on-some-arches.patch b/0001-XFail-partitioning-test-on-some-arches.patch index 92b7e2e..993924e 100644 --- a/0001-XFail-partitioning-test-on-some-arches.patch +++ b/0001-XFail-partitioning-test-on-some-arches.patch @@ -1,15 +1,15 @@ -From abddcd7c2c6dc6cc72af8f4a7fb44e317994cef9 Mon Sep 17 00:00:00 2001 +From 48209fc11ca964b6dd92d06df8037f2e552e6019 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 3 Mar 2019 05:24:13 -0500 -Subject: [PATCH 1/3] XFail partitioning test on some arches. +Subject: [PATCH] XFail partitioning test on some arches. Signed-off-by: Elliott Sales de Andrade --- - dask/dataframe/tests/test_dataframe.py | 4 ++++ - 1 file changed, 4 insertions(+) + dask/dataframe/tests/test_dataframe.py | 5 +++++ + 1 file changed, 5 insertions(+) diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py -index 387d39ac..e0160734 100644 +index 10b944bd..06ac3e80 100644 --- a/dask/dataframe/tests/test_dataframe.py +++ b/dask/dataframe/tests/test_dataframe.py @@ -1,3 +1,4 @@ @@ -17,16 +17,17 @@ index 387d39ac..e0160734 100644 import textwrap import warnings from itertools import product -@@ -1722,6 +1723,9 @@ def test_repartition_on_pandas_dataframe(): - assert_eq(ddf, df.y) - - -+@pytest.mark.xfail(platform.machine() in ('ppc64', 'ppc64le', 'aarch64', 's390x', -+ 'i686', 'i586', 'i386'), -+ reason='Unsupported architecture') - @pytest.mark.parametrize("use_index", [True, False]) - @pytest.mark.parametrize("n", [1, 2, 4, 5]) - @pytest.mark.parametrize("k", [1, 2, 4, 5]) +@@ -1734,6 +1735,10 @@ def test_repartition_on_pandas_dataframe(): + @pytest.mark.parametrize("dtype", [float, "M8[ns]"]) + @pytest.mark.parametrize("transform", [lambda df: df, lambda df: df.x]) + def test_repartition_npartitions(use_index, n, k, dtype, transform): ++ if (platform.machine() in ('ppc64le', 'aarch64', 's390x') and ++ (dtype, k, n, use_index) == (float, 5, 1, True)): ++ pytest.xfail(reason='Unsupported architecture') ++ + df = pd.DataFrame( + {"x": [1, 2, 3, 4, 5, 6] * 10, "y": list("abdabd") * 10}, + index=pd.Series([10, 20, 30, 40, 50, 60] * 10, dtype=dtype), -- 2.21.0 diff --git a/python-dask.spec b/python-dask.spec index 70ad158..767f325 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -5,7 +5,7 @@ %bcond_without bootstrap Name: python-%{srcname} -Version: 2.3.0 +Version: 2.4.0 Release: 1%{?dist} Summary: Parallel PyData with Task Scheduling @@ -187,6 +187,9 @@ PYTHONDONTWRITEBYTECODE=1 \ %changelog +* Fri Sep 13 2019 Elliott Sales de Andrade - 2.4.0-1 +- Update to latest version + * Thu Sep 12 2019 Elliott Sales de Andrade - 2.3.0-1 - Update to latest version diff --git a/sources b/sources index 955d253..562b8ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dask-2.3.0.tar.gz) = 97dfee9d3aef135456ac303b3738064a4832cc535a71aca19fda3318c278832807aacaaac3fa5b56922b3ccea8f13512faab2f84fc3aab06e15e2a269c056a20 +SHA512 (dask-2.4.0.tar.gz) = 436f27364a35dd970766106f654e1683fe6082ea5ddcb2d17b44fc7dcf58402d795ffca43ec0e81ea310e69e0ae44e9c74c3268a7266db7f2e60ee878e48eb4a