python-dask/python-dask.spec

407 lines
14 KiB
RPMSpec
Raw Normal View History

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}
2021-06-20 03:32:43 +00:00
Version: 2021.6.1
2021-06-13 08:56:42 +00:00
Release: 1%{?dist}
2019-03-07 00:58:51 +00:00
Summary: Parallel PyData with Task Scheduling
License: BSD
2020-02-20 04:59:31 +00:00
URL: https://github.com/dask/dask/
2019-04-01 07:07:38 +00:00
Source0: %pypi_source
# https://github.com/dask/dask/issues/6725
Patch0001: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch
2021-06-20 06:20:01 +00:00
# https://github.com/dask/dask/pull/7280
Patch0002: 0002-Use-packaging-for-version-comparisons.patch
# https://github.com/dask/dask/pull/7661
Patch0003: 0003-fix-index_col-duplication-if-index_col-is-type-str.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
2020-03-26 08:27:22 +00:00
%global cloudpickle_version 0.2.2
2020-02-20 04:59:31 +00:00
BuildRequires: python3dist(cloudpickle) >= %{cloudpickle_version}
%global fsspec_version 0.6
BuildRequires: python3dist(fsspec) >= %{fsspec_version}
2019-03-07 00:58:51 +00:00
BuildRequires: python3dist(graphviz)
BuildRequires: python3dist(ipython)
2021-01-19 07:33:52 +00:00
%global numpy_version 1.15.1
2020-02-20 04:59:31 +00:00
BuildRequires: python3dist(numpy) >= %{numpy_version}
2021-01-19 07:33:52 +00:00
%global pandas_version 0.25
2020-02-20 04:59:31 +00:00
BuildRequires: python3dist(pandas) >= %{pandas_version}
%global partd_version 0.3.10
BuildRequires: python3dist(partd) >= %{partd_version}
2019-03-07 00:58:51 +00:00
BuildRequires: python3dist(pytest)
2021-03-07 08:08:55 +00:00
BuildRequires: python3dist(pytest-rerunfailures)
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)
2020-03-26 08:27:22 +00:00
%global toolz_version 0.8.2
2020-02-20 04:59:31 +00:00
BuildRequires: python3dist(toolz) >= %{toolz_version}
2019-07-23 06:43:50 +00:00
%if %{without bootstrap}
2021-06-13 19:22:27 +00:00
%global distributed_version 2021.6
2020-02-20 04:59:31 +00:00
BuildRequires: python3dist(distributed) >= %{distributed_version}
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
Recommends: python3-%{srcname}+array = %{version}-%{release}
Recommends: python3-%{srcname}+bag = %{version}-%{release}
Recommends: python3-%{srcname}+dataframe = %{version}-%{release}
Recommends: python3-%{srcname}+delayed = %{version}-%{release}
2019-11-13 03:04:07 +00:00
%if %{without bootstrap}
Recommends: python3-%{srcname}+distributed = %{version}-%{release}
2019-11-13 03:04:07 +00:00
%endif
%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}
2020-02-20 04:59:31 +00:00
Requires: python3dist(numpy) >= %{numpy_version}
Requires: python3dist(toolz) >= %{toolz_version}
%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}
2020-02-20 04:59:31 +00:00
Requires: python3dist(cloudpickle) >= %{cloudpickle_version}
Requires: python3dist(fsspec) >= %{fsspec_version}
Requires: python3dist(partd) >= %{partd_version}
Requires: python3dist(toolz) >= %{toolz_version}
%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}
2020-02-20 04:59:31 +00:00
Requires: python3dist(fsspec) >= %{fsspec_version}
Requires: python3dist(numpy) >= %{numpy_version}
Requires: python3dist(pandas) >= %{pandas_version}
Requires: python3dist(partd) >= %{partd_version}
Requires: python3dist(toolz) >= %{toolz_version}
2019-03-07 00:58:51 +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}
2020-02-21 09:52:13 +00:00
Requires: python3dist(cloudpickle) >= %{cloudpickle_version}
2020-02-20 04:59:31 +00:00
Requires: python3dist(toolz) >= %{toolz_version}
%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.
2019-11-13 03:04:07 +00:00
%if %{without bootstrap}
%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}
2020-02-20 04:59:31 +00:00
Requires: python3dist(distributed) >= %{distributed_version}
%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-11-13 03:04:07 +00:00
%endif
2019-03-07 00:58:51 +00:00
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
2021-01-19 07:33:52 +00:00
BuildRequires: python3dist(dask_sphinx_theme) >= 1.3.5
2019-03-07 00:58:51 +00:00
BuildRequires: python3dist(numpydoc)
BuildRequires: python3dist(sphinx)
%description -n python-%{srcname}-doc
2021-06-17 10:24:36 +00:00
Documentation for dask.
2019-03-07 00:58:51 +00:00
%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
2021-06-17 10:24:36 +00:00
%ifarch arm
# Is there a way to do this in one line?
%global have_arm 1
2019-09-14 07:48:43 +00:00
%endif
2019-03-07 00:58:51 +00:00
2021-06-17 10:24:36 +00:00
pytest_args=(
-m 'not network'
# https://bugzilla.redhat.com/show_bug.cgi?id=1968947#c4
2021-06-20 06:20:01 +00:00
--deselect=dask/dataframe/io/tests/test_sql.py::test_select_from_select
2021-06-17 10:24:36 +00:00
-n %[0%{?have_arm}?"2":"auto"]
)
%{pytest} "${pytest_args[@]}"
2019-03-07 00:58:51 +00:00
%files -n python3-%{srcname}
%doc README.rst
%license LICENSE.txt
2020-07-05 09:10:34 +00:00
%{python3_sitelib}/%{srcname}/
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
2019-03-07 00:58:51 +00:00
%files -n python3-%{srcname}+array
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
%files -n python3-%{srcname}+bag
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
%files -n python3-%{srcname}+dataframe
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
%files -n python3-%{srcname}+delayed
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
2019-11-13 03:04:07 +00:00
%if %{without bootstrap}
%files -n python3-%{srcname}+distributed
%{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info}
2019-11-13 03:04:07 +00:00
%endif
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
2021-06-20 03:32:43 +00:00
* Sat Jun 19 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.6.1-1
- Update to latest version (#1973783)
2021-06-17 10:24:36 +00:00
* Thu Jun 17 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2021.6.0-1
- Skip some failing tests for now
2021-06-13 08:56:42 +00:00
* Sun Jun 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2021.6.0-1
- Update to latest version (#1965698)
2021-06-04 18:27:49 +00:00
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2021.5.0-2
- Rebuilt for Python 3.10
2021-05-15 04:46:27 +00:00
* Sat May 15 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.5.0-1
- Update to latest version (#1960766)
2021-04-24 06:10:20 +00:00
* Sat Apr 24 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.4.1-1
- Update to latest version (#1953086)
2021-04-03 00:09:47 +00:00
* Fri Apr 02 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.4.0-1
- Update to latest version (#1943694)
2021-03-07 08:08:55 +00:00
* Sun Mar 07 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.3.0-1
- Update to latest version (#1936017)
2021-02-06 04:43:35 +00:00
* Fri Feb 05 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.2.0-1
- Update to latest version (#1925645)
2021-01-27 11:41:29 +00:00
* 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
2021-01-19 07:33:52 +00:00
* Tue Jan 19 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2021.1.0-1
- Update to latest version (#1906637)
2020-10-10 10:25:30 +00:00
* Sat Oct 10 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.30.0-1
- Update to latest version (#1884852)
2020-10-05 08:26:23 +00:00
* Mon Oct 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.29.0-1
- Update to latest version (#1884852)
2020-09-27 02:11:02 +00:00
* Sat Sep 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.28.0-1
- Update to latest version (#1882873)
2020-09-19 02:51:15 +00:00
* Fri Sep 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.27.0-1
- Update to latest version (#1880693)
2020-09-12 20:58:27 +00:00
* Sat Sep 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.26.0-1
- Update to latest version (#1878309)
2020-08-29 03:59:58 +00:00
* Fri Aug 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.25.0-1
- Update to latest version (#1873659)
2020-08-25 08:38:32 +00:00
* Sun Aug 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.24.0-1
- Update to latest version (#1871358)
2020-08-15 07:40:00 +00:00
* Sat Aug 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.23.0-1
- Update to latest version (#1868951)
2020-08-02 07:52:36 +00:00
* 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
2020-07-18 09:49:33 +00:00
* 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
2020-07-05 09:10:34 +00:00
* Sun Jul 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.20.0-1
- Update to latest version
2020-06-07 06:13:12 +00:00
* Sat Jun 06 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.18.0-1
- Update to latest version
2020-05-31 06:37:59 +00:00
* Sun May 31 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.17.2-1
- Update to latest version
2020-05-26 01:09:54 +00:00
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.16.0-2
- Rebuilt for Python 3.9
2020-05-10 04:43:24 +00:00
* Sat May 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.16.0-1
- Update to latest version
2020-04-08 08:02:36 +00:00
* Wed Apr 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.14.0-1
- Update to latest version
2020-03-26 08:27:22 +00:00
* Thu Mar 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.13.0-1
- Update to latest version
2020-03-07 06:29:53 +00:00
* Sat Mar 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.12.0-1
- Update to latest version
2020-02-21 09:52:13 +00:00
* Fri Feb 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-3
- Fix typo in dependency
2020-02-21 09:52:56 +00:00
- Fix flaky test
2020-02-21 09:52:13 +00:00
2020-02-20 04:59:31 +00:00
* 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
2020-02-20 03:50:29 +00:00
* Wed Feb 19 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-1
- Update to latest version
2020-02-15 02:18:48 +00:00
* Fri Feb 14 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.10.1-1
- Update to latest version
2020-01-28 21:26:19 +00:00
* Tue Jan 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.10.0-1
- Update to latest version
2020-01-09 09:58:47 +00:00
* Thu Jan 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.9.1-1
- Update to latest version
2019-11-23 04:51:37 +00:00
* Fri Nov 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.1-1
- Update to latest version
2019-11-22 06:27:53 +00:00
* Thu Nov 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.0-1
- Update to latest version
2019-11-13 03:04:07 +00:00
* 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
2019-10-17 07:30:02 +00:00
* Thu Oct 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.0-1
- Update to latest version
2019-10-05 23:13:24 +00:00
* Sat Oct 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.2-1
- Update to latest version
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
* 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
* 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
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.