Package python3-module-threadpoolctl: Specfile

%define _unpackaged_files_terminate_build 1

%define oname threadpoolctl

Name: python3-module-%oname
Version: 2.1.0
Release: alt2

Summary: Thread-pool Controls
License: BSD-3-Clause
Group: Development/Python3

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-flit python3-module-pip

Python helpers to limit the number of threads used in the threadpool-backed
of common native libraries used for scientific computing and data science
(e.g. BLAS and OpenMP).

Fine control of the underlying thread-pool size can be useful in workloads
that involve nested parallelism so as to mitigate oversubscription issues.


flit build

pip%{_python3_version} install -I dist/%oname-%version-*-none-any.whl --root %buildroot --prefix %prefix --no-deps


* Sat Jul 17 2021 Michael Shigorin <> 2.1.0-alt2
- added explicit BR: python3-module-pip

* Mon Aug 10 2020 Aleksei Nikiforov <> 2.1.0-alt1
- Initial build for ALT.