The package rpms/python-dask.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-dask.git/commit/?id=f882b4157....
Change: +%ifarch armv7hl
Thanks.
Full change: ============
commit f882b4157df83462a2916aad311bd5b38d218d2a Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sat Sep 14 03:48:43 2019 -0400
Add more optional test dependencies.
diff --git a/python-dask.spec b/python-dask.spec index 767f325..1cccfe7 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -1,6 +1,7 @@ %global srcname dask
# Requires distributed, which is a loop. +# Also, some tests require packages that require dask itself. # Force bootstrap for package review. %bcond_without bootstrap
@@ -34,12 +35,22 @@ BuildRequires: python3dist(numpy) >= 1.13 BuildRequires: python3dist(pandas) >= 0.21 BuildRequires: python3dist(partd) >= 0.3.10 BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-xdist) BuildRequires: python3dist(pyyaml) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(toolz) >= 0.7.3 %if %{without bootstrap} BuildRequires: python3dist(distributed) >= 2 +BuildRequires: python3dist(scikit-image) +BuildRequires: python3dist(xarray) %endif +# Optional test requirements. +BuildRequires: python3dist(fastavro) +BuildRequires: python3dist(h5py) +BuildRequires: python3dist(psutil) +BuildRequires: python3dist(requests) +BuildRequires: python3dist(sqlalchemy) +BuildRequires: python3dist(zarr)
Recommends: python3-%{srcname}+array = %{version}-%{release} Recommends: python3-%{srcname}+bag = %{version}-%{release} @@ -163,8 +174,12 @@ rm -rf html/.{doctrees,buildinfo}
%check -PYTHONDONTWRITEBYTECODE=1 \ - %{__python3} -m pytest -m 'not network' +export PYTHONDONTWRITEBYTECODE=1 +%ifarch armv7hl + %{__python3} -m pytest -m 'not network' -n 2 +%else + %{__python3} -m pytest -m 'not network' -n auto +%endif
%files -n python3-%{srcname}
commit e61d995e1e8955e8a9717fa7571c3cc1311de214 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sat Sep 14 02:57:14 2019 -0400
Remove old patches.
diff --git a/0002-Make-distributed-tests-optional-again.patch b/0002-Make-distributed-tests-optional-again.patch deleted file mode 100644 index f11d192..0000000 --- a/0002-Make-distributed-tests-optional-again.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 04b7d5986fcf853c652557a3c837dae86a5c1d3e Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade quantum.analyst@gmail.com -Date: Mon, 22 Jul 2019 03:27:22 -0400 -Subject: [PATCH 2/3] Make distributed tests optional again. - -Signed-off-by: Elliott Sales de Andrade quantum.analyst@gmail.com ---- - dask/tests/test_base.py | 4 ---- - dask/tests/test_distributed.py | 5 +++++ - 2 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/dask/tests/test_base.py b/dask/tests/test_base.py -index 7fceec7d..864b2073 100644 ---- a/dask/tests/test_base.py -+++ b/dask/tests/test_base.py -@@ -1018,7 +1018,3 @@ def test_num_workers_config(scheduler): - workers = {i.worker_id for i in prof.results} - - assert len(workers) == num_workers -- -- --if sys.version_info >= (3, 5): -- from dask.tests.py3_test_await import * # noqa F401 -diff --git a/dask/tests/test_distributed.py b/dask/tests/test_distributed.py -index 60e8cf32..7ed081f6 100644 ---- a/dask/tests/test_distributed.py -+++ b/dask/tests/test_distributed.py -@@ -2,6 +2,7 @@ import pytest - - distributed = pytest.importorskip("distributed") - -+import sys - from functools import partial - from operator import add - from tornado import gen -@@ -194,3 +195,7 @@ def test_scheduler_equals_client(loop): - assert client.run_on_scheduler( - lambda dask_scheduler: dask_scheduler.story(x.key) - ) -+ -+ -+if sys.version_info >= (3, 5): -+ from dask.tests.py3_test_await import * # noqa F401 --- -2.21.0 - diff --git a/0003-TST-Ignore-some-more-invalid-value-warnings.patch b/0003-TST-Ignore-some-more-invalid-value-warnings.patch deleted file mode 100644 index bff4ebe..0000000 --- a/0003-TST-Ignore-some-more-invalid-value-warnings.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ec7aa4ead8bcf963f7c314676dbda6c6852d7eb2 Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade quantum.analyst@gmail.com -Date: Tue, 23 Jul 2019 00:34:12 -0400 -Subject: [PATCH 3/3] TST: Ignore some more invalid value warnings. - -Signed-off-by: Elliott Sales de Andrade quantum.analyst@gmail.com ---- - dask/array/tests/test_reductions.py | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/dask/array/tests/test_reductions.py b/dask/array/tests/test_reductions.py -index c17e919d..3d8163f6 100644 ---- a/dask/array/tests/test_reductions.py -+++ b/dask/array/tests/test_reductions.py -@@ -407,8 +407,14 @@ def test_nan_object(func): - - if func in {"nanmin", "nanmax"}: - warnings.simplefilter("default", RuntimeWarning) -+ elif func in {"min", "max"}: -+ warnings.simplefilter("ignore", RuntimeWarning) - - assert_eq(getattr(np, func)(x, axis=0), getattr(da, func)(d, axis=0)) -+ -+ if func in {"min", "max"}: -+ warnings.simplefilter("default", RuntimeWarning) -+ - assert_eq(getattr(np, func)(x, axis=1), getattr(da, func)(d, axis=1)) - assert_eq(getattr(np, func)(x), getattr(da, func)(d)) - --- -2.21.0 -
commit 28bf35d2a77de62ca392585b11f7939da42e33af Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Fri Sep 13 20:09:50 2019 -0400
Update to latest version.
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 quantum.analyst@gmail.com 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 quantum.analyst@gmail.com --- - 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 quantum.analyst@gmail.com - 2.4.0-1 +- Update to latest version + * Thu Sep 12 2019 Elliott Sales de Andrade quantum.analyst@gmail.com - 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
arch-excludes@lists.fedoraproject.org