Accepting request 1132143 from devel:languages:python

- update to 3.2.0:
  * Dropped support for Python 3.6 and 3.7.
  * Added support for custom library controllers. Custom
    controllers must inherit from the `threadpoolctl.LibController`
    class and be registered to threadpoolctl using the
    `threadpoolctl.register` function.

    manager (equivalent to `threadpoolctl.threadpool_limits()`).

OBS-URL: https://build.opensuse.org/request/show/1132143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-threadpoolctl?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2023-12-09 21:49:32 +00:00 committed by Git OBS Bridge
commit d33156ce70
4 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 8 16:25:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.2.0:
* Dropped support for Python 3.6 and 3.7.
* Added support for custom library controllers. Custom
controllers must inherit from the `threadpoolctl.LibController`
class and be registered to threadpoolctl using the
`threadpoolctl.register` function.
-------------------------------------------------------------------
Sat Jun 10 17:41:18 UTC 2023 - ecsos <ecsos@opensuse.org>
@ -30,7 +40,7 @@ Sat Oct 16 22:16:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
supported native libraries. The states of these libraries is accessible through the
`info` method (equivalent to `threadpoolctl.threadpool_info()`) and their number of
threads can be limited with the `limit` method which can be used as a context
manager (equivalent to `threadpoolctl.threadpool_limits()`).
manager (equivalent to `threadpoolctl.threadpool_limits()`).
- Added support for OpenBLAS built for 64bit integers in Fortran.
- Added the possibility to use `threadpoolctl.threadpool_limits` and
`threadpooctl.ThreadpoolController` as decorators through their `wrap` method.

View File

@ -15,16 +15,17 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-threadpoolctl
Version: 3.1.0
Version: 3.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
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}

BIN
threadpoolctl-3.1.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c96a0ba3bdddeaca37dc4cc7344aafad41cdb8c313f74fdfe387a867bba93355
size 36266