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=c9cdc4a62... https://src.fedoraproject.org/cgit/rpms/python-dask.git/commit/?id=405580943....
Change: +%ifnarch %{arm} %{ix86} s390x +%ifnarch %{arm} %{ix86}
Thanks.
Full change: ============
commit c90f00fb40c525207c790746be17385f5ca327ea Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sun Jan 22 00:57:56 2023 -0500
Update to latest version (#2160834)
diff --git a/.gitignore b/.gitignore index 8e22b2e..05a0d62 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ /dask-2022.11.1.tar.gz /dask-2022.12.0.tar.gz /dask-2022.12.1.tar.gz +/dask-2023.1.0.tar.gz diff --git a/python-dask.spec b/python-dask.spec index cbd99c0..627437b 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -10,18 +10,16 @@ %global debug_package %{nil}
Name: python-%{srcname} -Version: 2022.12.1 -%global tag 2022.12.1 +Version: 2023.1.0 +%global tag 2023.1.0 Release: %autorelease Summary: Parallel PyData with Task Scheduling
-License: BSD +License: BSD-3-Clause URL: https://github.com/dask/dask Source0: %{pypi_source %{srcname}} # https://github.com/dask/dask/issues/6725 Patch: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch -# https://github.com/dask/dask/pull/9775 -Patch: 0002-TST-Reduce-size-of-expected-DoK-sparse-matrix.patch
%description Dask is a flexible parallel computing library for analytics. @@ -68,8 +66,8 @@ Recommends: python3-%{srcname}+distributed = %{version}-%{release} Obsoletes: python3-%{srcname}+diagnostics < 2022.5.0-1
# There is nothing that can be unbundled; there are some some snippets forked -# or copied from unspecified versions of numpy, under a BSD license similar to -# that of dask itself. +# or copied from unspecified versions of numpy, under a BSD-3-Clause license +# similar to that of dask itself. # # - dask/array/numpy_compat.py: # _Recurser, moveaxis, rollaxis, sliding_window_view @@ -113,9 +111,6 @@ Documentation for dask. # we don't use pre-commit when running tests sed -i '/"pre-commit"/d' setup.py
-# https://github.com/dask/dask/pull/9774 -chmod -x dask/dataframe/io/orc/utils.py -
%generate_buildrequires %pyproject_buildrequires -r -x test,array,bag,dataframe,delayed @@ -216,8 +211,11 @@ pytest_args=( -W ignore::DeprecationWarning
-k "${k-}" + + --pyargs dask )
+cd docs %{pytest} "${pytest_args[@]}"
%files -n python3-%{srcname} -f %{pyproject_files} diff --git a/sources b/sources index 076dfc2..e352df3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dask-2022.12.1.tar.gz) = 4040c57159c2e0ed6829282633cd1991ea529bde061486a1e436cca45a641e45bcf7897d89727daa6b6c22acee79466b7d9fe1181eaf54e3384a6335b77d7c1e +SHA512 (dask-2023.1.0.tar.gz) = fdfd802a63dffa6814a113ffc3fe688265c85874918cb4ef998cfc5d2d98dd176fea274fb33909d7a5d053046cb7bb0cfd0aabed4f03702bf8d020fca736fa85
commit 735f33300edaa00f3acf0573d1a02a7d15f5fff4 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 20 12:30:05 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit c9cdc4a62ab94e933bf5ced82252da4bfc973570 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sun Dec 18 20:53:35 2022 -0500
Skip pyarrow on s390x also
[skip changelog]
diff --git a/python-dask.spec b/python-dask.spec index 7fbb2c8..cbd99c0 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -47,8 +47,9 @@ BuildRequires: python3dist(fastavro) %endif BuildRequires: python3dist(h5py) BuildRequires: python3dist(psutil) -# libarrow does not support 32 bit architectures and is ExcludeArch: -%ifnarch %{arm} %{ix86} +# libarrow does not support 32 bit architectures and is ExcludeArch. +# Tests don't pass on s390x either. +%ifnarch %{arm} %{ix86} s390x BuildRequires: python3dist(pyarrow) %endif BuildRequires: python3dist(requests)
commit 405580943b51eaf9a50c79a6e6d54cae29958276 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sun Dec 18 19:59:31 2022 -0500
Add some more now-available testing dependencies
diff --git a/python-dask.spec b/python-dask.spec index c9ebada..7fbb2c8 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -47,8 +47,13 @@ BuildRequires: python3dist(fastavro) %endif BuildRequires: python3dist(h5py) BuildRequires: python3dist(psutil) +# libarrow does not support 32 bit architectures and is ExcludeArch: +%ifnarch %{arm} %{ix86} +BuildRequires: python3dist(pyarrow) +%endif BuildRequires: python3dist(requests) BuildRequires: python3dist(sqlalchemy) +BuildRequires: python3dist(tables) BuildRequires: python3dist(zarr)
Recommends: python3-%{srcname}+array = %{version}-%{release}
commit 18bb90e1d0bbf20ea824674296cbc0b8aa11bb55 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sun Dec 18 19:24:16 2022 -0500
Fix test on i686 arch
diff --git a/0001-Skip-test_encoding_gh601-on-big-endian-machines.patch b/0001-Skip-test_encoding_gh601-on-big-endian-machines.patch index e9a940f..d27b76b 100644 --- a/0001-Skip-test_encoding_gh601-on-big-endian-machines.patch +++ b/0001-Skip-test_encoding_gh601-on-big-endian-machines.patch @@ -1,7 +1,7 @@ -From 3a7b31a4d0a602a5b45799e95c24b6bc59960c5d Mon Sep 17 00:00:00 2001 +From dd144df006fa18c53547e54ff2623e47e6ca9520 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Sun, 7 Mar 2021 04:07:32 -0500 -Subject: [PATCH] Skip test_encoding_gh601 on big-endian machines. +Subject: [PATCH 1/2] Skip test_encoding_gh601 on big-endian machines.
Signed-off-by: Elliott Sales de Andrade quantum.analyst@gmail.com --- diff --git a/0002-TST-Reduce-size-of-expected-DoK-sparse-matrix.patch b/0002-TST-Reduce-size-of-expected-DoK-sparse-matrix.patch new file mode 100644 index 0000000..c93e711 --- /dev/null +++ b/0002-TST-Reduce-size-of-expected-DoK-sparse-matrix.patch @@ -0,0 +1,30 @@ +From 9a7f39e1dc96f76caf9edec527ec78aec374b046 Mon Sep 17 00:00:00 2001 +From: Elliott Sales de Andrade quantum.analyst@gmail.com +Date: Sun, 18 Dec 2022 19:18:43 -0500 +Subject: [PATCH 2/2] TST: Reduce size of expected DoK sparse matrix + +Apparently, SciPy was not available on 32-bit, and this test was +skipped, but it's recently become available again, and this value is too +large. + +Signed-off-by: Elliott Sales de Andrade quantum.analyst@gmail.com +--- + dask/tests/test_sizeof.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dask/tests/test_sizeof.py b/dask/tests/test_sizeof.py +index a13b85b4..934ae834 100644 +--- a/dask/tests/test_sizeof.py ++++ b/dask/tests/test_sizeof.py +@@ -82,7 +82,7 @@ def test_sparse_matrix(): + assert sizeof(sp.tocoo()) >= 240 + assert sizeof(sp.tocsc()) >= 232 + assert sizeof(sp.tocsr()) >= 232 +- assert sizeof(sp.todok()) >= 192 ++ assert sizeof(sp.todok()) >= 188 + assert sizeof(sp.tolil()) >= 204 + + +-- +2.36.1 + diff --git a/python-dask.spec b/python-dask.spec index 51538e9..c9ebada 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -20,6 +20,8 @@ URL: https://github.com/dask/dask Source0: %{pypi_source %{srcname}} # https://github.com/dask/dask/issues/6725 Patch: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch +# https://github.com/dask/dask/pull/9775 +Patch: 0002-TST-Reduce-size-of-expected-DoK-sparse-matrix.patch
%description Dask is a flexible parallel computing library for analytics. @@ -105,6 +107,9 @@ Documentation for dask. # we don't use pre-commit when running tests sed -i '/"pre-commit"/d' setup.py
+# https://github.com/dask/dask/pull/9774 +chmod -x dask/dataframe/io/orc/utils.py +
%generate_buildrequires %pyproject_buildrequires -r -x test,array,bag,dataframe,delayed