325cfc4
%global srcname dask
325cfc4
325cfc4
# Requires distributed, which is a loop.
f882b41
# Also, some tests require packages that require dask itself.
325cfc4
# Force bootstrap for package review.
418969d
%bcond_without bootstrap
325cfc4
325cfc4
Name:           python-%{srcname}
5640cf1
Version:        2.30.0
f9a4ec6
Release:        1%{?dist}
325cfc4
Summary:        Parallel PyData with Task Scheduling
325cfc4
325cfc4
License:        BSD
537814a
URL:            https://github.com/dask/dask/
361d6f0
Source0:        %pypi_source
325cfc4
325cfc4
BuildArch:      noarch
325cfc4
325cfc4
%description
325cfc4
Dask is a flexible parallel computing library for analytics.
325cfc4
325cfc4
325cfc4
%package -n     python3-%{srcname}
325cfc4
Summary:        %{summary}
325cfc4
%{?python_provide:%python_provide python3-%{srcname}}
325cfc4
325cfc4
BuildRequires:  python3-devel
46125c6
%global cloudpickle_version 0.2.2
537814a
BuildRequires:  python3dist(cloudpickle) >= %{cloudpickle_version}
537814a
%global fsspec_version 0.6
537814a
BuildRequires:  python3dist(fsspec) >= %{fsspec_version}
325cfc4
BuildRequires:  python3dist(graphviz)
325cfc4
BuildRequires:  python3dist(ipython)
537814a
%global numpy_version 1.13
537814a
BuildRequires:  python3dist(numpy) >= %{numpy_version}
537814a
%global pandas_version 0.23
537814a
BuildRequires:  python3dist(pandas) >= %{pandas_version}
537814a
%global partd_version 0.3.10
537814a
BuildRequires:  python3dist(partd) >= %{partd_version}
325cfc4
BuildRequires:  python3dist(pytest)
f882b41
BuildRequires:  python3dist(pytest-xdist)
325cfc4
BuildRequires:  python3dist(pyyaml)
325cfc4
BuildRequires:  python3dist(setuptools)
46125c6
%global toolz_version 0.8.2
537814a
BuildRequires:  python3dist(toolz) >= %{toolz_version}
c3b3086
%if %{without bootstrap}
537814a
%global distributed_version 2
537814a
BuildRequires:  python3dist(distributed) >= %{distributed_version}
f882b41
BuildRequires:  python3dist(scikit-image)
f882b41
BuildRequires:  python3dist(xarray)
325cfc4
%endif
f882b41
# Optional test requirements.
f882b41
BuildRequires:  python3dist(fastavro)
f882b41
BuildRequires:  python3dist(h5py)
f882b41
BuildRequires:  python3dist(psutil)
f882b41
BuildRequires:  python3dist(requests)
f882b41
BuildRequires:  python3dist(sqlalchemy)
f882b41
BuildRequires:  python3dist(zarr)
325cfc4
0e49bd2
Recommends:     python3-%{srcname}+array = %{version}-%{release}
0e49bd2
Recommends:     python3-%{srcname}+bag = %{version}-%{release}
0e49bd2
Recommends:     python3-%{srcname}+dataframe = %{version}-%{release}
0e49bd2
Recommends:     python3-%{srcname}+delayed = %{version}-%{release}
45461af
%if %{without bootstrap}
0e49bd2
Recommends:     python3-%{srcname}+distributed = %{version}-%{release}
45461af
%endif
0e49bd2
0e49bd2
%description -n python3-%{srcname}
0e49bd2
Dask is a flexible parallel computing library for analytics.
0e49bd2
0e49bd2
0e49bd2
%package -n     python3-%{srcname}+array
0e49bd2
Summary:        Meta-package for python3-%{srcname} with array feature
0e49bd2
BuildArch:      noarch
0e49bd2
%{?python_provide:%python_provide python3-%{srcname}+array}
0e49bd2
0e49bd2
Requires:       python3-%{srcname} = %{version}-%{release}
537814a
Requires:       python3dist(numpy) >= %{numpy_version}
537814a
Requires:       python3dist(toolz) >= %{toolz_version}
0e49bd2
0e49bd2
%description -n python3-%{srcname}+array
0e49bd2
This package installs dask with dependencies required for its array feature.
0e49bd2
Dask is a flexible parallel computing library for analytics.
0e49bd2
0e49bd2
0e49bd2
%package -n     python3-%{srcname}+bag
0e49bd2
Summary:        Meta-package for python3-%{srcname} with bag feature
0e49bd2
BuildArch:      noarch
0e49bd2
%{?python_provide:%python_provide python3-%{srcname}+bag}
0e49bd2
0e49bd2
Requires:       python3-%{srcname} = %{version}-%{release}
537814a
Requires:       python3dist(cloudpickle) >= %{cloudpickle_version}
537814a
Requires:       python3dist(fsspec) >= %{fsspec_version}
537814a
Requires:       python3dist(partd) >= %{partd_version}
537814a
Requires:       python3dist(toolz) >= %{toolz_version}
0e49bd2
0e49bd2
%description -n python3-%{srcname}+bag
0e49bd2
This package installs dask with dependencies required for its bag feature.
0e49bd2
Dask is a flexible parallel computing library for analytics.
0e49bd2
0e49bd2
0e49bd2
%package -n     python3-%{srcname}+dataframe
0e49bd2
Summary:        Meta-package for python3-%{srcname} with dataframe feature
0e49bd2
BuildArch:      noarch
0e49bd2
%{?python_provide:%python_provide python3-%{srcname}+dataframe}
0e49bd2
0e49bd2
Requires:       python3-%{srcname} = %{version}-%{release}
537814a
Requires:       python3dist(fsspec) >= %{fsspec_version}
537814a
Requires:       python3dist(numpy) >= %{numpy_version}
537814a
Requires:       python3dist(pandas) >= %{pandas_version}
537814a
Requires:       python3dist(partd) >= %{partd_version}
537814a
Requires:       python3dist(toolz) >= %{toolz_version}
325cfc4
0e49bd2
%description -n python3-%{srcname}+dataframe
0e49bd2
This package installs dask with dependencies required for its dataframe
0e49bd2
feature.
0e49bd2
Dask is a flexible parallel computing library for analytics.
0e49bd2
0e49bd2
0e49bd2
%package -n     python3-%{srcname}+delayed
0e49bd2
Summary:        Meta-package for python3-%{srcname} with delayed feature
0e49bd2
BuildArch:      noarch
0e49bd2
%{?python_provide:%python_provide python3-%{srcname}+delayed}
0e49bd2
0e49bd2
Requires:       python3-%{srcname} = %{version}-%{release}
8d66cb3
Requires:       python3dist(cloudpickle) >= %{cloudpickle_version}
537814a
Requires:       python3dist(toolz) >= %{toolz_version}
0e49bd2
0e49bd2
%description -n python3-%{srcname}+delayed
0e49bd2
This package installs dask with dependencies required for its delayed feature.
0e49bd2
Dask is a flexible parallel computing library for analytics.
0e49bd2
0e49bd2
45461af
%if %{without bootstrap}
0e49bd2
%package -n     python3-%{srcname}+distributed
0e49bd2
Summary:        Meta-package for python3-%{srcname} with distributed feature
0e49bd2
BuildArch:      noarch
0e49bd2
%{?python_provide:%python_provide python3-%{srcname}+distributed}
0e49bd2
0e49bd2
Requires:       python3-%{srcname} = %{version}-%{release}
537814a
Requires:       python3dist(distributed) >= %{distributed_version}
0e49bd2
0e49bd2
%description -n python3-%{srcname}+distributed
0e49bd2
This package installs dask with dependencies required for its distributed
0e49bd2
feature.
325cfc4
Dask is a flexible parallel computing library for analytics.
45461af
%endif
325cfc4
325cfc4
c3b3086
%if %{without bootstrap}
325cfc4
%package -n python-%{srcname}-doc
325cfc4
Summary:        dask documentation
325cfc4
325cfc4
BuildRequires:  python3dist(dask_sphinx_theme)
325cfc4
BuildRequires:  python3dist(numpydoc)
325cfc4
BuildRequires:  python3dist(sphinx)
325cfc4
325cfc4
%description -n python-%{srcname}-doc
325cfc4
Documentation for dask
325cfc4
%endif
325cfc4
325cfc4
325cfc4
%prep
325cfc4
%autosetup -n %{srcname}-%{version} -p1
325cfc4
325cfc4
# Remove bundled egg-info
325cfc4
rm -rf %{srcname}.egg-info
325cfc4
325cfc4
325cfc4
%build
325cfc4
%py3_build
325cfc4
c3b3086
%if %{without bootstrap}
325cfc4
# generate html docs
325cfc4
PYTHONPATH=${PWD} sphinx-build-3 docs/source html
325cfc4
# remove the sphinx-build leftovers
325cfc4
rm -rf html/.{doctrees,buildinfo}
325cfc4
%endif
325cfc4
325cfc4
325cfc4
%install
325cfc4
%py3_install
325cfc4
325cfc4
325cfc4
%check
f882b41
%ifarch armv7hl
0482ca9
    %{pytest} -m 'not network' -n 2
