forked from pool/python-threadpoolctl
- update to 3.1.0:
* Fixed a detection issue of the BLAS libraires packaged by conda-forge on Windows. https://github.com/joblib/threadpoolctl/pull/112 * `threadpool_limits` and `ThreadpoolController.limit` now accept the string "sequential_blas_under_openmp" for the `limits` parameter. It should only be used for the specific case when one wants to have sequential BLAS calls within an OpenMP parallel region. It takes into account the unexpected behavior of OpenBLAS with the OpenMP threading layer. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-threadpoolctl
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-threadpoolctl
|
||||
Version: 3.0.0
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: Thread-pool Controls
|
||||
License: BSD-3-Clause
|
||||
@@ -27,6 +27,9 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/joblib/threadpoolctl
|
||||
Source: https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pep517}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -43,10 +46,10 @@ and OpenMP implementations).
|
||||
%setup -q -n threadpoolctl-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user