Sync from SUSE:SLFO:Main python-threadpoolctl revision c924b8b174c9e3032b5b178072d1887f
This commit is contained in:
commit
e501b1f66e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
67
python-threadpoolctl.changes
Normal file
67
python-threadpoolctl.changes
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 10 17:41:18 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 3 04:34:43 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add missing BuildRequires on numpy.
|
||||||
|
- Remove unneeded BuildRequires on pep517.
|
||||||
|
- Stop using python_sitelib/*.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 24 08:40:55 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
- drop python_executable.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 24 11:21:21 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to 2.1.0
|
||||||
|
* New commandline interface: 'python -m threadpoolctl -i numpy'
|
||||||
|
will try to import the `numpy` package and then return the output of
|
||||||
|
`threadpoolctl.threadpool_info()` on STDOUT formatted using the JSON
|
||||||
|
syntax. This makes it easier to quickly introspect a Python environment.
|
||||||
|
- Add patch python_executable.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 5 13:02:43 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- initial version 2.0.0, required by python-joblib
|
||||||
|
|
63
python-threadpoolctl.spec
Normal file
63
python-threadpoolctl.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-threadpoolctl
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-threadpoolctl
|
||||||
|
Version: 3.1.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 flit-core}
|
||||||
|
BuildRequires: %{python_module numpy}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Python helpers to limit the number of threads used in native
|
||||||
|
libraries that handle their own internal threadpool (BLAS
|
||||||
|
and OpenMP implementations).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n threadpoolctl-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc CHANGES.md README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/threadpoolctl.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/threadpoolctl.*.py*
|
||||||
|
%{python_sitelib}/threadpoolctl-%{version}*info
|
||||||
|
|
||||||
|
%changelog
|
BIN
threadpoolctl-3.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
threadpoolctl-3.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user