14
0

- update to 2.2.0:

- Report the architecture of the CPU cores detected by OpenBLAS
    (`openblas_get_corename`) in `threadpool_info()` and BLIS
    (`bli_arch_query_id` and `bli_arch_string`).
  - Fixed a bug when the version of MKL was not found. The
    "version" field is now set to None in that case.
    https://github.com/joblib/threadpoolctl/pull/82

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=5
This commit is contained in:
2021-07-19 06:29:22 +00:00
committed by Git OBS Bridge
parent f6bfeb9289
commit f07c0fc060
4 changed files with 16 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-threadpoolctl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-threadpoolctl
Version: 2.1.0
Version: 2.2.0
Release: 0
Summary: Thread-pool Controls
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/joblib/threadpoolctl
Source: https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-%{version}.tar.gz
# fix python executable in tests
Patch0: python_executable.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -43,7 +41,6 @@ and OpenMP implementations).
%prep
%setup -q -n threadpoolctl-%{version}
%patch0 -p1
%build
%python_build