f882b41
%else
0482ca9
    %{pytest} -m 'not network' -n auto
f882b41
%endif
325cfc4
325cfc4
325cfc4
%files -n python3-%{srcname}
325cfc4
%doc README.rst
325cfc4
%license LICENSE.txt
0482ca9
%{python3_sitelib}/%{srcname}/
0482ca9
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
325cfc4
0e49bd2
%files -n python3-%{srcname}+array
5c406a2
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
5c406a2
0e49bd2
%files -n python3-%{srcname}+bag
5c406a2
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
5c406a2
0e49bd2
%files -n python3-%{srcname}+dataframe
5c406a2
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
5c406a2
0e49bd2
%files -n python3-%{srcname}+delayed
5c406a2
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
5c406a2
45461af
%if %{without bootstrap}
0e49bd2
%files -n python3-%{srcname}+distributed
5c406a2
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
45461af
%endif
0e49bd2
c3b3086
%if %{without bootstrap}
325cfc4
%files -n python-%{srcname}-doc
325cfc4
%doc html
325cfc4
%license LICENSE.txt
325cfc4
%endif
325cfc4
325cfc4
325cfc4
%changelog
5640cf1
* Sat Oct 10 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.30.0-1
5640cf1
- Update to latest version (#1884852)
5640cf1
9a3ca16
* Mon Oct 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.29.0-1
9a3ca16
- Update to latest version (#1884852)
9a3ca16
2787c55
* Sat Sep 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.28.0-1
2787c55
- Update to latest version (#1882873)
2787c55
d72f5d3
* Fri Sep 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.27.0-1
d72f5d3
- Update to latest version (#1880693)
d72f5d3
49f7f31
* Sat Sep 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.26.0-1
49f7f31
- Update to latest version (#1878309)
49f7f31
62a1cee
* Fri Aug 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.25.0-1
62a1cee
- Update to latest version (#1873659)
62a1cee
2d34938
* Sun Aug 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.24.0-1
2d34938
- Update to latest version (#1871358)
2d34938
d873d94
* Sat Aug 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.23.0-1
d873d94
- Update to latest version (#1868951)
d873d94
f9a4ec6
* Sun Aug 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.22.0-1
f9a4ec6
- Update to latest version
f9a4ec6
f79e3d2
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.21.0-2
f79e3d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f79e3d2
4b775f9
* Sat Jul 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.21.0-1
4b775f9
- Update to latest version
4b775f9
5c406a2
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 2.20.0-2
5c406a2
- Add metadata for Python extras subpackages
5c406a2
0482ca9
* Sun Jul 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.20.0-1
0482ca9
- Update to latest version
0482ca9
089623b
* Sat Jun 06 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.18.0-1
089623b
- Update to latest version
089623b
8213558
* Sun May 31 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.17.2-1
8213558
- Update to latest version
8213558
d34b4e9
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.16.0-2
d34b4e9
- Rebuilt for Python 3.9
d34b4e9
11bf8ac
* Sat May 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.16.0-1
11bf8ac
- Update to latest version
11bf8ac
66d6fa5
* Wed Apr 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.14.0-1
66d6fa5
- Update to latest version
66d6fa5
46125c6
* Thu Mar 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.13.0-1
46125c6
- Update to latest version
46125c6
d153afc
* Sat Mar 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.12.0-1
d153afc
- Update to latest version
d153afc
8d66cb3
* Fri Feb 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-3
8d66cb3
- Fix typo in dependency
f09541e
- Fix flaky test
8d66cb3
537814a
* Wed Feb 19 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-2
537814a
- Fix minimum dependency versions
537814a
- Make keeping minimum dependency versions in sync a bit easier
537814a
66bede2
* Wed Feb 19 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-1
66bede2
- Update to latest version
66bede2
cea7123
* Fri Feb 14 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.10.1-1
cea7123
- Update to latest version
cea7123
ef8f2c6
* Tue Jan 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.10.0-1
ef8f2c6
- Update to latest version
ef8f2c6
b033698
* Thu Jan 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.9.1-1
b033698
- Update to latest version
b033698
cc8b3eb
* Fri Nov 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.1-1
cc8b3eb
- Update to latest version
cc8b3eb
839d10f
* Thu Nov 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.0-1
839d10f
- Update to latest version
839d10f
45461af
* Tue Nov 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.0-1
45461af
- Update to latest version
45461af
- Disabled distributed subpackage until it's available
45461af
56d491e
* Thu Oct 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.0-1
56d491e
- Update to latest version
56d491e
23a524e
* Sat Oct 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.2-1
23a524e
- Update to latest version
23a524e
fa0cdbd
* Sat Sep 28 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.0-1
fa0cdbd
- Update to latest version
fa0cdbd
28bf35d
* Fri Sep 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.0-1
28bf35d
- Update to latest version
28bf35d
42ee5dc
* Thu Sep 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.0-1
42ee5dc
- Update to latest version
42ee5dc
4955386
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-3
4955386
- Rebuilt for Python 3.8
4955386
782e03c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
782e03c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
782e03c
418969d
* Tue Jul 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.0-1
418969d
- Update to latest version
418969d
1f11f51
* Sat Apr 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
1f11f51
- Update to latest version
1f11f51
361d6f0
* Mon Apr 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.5-1
361d6f0
- Update to latest version
361d6f0
4462903
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.4-1
4462903
- Update to latest version
4462903
- Remove now unnecessary patches
e2bcbfc
7277876
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-3
7277876
- Mark partitioning test as expected failure on 32-bit systems as well
7277876
0e49bd2
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-2
0e49bd2
- Add meta-subpackages for individual features
0e49bd2
325cfc4
* Sat Mar 02 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-1
325cfc4
- Initial package.