From cc5f9a95d7663a93b8cb7385bd6d8826fa1f1f3e97ee999a874f9d2a326eb4ce Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 8 Dec 2023 16:26:32 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=14 --- python-threadpoolctl.changes | 12 +++++++++++- python-threadpoolctl.spec | 5 +++-- threadpoolctl-3.1.0.tar.gz | 3 --- threadpoolctl-3.2.0.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 threadpoolctl-3.1.0.tar.gz create mode 100644 threadpoolctl-3.2.0.tar.gz diff --git a/python-threadpoolctl.changes b/python-threadpoolctl.changes index f91f6bb..aadc633 100644 --- a/python-threadpoolctl.changes +++ b/python-threadpoolctl.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Dec 8 16:25:46 UTC 2023 - Dirk Müller + +- 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 @@ -30,7 +40,7 @@ Sat Oct 16 22:16:06 UTC 2021 - Dirk Müller 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. diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 727577c..c676646 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -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} diff --git a/threadpoolctl-3.1.0.tar.gz b/threadpoolctl-3.1.0.tar.gz deleted file mode 100644 index 101b257..0000000 --- a/threadpoolctl-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380 -size 33651 diff --git a/threadpoolctl-3.2.0.tar.gz b/threadpoolctl-3.2.0.tar.gz new file mode 100644 index 0000000..cd49a6c --- /dev/null +++ b/threadpoolctl-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c96a0ba3bdddeaca37dc4cc7344aafad41cdb8c313f74fdfe387a867bba93355 +size 36266