Compare commits
No commits in common. "rawhide" and "f28" have entirely different histories.
67
.gitignore
vendored
67
.gitignore
vendored
@ -3,70 +3,3 @@
|
||||
/dask-1.1.5.tar.gz
|
||||
/dask-1.2.0.tar.gz
|
||||
/dask-1.2.1.tar.gz
|
||||
/dask-2.1.0.tar.gz
|
||||
/dask-2.3.0.tar.gz
|
||||
/dask-2.4.0.tar.gz
|
||||
/dask-2.5.0.tar.gz
|
||||
/dask-2.5.2.tar.gz
|
||||
/dask-2.6.0.tar.gz
|
||||
/dask-2.7.0.tar.gz
|
||||
/dask-2.8.0.tar.gz
|
||||
/dask-2.8.1.tar.gz
|
||||
/dask-2.9.1.tar.gz
|
||||
/dask-2.10.0.tar.gz
|
||||
/dask-2.10.1.tar.gz
|
||||
/dask-2.11.0.tar.gz
|
||||
/dask-2.12.0.tar.gz
|
||||
/dask-2.13.0.tar.gz
|
||||
/dask-2.14.0.tar.gz
|
||||
/dask-2.16.0.tar.gz
|
||||
/dask-2.17.2.tar.gz
|
||||
/dask-2.18.0.tar.gz
|
||||
/dask-2.20.0.tar.gz
|
||||
/dask-2.21.0.tar.gz
|
||||
/dask-2.22.0.tar.gz
|
||||
/dask-2.23.0.tar.gz
|
||||
/dask-2.24.0.tar.gz
|
||||
/dask-2.25.0.tar.gz
|
||||
/dask-2.26.0.tar.gz
|
||||
/dask-2.27.0.tar.gz
|
||||
/dask-2.28.0.tar.gz
|
||||
/dask-2.29.0.tar.gz
|
||||
/dask-2.30.0.tar.gz
|
||||
/dask-2021.1.0.tar.gz
|
||||
/dask-2021.1.1.tar.gz
|
||||
/dask-2021.2.0.tar.gz
|
||||
/dask-2021.3.0.tar.gz
|
||||
/dask-2021.4.0.tar.gz
|
||||
/dask-2021.4.1.tar.gz
|
||||
/dask-2021.5.0.tar.gz
|
||||
/dask-2021.6.0.tar.gz
|
||||
/dask-2021.6.1.tar.gz
|
||||
/dask-2021.6.2.tar.gz
|
||||
/dask-2021.7.0.tar.gz
|
||||
/dask-2021.7.1.tar.gz
|
||||
/dask-2021.7.2.tar.gz
|
||||
/dask-2021.8.0.tar.gz
|
||||
/dask-2021.8.1.tar.gz
|
||||
/dask-2021.9.0.tar.gz
|
||||
/dask-2021.9.1.tar.gz
|
||||
/dask-2021.12.0.tar.gz
|
||||
/dask-2022.01.0.tar.gz
|
||||
/dask-2022.01.1.tar.gz
|
||||
/dask-2022.02.0.tar.gz
|
||||
/dask-2022.02.1.tar.gz
|
||||
/dask-2022.05.0.tar.gz
|
||||
/dask-2022.5.0.tar.gz
|
||||
/dask-2022.7.1.tar.gz
|
||||
/dask-2022.8.0.tar.gz
|
||||
/dask-2022.8.1.tar.gz
|
||||
/dask-2022.9.0.tar.gz
|
||||
/dask-2022.10.0.tar.gz
|
||||
/dask-2022.11.1.tar.gz
|
||||
/dask-2022.12.0.tar.gz
|
||||
/dask-2022.12.1.tar.gz
|
||||
/dask-2023.1.0.tar.gz
|
||||
/dask-2023.2.0.tar.gz
|
||||
/dask-2023.3.2.tar.gz
|
||||
/dask-2023.4.0.tar.gz
|
||||
/dask-2023.4.1.tar.gz
|
||||
|
@ -1,33 +0,0 @@
|
||||
From 5ee683719a19c8865a7b80725a0adf55baa3e9c9 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 1/2] Skip test_encoding_gh601 on big-endian machines.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
dask/dataframe/io/tests/test_csv.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/dask/dataframe/io/tests/test_csv.py b/dask/dataframe/io/tests/test_csv.py
|
||||
index b50a727b..0ac1df4c 100644
|
||||
--- a/dask/dataframe/io/tests/test_csv.py
|
||||
+++ b/dask/dataframe/io/tests/test_csv.py
|
||||
@@ -2,6 +2,7 @@ import gzip
|
||||
import os
|
||||
import warnings
|
||||
from io import BytesIO, StringIO
|
||||
+import sys
|
||||
from unittest import mock
|
||||
|
||||
import pytest
|
||||
@@ -1146,6 +1147,7 @@ def test_read_csv_with_datetime_index_partitions_n():
|
||||
xfail_pandas_100 = pytest.mark.xfail(reason="https://github.com/dask/dask/issues/5787")
|
||||
|
||||
|
||||
+@pytest.mark.skipif(sys.byteorder == 'big', reason='Broken on big-endian machines')
|
||||
@pytest.mark.parametrize(
|
||||
"encoding",
|
||||
[
|
||||
--
|
||||
2.40.0
|
||||
|
32
0001-XFail-partitioning-test-on-some-arches.patch
Normal file
32
0001-XFail-partitioning-test-on-some-arches.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From 373dd6f27d044da6c3ad657fa2d837be74377f94 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] 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(+)
|
||||
|
||||
diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
|
||||
index 46f8a377..a7d58fbe 100644
|
||||
--- a/dask/dataframe/tests/test_dataframe.py
|
||||
+++ b/dask/dataframe/tests/test_dataframe.py
|
||||
@@ -1,3 +1,4 @@
|
||||
+import platform
|
||||
import textwrap
|
||||
import warnings
|
||||
from itertools import product
|
||||
@@ -1452,6 +1453,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])
|
||||
--
|
||||
2.20.1
|
||||
|
@ -1,26 +0,0 @@
|
||||
From 54487feeef6d7d41e3b6d4e4ece5b6342071068b Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Sun, 7 May 2023 23:13:59 -0400
|
||||
Subject: [PATCH 2/2] Skip coverage testing
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
pyproject.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index a7d504ff..36dfca8e 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -121,7 +121,7 @@ markers = [
|
||||
"skip_with_pyarrow_strings: Tests that should be skipped when pyarrow string conversion is turned on",
|
||||
"xfail_with_pyarrow_strings: Tests that should be xfailed when pyarrow string conversion is turned on",
|
||||
]
|
||||
-addopts = "-v -rsxfE --durations=10 --color=yes --cov-config=pyproject.toml"
|
||||
+addopts = "-v -rsxfE --durations=10 --color=yes"
|
||||
filterwarnings = [
|
||||
# From Cython-1753
|
||||
"ignore:can't resolve:ImportWarning",
|
||||
--
|
||||
2.40.0
|
||||
|
180
changelog
180
changelog
@ -1,180 +0,0 @@
|
||||
* Mon Jul 26 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.7.1-1
|
||||
- Update to latest version (#1985515)
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2021.7.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sun Jul 11 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.7.0-1
|
||||
- Update to latest version (#1980906)
|
||||
|
||||
* Sun Jul 04 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.6.2-1
|
||||
- Update to latest version (#1974872)
|
||||
|
||||
* Sat Jun 19 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.6.1-1
|
||||
- Update to latest version (#1973783)
|
||||
|
||||
* Thu Jun 17 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2021.6.0-1
|
||||
- Skip some failing tests for now
|
||||
|
||||
* Sun Jun 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2021.6.0-1
|
||||
- Update to latest version (#1965698)
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2021.5.0-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Sat May 15 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.5.0-1
|
||||
- Update to latest version (#1960766)
|
||||
|
||||
* Sat Apr 24 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.4.1-1
|
||||
- Update to latest version (#1953086)
|
||||
|
||||
* Fri Apr 02 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.4.0-1
|
||||
- Update to latest version (#1943694)
|
||||
|
||||
* Sun Mar 07 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.3.0-1
|
||||
- Update to latest version (#1936017)
|
||||
|
||||
* Fri Feb 05 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.2.0-1
|
||||
- Update to latest version (#1925645)
|
||||
|
||||
* Wed Jan 27 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.1.1-1
|
||||
- Update to latest version (#1919397)
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2021.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jan 19 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.1.0-1
|
||||
- Update to latest version (#1906637)
|
||||
|
||||
* Sat Oct 10 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.30.0-1
|
||||
- Update to latest version (#1884852)
|
||||
|
||||
* Mon Oct 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.29.0-1
|
||||
- Update to latest version (#1884852)
|
||||
|
||||
* Sat Sep 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.28.0-1
|
||||
- Update to latest version (#1882873)
|
||||
|
||||
* Fri Sep 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.27.0-1
|
||||
- Update to latest version (#1880693)
|
||||
|
||||
* Sat Sep 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.26.0-1
|
||||
- Update to latest version (#1878309)
|
||||
|
||||
* Fri Aug 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.25.0-1
|
||||
- Update to latest version (#1873659)
|
||||
|
||||
* Sun Aug 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.24.0-1
|
||||
- Update to latest version (#1871358)
|
||||
|
||||
* Sat Aug 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.23.0-1
|
||||
- Update to latest version (#1868951)
|
||||
|
||||
* Sun Aug 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.22.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.21.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat Jul 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.21.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 2.20.0-2
|
||||
- Add metadata for Python extras subpackages
|
||||
|
||||
* Sun Jul 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.20.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Jun 06 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.18.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Sun May 31 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.17.2-1
|
||||
- Update to latest version
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.16.0-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Sat May 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.16.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Wed Apr 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.14.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Thu Mar 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.13.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Mar 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.12.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Fri Feb 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-3
|
||||
- Fix typo in dependency
|
||||
- Fix flaky test
|
||||
|
||||
* Wed Feb 19 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-2
|
||||
- Fix minimum dependency versions
|
||||
- Make keeping minimum dependency versions in sync a bit easier
|
||||
|
||||
* Wed Feb 19 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Fri Feb 14 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.10.1-1
|
||||
- Update to latest version
|
||||
|
||||
* Tue Jan 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.10.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Thu Jan 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.9.1-1
|
||||
- Update to latest version
|
||||
|
||||
* Fri Nov 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.1-1
|
||||
- Update to latest version
|
||||
|
||||
* Thu Nov 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Tue Nov 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.0-1
|
||||
- Update to latest version
|
||||
- Disabled distributed subpackage until it's available
|
||||
|
||||
* Thu Oct 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Oct 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.2-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Sep 28 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.0-1
|
||||
- Update to latest version
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Tue Jul 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Apr 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Mon Apr 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.5-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.4-1
|
||||
- Update to latest version
|
||||
- Remove now unnecessary patches
|
||||
|
||||
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-3
|
||||
- Mark partitioning test as expected failure on 32-bit systems as well
|
||||
|
||||
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-2
|
||||
- Add meta-subpackages for individual features
|
||||
|
||||
* Sat Mar 02 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-1
|
||||
- Initial package.
|
303
python-dask.spec
303
python-dask.spec
@ -1,27 +1,22 @@
|
||||
%global srcname dask
|
||||
|
||||
# Requires distributed, which is a loop.
|
||||
# Also, some tests require packages that require dask itself.
|
||||
%{?_with_bootstrap: %global bootstrap 1}
|
||||
# Force bootstrap for package review.
|
||||
%bcond_without bootstrap
|
||||
|
||||
# We have an arched package to detect arch-dependent issues in dependencies,
|
||||
# but all of the installable RPMs are noarch and there is no compiled code.
|
||||
%global debug_package %{nil}
|
||||
%global bootstrap 1
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 2023.4.1
|
||||
%global tag 2023.4.1
|
||||
Release: %autorelease
|
||||
Version: 1.2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Parallel PyData with Task Scheduling
|
||||
|
||||
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
|
||||
# Fedora-specific patch.
|
||||
Patch: 0002-Skip-coverage-testing.patch
|
||||
License: BSD
|
||||
URL: http://github.com/dask/dask/
|
||||
Source0: %pypi_source
|
||||
# https://github.com/dask/dask/issues/4561
|
||||
Patch0001: 0001-XFail-partitioning-test-on-some-arches.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
@ -29,102 +24,131 @@ Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(cloudpickle) >= 0.2.1
|
||||
BuildRequires: python3dist(graphviz)
|
||||
BuildRequires: python3dist(ipython)
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: python3dist(scikit-image)
|
||||
BuildRequires: python3dist(xarray)
|
||||
BuildRequires: python3dist(numpy) >= 1.13.0
|
||||
BuildRequires: python3dist(pandas) >= 0.21.0
|
||||
BuildRequires: python3dist(partd) >= 0.3.8
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(pyyaml)
|
||||
BuildRequires: python3dist(setuptools)
|
||||
BuildRequires: python3dist(toolz) >= 0.7.3
|
||||
%if ! 0%{?bootstrap}
|
||||
BuildRequires: python3dist(distributed) >= 1.22
|
||||
%endif
|
||||
# Optional test requirements.
|
||||
# Fastavro does not support 32 bit architectures and is ExcludeArch:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1943932
|
||||
%ifnarch %{arm32} %{ix86}
|
||||
BuildRequires: python3dist(fastavro)
|
||||
%endif
|
||||
BuildRequires: python3dist(h5py)
|
||||
BuildRequires: python3dist(psutil)
|
||||
# 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)
|
||||
BuildRequires: python3dist(sqlalchemy)
|
||||
BuildRequires: python3dist(tables)
|
||||
BuildRequires: python3dist(zarr)
|
||||
|
||||
Recommends: python3-%{srcname}+array = %{version}-%{release}
|
||||
Recommends: python3-%{srcname}+bag = %{version}-%{release}
|
||||
Recommends: python3-%{srcname}+dataframe = %{version}-%{release}
|
||||
Recommends: python3-%{srcname}+delayed = %{version}-%{release}
|
||||
%if %{without bootstrap}
|
||||
Recommends: python3-%{srcname}+distributed = %{version}-%{release}
|
||||
%endif
|
||||
# No recent enough Bokeh is packaged
|
||||
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-3-Clause license
|
||||
# similar to that of dask itself.
|
||||
#
|
||||
# - dask/array/numpy_compat.py:
|
||||
# _Recurser, moveaxis, rollaxis, sliding_window_view
|
||||
# - dask/array/backends.py:
|
||||
# _tensordot
|
||||
# - dask/array/core.py:
|
||||
# block
|
||||
# - dask/array/einsumfuncs.py:
|
||||
# parse_einsum_input
|
||||
# - dask/array/routines.py:
|
||||
# cov, _average
|
||||
Provides: bundled(numpy)
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
|
||||
%pyproject_extras_subpkg -n python3-%{srcname} array bag dataframe delayed
|
||||
%if %{without bootstrap}
|
||||
%pyproject_extras_subpkg distributed
|
||||
%endif
|
||||
%package -n python3-%{srcname}+array
|
||||
Summary: Meta-package for python3-%{srcname} with array feature
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python3-%{srcname}+array}
|
||||
|
||||
Requires: python3-%{srcname} = %{version}-%{release}
|
||||
Requires: python3dist(numpy) >= 1.13.0
|
||||
Requires: python3dist(toolz) >= 0.7.3
|
||||
|
||||
%description -n python3-%{srcname}+array
|
||||
This package installs dask with dependencies required for its array feature.
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
|
||||
%if %{without bootstrap}
|
||||
%package -n python3-%{srcname}+bag
|
||||
Summary: Meta-package for python3-%{srcname} with bag feature
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python3-%{srcname}+bag}
|
||||
|
||||
Requires: python3-%{srcname} = %{version}-%{release}
|
||||
Requires: python3dist(cloudpickle) >= 0.2.1
|
||||
Requires: python3dist(partd) >= 0.3.8
|
||||
Requires: python3dist(toolz) >= 0.7.3
|
||||
|
||||
%description -n python3-%{srcname}+bag
|
||||
This package installs dask with dependencies required for its bag feature.
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
|
||||
%package -n python3-%{srcname}+dataframe
|
||||
Summary: Meta-package for python3-%{srcname} with dataframe feature
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python3-%{srcname}+dataframe}
|
||||
|
||||
Requires: python3-%{srcname} = %{version}-%{release}
|
||||
Requires: python3dist(cloudpickle) >= 0.2.1
|
||||
Requires: python3dist(numpy) >= 1.13.0
|
||||
Requires: python3dist(pandas) >= 0.21.0
|
||||
Requires: python3dist(partd) >= 0.3.8
|
||||
Requires: python3dist(toolz) >= 0.7.3
|
||||
|
||||
%description -n python3-%{srcname}+dataframe
|
||||
This package installs dask with dependencies required for its dataframe
|
||||
feature.
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
|
||||
%package -n python3-%{srcname}+delayed
|
||||
Summary: Meta-package for python3-%{srcname} with delayed feature
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python3-%{srcname}+delayed}
|
||||
|
||||
Requires: python3-%{srcname} = %{version}-%{release}
|
||||
Requires: python3dist(toolz) >= 0.7.3
|
||||
|
||||
%description -n python3-%{srcname}+delayed
|
||||
This package installs dask with dependencies required for its delayed feature.
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
|
||||
%package -n python3-%{srcname}+distributed
|
||||
Summary: Meta-package for python3-%{srcname} with distributed feature
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python3-%{srcname}+distributed}
|
||||
|
||||
Requires: python3-%{srcname} = %{version}-%{release}
|
||||
Requires: python3dist(distributed) >= 1.22
|
||||
|
||||
%description -n python3-%{srcname}+distributed
|
||||
This package installs dask with dependencies required for its distributed
|
||||
feature.
|
||||
Dask is a flexible parallel computing library for analytics.
|
||||
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%package -n python-%{srcname}-doc
|
||||
Summary: dask documentation
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3dist(dask_sphinx_theme) >= 1.3.5
|
||||
BuildRequires: python3dist(dask_sphinx_theme)
|
||||
BuildRequires: python3dist(numpydoc)
|
||||
BuildRequires: python3dist(sphinx) >= 4
|
||||
BuildRequires: python3dist(sphinx)
|
||||
|
||||
%description -n python-%{srcname}-doc
|
||||
Documentation for dask.
|
||||
Documentation for dask
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version} -p1
|
||||
# we don't use pre-commit when running tests
|
||||
sed -i '/"pre-commit"/d' setup.py
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r -x test,array,bag,dataframe,delayed
|
||||
%if %{without bootstrap}
|
||||
%pyproject_buildrequires -x distributed
|
||||
%endif
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{srcname}.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%py3_build
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if ! 0%{?bootstrap}
|
||||
# generate html docs
|
||||
PYTHONPATH=${PWD} sphinx-build-3 docs/source html
|
||||
# remove the sphinx-build leftovers
|
||||
@ -133,106 +157,49 @@ rm -rf html/.{doctrees,buildinfo}
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%pyproject_save_files %{srcname}
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
%ifarch arm
|
||||
# Is there a way to do this in one line?
|
||||
%global have_arm 1
|
||||
%endif
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
%{__python3} -m pytest -m 'not network'
|
||||
|
||||
%if 0%{?__isa_bits} == 32
|
||||
# read_sql_query with meta converts dtypes from 32 to 64.
|
||||
# https://github.com/dask/dask/issues/8620
|
||||
|
||||
# > tm.assert_frame_equal(
|
||||
# a, b, check_names=check_names, check_dtype=check_dtype, **kwargs
|
||||
# E AssertionError: Attributes of DataFrame.iloc[:, 1] (column name="age") are different
|
||||
# E
|
||||
# E Attribute "dtype" are different
|
||||
# E [left]: int32
|
||||
# E [right]: int64
|
||||
# dask/dataframe/utils.py:555: AssertionError
|
||||
k="${k-}${k+ and }not test_query_with_meta"
|
||||
%endif
|
||||
|
||||
%ifarch ppc64le
|
||||
# TODO: Should this be reported upstream? Is it a dask issue, or a numpy one?
|
||||
# Possibly related to
|
||||
# https://fedoraproject.org/wiki/Changes/PPC64LE_Float128_Transition?
|
||||
|
||||
# > assert allclose(a, b, equal_nan=equal_nan, **kwargs), msg
|
||||
# E AssertionError: found values in 'a' and 'b' which differ by more than the allowed amount
|
||||
# E assert False
|
||||
# E + where False = allclose(array([0.12586355-0.09957204j, 0.20256483+0.04098342j,\n 0.05781123-0.03588671j, 0.01135963-0.03334219j,\n 0.03747771+0.07495994j, 0.2106574 -0.0363521j ,\n 0.16352091+0.03782915j, 0.1381678 -0.06815128j,\n 0.03781295-0.04011523j, 0.01493269+0.07780643j]), array([0.12559072-0.07164038j, 0.20256483+0.05438578j,\n 0.05781123-0.03588671j, 0.01135963-0.03334219j,\n 0.03747771+0.07495994j, 0.2106574 -0.0363521j ,\n 0.16352091+0.03782915j, 0.1381678 -0.06815128j,\n 0.03781295-0.04011523j, 0.01493269+0.07780643j]), equal_nan=True, **{})
|
||||
# dask/array/utils.py:361: AssertionError
|
||||
k="${k-}${k+ and }not test_lstsq[100-10-10-True]"
|
||||
# > assert allclose(a, b, equal_nan=equal_nan, **kwargs), msg
|
||||
# E AssertionError: found values in 'a' and 'b' which differ by more than the allowed amount
|
||||
# E assert False
|
||||
# E + where False = allclose(array([ 0.20168675+0.08857556j, 0.144233 -0.19173091j,\n -0.03367557-0.08053959j, 0.04108325-0.24648308j,\n -0.01844576+0.00841932j, 0.29652375+0.05682199j,\n 0.05551828+0.20156798j, -0.08409592+0.02354949j,\n 0.09848743-0.00748637j, 0.22889193-0.07372773j]), array([ 0.20067551+0.2642591j , 0.144233 -0.18573336j,\n -0.03367557-0.08053959j, 0.04108325-0.24648308j,\n -0.01844576+0.00841932j, 0.29652375+0.05682199j,\n 0.05551828+0.20156798j, -0.08409592+0.02354949j,\n 0.09848743-0.00748637j, 0.22889193-0.07372773j]), equal_nan=True, **{})
|
||||
# dask/array/utils.py:361: AssertionError
|
||||
k="${k-}${k+ and }not test_lstsq[20-10-5-True]"
|
||||
|
||||
# test_vdot fails with NumPy 1.19.0
|
||||
# https://github.com/dask/dask/issues/6406
|
||||
#
|
||||
# vdot returns incorrect results on ppc64le
|
||||
# https://github.com/numpy/numpy/issues/17087
|
||||
|
||||
# > assert allclose(a, b, equal_nan=equal_nan, **kwargs), msg
|
||||
# E AssertionError: found values in 'a' and 'b' which differ by more than the allowed amount
|
||||
# E assert False
|
||||
# E + where False = allclose((0.38772781971416226-0.6851997484294434j), (0.38772781971416226-0.306563166009585j), equal_nan=True, **{})
|
||||
# dask/array/utils.py:361: AssertionError
|
||||
k="${k-}${k+ and }not test_vdot[shape0-chunks0]"
|
||||
# > assert allclose(a, b, equal_nan=equal_nan, **kwargs), msg
|
||||
# E AssertionError: found values in 'a' and 'b' which differ by more than the allowed amount
|
||||
# E assert False
|
||||
# E + where False = allclose((0.38772781971416226-0.6851997484294434j), (0.38772781971416226-0.306563166009585j), equal_nan=True, **{})
|
||||
# dask/array/utils.py:361: AssertionError
|
||||
k="${k-}${k+ and }not test_vdot[shape1-chunks1]"
|
||||
%endif
|
||||
|
||||
# This test compares against files in .github/. It does not work on the PyPI
|
||||
# sdist, and is only relevant to upstream CI anyway.
|
||||
#
|
||||
# test_development_guidelines_matches_ci fails from sdist
|
||||
# https://github.com/dask/dask/issues/8499
|
||||
k="${k-}${k+ and }not test_development_guidelines_matches_ci"
|
||||
|
||||
pytest_args=(
|
||||
-m 'not network'
|
||||
|
||||
-n %[0%{?have_arm}?"2":"auto"]
|
||||
|
||||
%ifarch %{ix86}
|
||||
# Ignore 32-bit warning
|
||||
-W 'ignore:invalid value encountered in cast:RuntimeWarning'
|
||||
%endif
|
||||
|
||||
-k "${k-}"
|
||||
|
||||
--pyargs dask
|
||||
)
|
||||
|
||||
cd docs
|
||||
%{pytest} "${pytest_args[@]}"
|
||||
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%files -n python3-%{srcname}
|
||||
%doc README.rst
|
||||
%license LICENSE.txt dask/array/NUMPY_LICENSE.txt
|
||||
%{_bindir}/dask
|
||||
%license LICENSE.txt
|
||||
%{python3_sitelib}/%{srcname}
|
||||
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files -n python3-%{srcname}+array
|
||||
%files -n python3-%{srcname}+bag
|
||||
%files -n python3-%{srcname}+dataframe
|
||||
%files -n python3-%{srcname}+delayed
|
||||
%files -n python3-%{srcname}+distributed
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%files -n python-%{srcname}-doc
|
||||
%doc html
|
||||
%license LICENSE.txt dask/array/NUMPY_LICENSE.txt
|
||||
%license LICENSE.txt
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Sat Apr 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Mon Apr 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.5-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.4-1
|
||||
- Update to latest version
|
||||
- Remove now unnecessary patches
|
||||
|
||||
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-3
|
||||
- Mark partitioning test as expected failure on 32-bit systems as well
|
||||
|
||||
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-2
|
||||
- Add meta-subpackages for individual features
|
||||
|
||||
* Sat Mar 02 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-1
|
||||
- Initial package.
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (dask-2023.4.1.tar.gz) = 2fad1317aad845f7b11d8efceafb11eb9e945aca649bcf7ccd71e8692c3ca18c6f595c82b4e2930cba4e9622dd384965b3cf0ea3f68bdbc2f6f18c7a2d806b26
|
||||
SHA512 (dask-1.2.1.tar.gz) = 3fde4a1834a7626df0e2a0a91805c5906c58f92b033583b04c535956da311aff09bbebc20872850454172dfbf18fd5d163b6281df25a28a284cd5ba36a212213
|
||||
|
Loading…
Reference in New Issue
Block a user