2020-02-14 11:29:17 +08:00
|
|
|
%global pypi_name joblib
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
2023-07-23 15:25:49 +08:00
|
|
|
Version: 1.3.1
|
2023-04-07 15:56:24 +08:00
|
|
|
Release: 1
|
2020-02-14 11:29:17 +08:00
|
|
|
Summary: Utilities to provide lightweight pipelining in Python
|
2023-02-06 18:50:34 +08:00
|
|
|
License: BSD-3-clause
|
2020-02-14 11:29:17 +08:00
|
|
|
URL: https://joblib.readthedocs.io/en/latest/
|
2023-04-07 15:56:24 +08:00
|
|
|
Source0: https://github.com/joblib/joblib/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
2020-02-14 11:29:17 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel
|
2023-07-23 15:25:49 +08:00
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
2020-02-14 11:29:17 +08:00
|
|
|
#test requires
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-threadpoolctl
|
2023-07-23 15:25:49 +08:00
|
|
|
BuildRequires: procps-ng
|
2020-02-14 11:29:17 +08:00
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Joblib is a set of tools to provide lightweight pipelining in Python.
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name} %{_description}
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-02-06 18:50:34 +08:00
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
2020-02-14 11:29:17 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-07-23 15:25:49 +08:00
|
|
|
%pyproject_build
|
2020-02-14 11:29:17 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-07-23 15:25:49 +08:00
|
|
|
%pyproject_install
|
2020-02-14 11:29:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2021-02-01 16:40:29 +08:00
|
|
|
%{__python3} -m pytest -k "not test_parallel_call_cached_function_defined_in_jupyter"
|
2020-02-14 11:29:17 +08:00
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc README.rst CHANGES.rst
|
2023-07-23 15:25:49 +08:00
|
|
|
%{python3_sitelib}/%{pypi_name}-*.dist-info/
|
2020-02-14 11:29:17 +08:00
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-23 15:25:49 +08:00
|
|
|
* Sun Jul 23 2023 wangkai <13474090681@163.com> - 1.3.1-1
|
|
|
|
|
- Update to 1.3.1 for fix python3.11 build error
|
|
|
|
|
- Use pyproject to compile package
|
|
|
|
|
|
2023-04-07 15:56:24 +08:00
|
|
|
* Fri Apr 7 2023 caodongxia <caodongxia@h-partners.com> - 1.1.1-1
|
|
|
|
|
- Upgrade to 1.1.1
|
|
|
|
|
|
2023-02-06 18:50:34 +08:00
|
|
|
* Mon Feb 06 2023 Ge Wang <wangge20@h-partners.com> - 1.1.0-2
|
|
|
|
|
- Maint more informative assertion errors when warnings happen
|
|
|
|
|
|
2022-06-13 16:48:13 +08:00
|
|
|
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.1.0-1
|
|
|
|
|
- Upgrade to version 1.1.0
|
|
|
|
|
|
2021-02-01 16:40:29 +08:00
|
|
|
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 1.0.0-1
|
|
|
|
|
- upgrade version to 1.0.0
|
|
|
|
|
|
2020-10-29 11:24:23 +08:00
|
|
|
* Thu Oct 29 2020 tianwei<tianwei12@huawei.com> - 0.14.0-4
|
|
|
|
|
- delete python2 require
|
|
|
|
|
|
2020-02-14 11:29:17 +08:00
|
|
|
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 0.14.0-3
|
|
|
|
|
- Init package
|