diff --git a/python-threadpoolctl.changes b/python-threadpoolctl.changes index e9c2de8..a0a54a2 100644 --- a/python-threadpoolctl.changes +++ b/python-threadpoolctl.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Jul 24 08:40:55 UTC 2022 - Dirk Müller + +- update to 3.1.0: + * Fixed a detection issue of the BLAS libraires packaged by conda-forge on Windows. + https://github.com/joblib/threadpoolctl/pull/112 + * `threadpool_limits` and `ThreadpoolController.limit` now accept the string + "sequential_blas_under_openmp" for the `limits` parameter. It should only be used for + the specific case when one wants to have sequential BLAS calls within an OpenMP + parallel region. It takes into account the unexpected behavior of OpenBLAS with the + OpenMP threading layer. + ------------------------------------------------------------------- Sat Oct 16 22:16:06 UTC 2021 - Dirk Müller diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 39bf4a0..3b98f61 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -1,7 +1,7 @@ # # spec file for package python-threadpoolctl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-threadpoolctl -Version: 3.0.0 +Version: 3.1.0 Release: 0 Summary: Thread-pool Controls License: BSD-3-Clause @@ -27,6 +27,9 @@ 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 flit-core} +BuildRequires: %{python_module pep517} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -43,10 +46,10 @@ and OpenMP implementations). %setup -q -n threadpoolctl-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check diff --git a/threadpoolctl-3.0.0.tar.gz b/threadpoolctl-3.0.0.tar.gz deleted file mode 100644 index 36e5a00..0000000 --- a/threadpoolctl-3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d03115321233d0be715f0d3a5ad1d6c065fe425ddc2d671ca8e45e9fd5d7a52a -size 32322 diff --git a/threadpoolctl-3.1.0.tar.gz b/threadpoolctl-3.1.0.tar.gz new file mode 100644 index 0000000..101b257 --- /dev/null +++ b/threadpoolctl-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380 +size 33651