2019-03-07 00:58:51 +00:00
|
|
|
%global srcname dask
|
|
|
|
|
|
|
|
# Requires distributed, which is a loop.
|
2019-09-14 07:48:43 +00:00
|
|
|
# Also, some tests require packages that require dask itself.
|
2019-03-07 00:58:51 +00:00
|
|
|
# Force bootstrap for package review.
|
2019-07-23 05:48:25 +00:00
|
|
|
%bcond_without bootstrap
|
2019-03-07 00:58:51 +00:00
|
|
|
|
|
|
|
Name: python-%{srcname}
|
2019-09-28 07:21:26 +00:00
|
|
|
Version: 2.5.0
|
2019-09-12 23:25:11 +00:00
|
|
|
Release: 1%{?dist}
|
2019-03-07 00:58:51 +00:00
|
|
|
Summary: Parallel PyData with Task Scheduling
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: http://github.com/dask/dask/
|
2019-04-01 07:07:38 +00:00
|
|
|
Source0: %pypi_source
|
2019-03-10 01:01:50 +00:00
|
|
|
# https://github.com/dask/dask/issues/4561
|
2019-03-10 01:30:56 +00:00
|
|
|
Patch0001: 0001-XFail-partitioning-test-on-some-arches.patch
|
2019-03-07 00:58:51 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Dask is a flexible parallel computing library for analytics.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3dist(cloudpickle) >= 0.2.1
|
2019-09-28 07:21:26 +00:00
|
|
|
BuildRequires: python3dist(fsspec) >= 0.5.1
|
2019-03-07 00:58:51 +00:00
|
|
|
BuildRequires: python3dist(graphviz)
|
|
|
|
BuildRequires: python3dist(ipython)
|
2019-07-04 14:21:49 +00:00
|
|
|
BuildRequires: python3dist(numpy) >= 1.13
|
|
|
|
BuildRequires: python3dist(pandas) >= 0.21
|
2019-07-23 05:48:25 +00:00
|
|
|
BuildRequires: python3dist(partd) >= 0.3.10
|
2019-03-07 00:58:51 +00:00
|
|
|
BuildRequires: python3dist(pytest)
|
2019-09-14 07:48:43 +00:00
|
|
|
BuildRequires: python3dist(pytest-xdist)
|
2019-03-07 00:58:51 +00:00
|
|
|
BuildRequires: python3dist(pyyaml)
|
|
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
BuildRequires: python3dist(toolz) >= 0.7.3
|
2019-07-23 06:43:50 +00:00
|
|
|
%if %{without bootstrap}
|
2019-07-23 05:48:25 +00:00
|
|
|
BuildRequires: python3dist(distributed) >= 2
|
2019-09-14 07:48:43 +00:00
|
|
|
BuildRequires: python3dist(scikit-image)
|
|
|
|
BuildRequires: python3dist(xarray)
|
2019-03-07 00:58:51 +00:00
|
|
|
%endif
|
2019-09-14 07:48:43 +00:00
|
|
|
# Optional test requirements.
|
|
|
|
BuildRequires: python3dist(fastavro)
|
|
|
|
BuildRequires: python3dist(h5py)
|
|
|
|
BuildRequires: python3dist(psutil)
|
|
|
|
BuildRequires: python3dist(requests)
|
|
|
|
BuildRequires: python3dist(sqlalchemy)
|
|
|
|
BuildRequires: python3dist(zarr)
|
2019-03-07 00:58:51 +00:00
|
|
|
|
2019-03-07 01:38:30 +00:00
|
|
|
Recommends: python3-%{srcname}+array = %{version}-%{release}
|
|
|
|
Recommends: python3-%{srcname}+bag = %{version}-%{release}
|
|
|
|
Recommends: python3-%{srcname}+dataframe = %{version}-%{release}
|
|
|
|
Recommends: python3-%{srcname}+delayed = %{version}-%{release}
|
|
|
|
Recommends: python3-%{srcname}+distributed = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
Dask is a flexible parallel computing library for analytics.
|
|
|
|
|
|
|
|
|
|
|
|
%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}
|
2019-07-04 14:21:49 +00:00
|
|
|
Requires: python3dist(numpy) >= 1.13
|
2019-03-07 01:38:30 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
2019-09-28 07:21:26 +00:00
|
|
|
Requires: python3dist(fsspec) >= 0.5.1
|
2019-03-07 01:38:30 +00:00
|
|
|
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}
|
2019-03-07 00:58:51 +00:00
|
|
|
Requires: python3dist(cloudpickle) >= 0.2.1
|
2019-09-28 07:21:26 +00:00
|
|
|
Requires: python3dist(fsspec) >= 0.5.1
|
2019-07-04 14:21:49 +00:00
|
|
|
Requires: python3dist(numpy) >= 1.13
|
|
|
|
Requires: python3dist(pandas) >= 0.21
|
2019-03-07 00:58:51 +00:00
|
|
|
Requires: python3dist(partd) >= 0.3.8
|
|
|
|
Requires: python3dist(toolz) >= 0.7.3
|
|
|
|
|
2019-03-07 01:38:30 +00:00
|
|
|
%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}
|
2019-07-23 05:48:25 +00:00
|
|
|
Requires: python3dist(distributed) >= 2
|
2019-03-07 01:38:30 +00:00
|
|
|
|
|
|
|
%description -n python3-%{srcname}+distributed
|
|
|
|
This package installs dask with dependencies required for its distributed
|
|
|
|
feature.
|
2019-03-07 00:58:51 +00:00
|
|
|
Dask is a flexible parallel computing library for analytics.
|
|
|
|
|
|
|
|
|
2019-07-23 06:43:50 +00:00
|
|
|
%if %{without bootstrap}
|
2019-03-07 00:58:51 +00:00
|
|
|
%package -n python-%{srcname}-doc
|
|
|
|
Summary: dask documentation
|
|
|
|
|
|
|
|
BuildRequires: python3dist(dask_sphinx_theme)
|
|
|
|
BuildRequires: python3dist(numpydoc)
|
|
|
|
BuildRequires: python3dist(sphinx)
|
|
|
|
|
|
|
|
%description -n python-%{srcname}-doc
|
|
|
|
Documentation for dask
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-%{version} -p1
|
|
|
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
rm -rf %{srcname}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
2019-07-23 06:43:50 +00:00
|
|
|
%if %{without bootstrap}
|
2019-03-07 00:58:51 +00:00
|
|
|
# generate html docs
|
|
|
|
PYTHONPATH=${PWD} sphinx-build-3 docs/source html
|
|
|
|
# remove the sphinx-build leftovers
|
|
|
|
rm -rf html/.{doctrees,buildinfo}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2019-09-14 07:48:43 +00:00
|
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
%ifarch armv7hl
|
|
|
|
%{__python3} -m pytest -m 'not network' -n 2
|
|
|
|
%else
|
|
|
|
%{__python3} -m pytest -m 'not network' -n auto
|
|
|
|
%endif
|
2019-03-07 00:58:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{python3_sitelib}/%{srcname}
|
|
|
|
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
|
|
|
|
|
2019-03-07 01:38:30 +00:00
|
|
|
%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
|
|
|
|
|
2019-07-23 06:43:50 +00:00
|
|
|
%if %{without bootstrap}
|
2019-03-07 00:58:51 +00:00
|
|
|
%files -n python-%{srcname}-doc
|
|
|
|
%doc html
|
|
|
|
%license LICENSE.txt
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-09-28 07:21:26 +00:00
|
|
|
* Sat Sep 28 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-09-14 00:09:50 +00:00
|
|
|
* Fri Sep 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-09-12 23:25:11 +00:00
|
|
|
* Thu Sep 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-08-19 08:33:48 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 12:58:43 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-23 05:48:25 +00:00
|
|
|
* Tue Jul 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-04-13 04:56:43 +00:00
|
|
|
* Sat Apr 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-04-01 07:07:38 +00:00
|
|
|
* Mon Apr 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.5-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-03-10 01:30:56 +00:00
|
|
|
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.4-1
|
|
|
|
- Update to latest version
|
|
|
|
- Remove now unnecessary patches
|
2019-03-10 01:01:50 +00:00
|
|
|
|
2019-03-07 03:49:06 +00:00
|
|
|
* 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
|
|
|
|
|
2019-03-07 01:38:30 +00:00
|
|
|
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-2
|
|
|
|
- Add meta-subpackages for individual features
|
|
|
|
|
2019-03-07 00:58:51 +00:00
|
|
|
* Sat Mar 02 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-1
|
|
|
|
- Initial package.
|