From 795029435bb0e8873ec88f80079c51ae663992392276def98028535d44df5c99 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 22:17:55 +0000 Subject: [PATCH] - update to 3.0.0: - New object `threadpooctl.ThreadpoolController` which holds controllers for all the 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()`). - 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. - Fixed an attribute error when using old versions of OpenBLAS or BLIS that are missing version query functions. - Fixed an attribute error when python is run with -OO. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=7 --- python-threadpoolctl.changes | 16 ++++++++++++++++ python-threadpoolctl.spec | 2 +- threadpoolctl-2.2.0.tar.gz | 3 --- threadpoolctl-3.0.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 threadpoolctl-2.2.0.tar.gz create mode 100644 threadpoolctl-3.0.0.tar.gz diff --git a/python-threadpoolctl.changes b/python-threadpoolctl.changes index 9f94671..e9c2de8 100644 --- a/python-threadpoolctl.changes +++ b/python-threadpoolctl.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Oct 16 22:16:06 UTC 2021 - Dirk Müller + +- update to 3.0.0: + - New object `threadpooctl.ThreadpoolController` which holds controllers for all the + 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()`). + - 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. + - Fixed an attribute error when using old versions of OpenBLAS or BLIS that are + missing version query functions. + - Fixed an attribute error when python is run with -OO. + ------------------------------------------------------------------- Mon Jul 19 06:27:59 UTC 2021 - Dirk Müller diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 4373f84..39bf4a0 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-threadpoolctl -Version: 2.2.0 +Version: 3.0.0 Release: 0 Summary: Thread-pool Controls License: BSD-3-Clause diff --git a/threadpoolctl-2.2.0.tar.gz b/threadpoolctl-2.2.0.tar.gz deleted file mode 100644 index a5b09b1..0000000 --- a/threadpoolctl-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86d4b6801456d780e94681d155779058759eaef3c3564758b17b6c99db5f81cb -size 27247 diff --git a/threadpoolctl-3.0.0.tar.gz b/threadpoolctl-3.0.0.tar.gz new file mode 100644 index 0000000..36e5a00 --- /dev/null +++ b/threadpoolctl-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d03115321233d0be715f0d3a5ad1d6c065fe425ddc2d671ca8e45e9fd5d7a52a +size 32322