forked from pool/python-threadpoolctl
		
	- Update to 3.6.0
* Added support for libraries with a path longer than 260 on Windows.
    The supported path length is now 10 times higher but not unlimited
    for security reasons.
  * Dropped official support for Python 3.8.
- Switch upstream source tarball to Github
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=20
			
			
This commit is contained in:
		
							
								
								
									
										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 | ||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| .osc | ||||
							
								
								
									
										111
									
								
								python-threadpoolctl.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										111
									
								
								python-threadpoolctl.changes
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,111 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Thu Apr 10 13:23:38 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> | ||||
|  | ||||
| - Update to 3.6.0 | ||||
|   * Added support for libraries with a path longer than 260 on Windows. | ||||
|     The supported path length is now 10 times higher but not unlimited | ||||
|     for security reasons. | ||||
|   * Dropped official support for Python 3.8. | ||||
| - Switch upstream source tarball to Github | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu May  2 22:00:52 UTC 2024 - Dirk Müller <dmueller@suse.com> | ||||
|  | ||||
| - update to 3.5.0: | ||||
|   * Added support for the Scientific Python version of OpenBLAS | ||||
|     which exposes symbols with different names than the ones | ||||
|     of the original OpenBLAS library. | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Apr  2 18:54:36 UTC 2024 - Dirk Müller <dmueller@suse.com> | ||||
|  | ||||
| - update to 3.4.0: | ||||
|   * Added support for Python interpreters statically linked | ||||
|     against libc or linked against alternative implementations | ||||
|     of libc like musl | ||||
|   * Added support for Pyodide | ||||
|   * Extended FlexiBLAS support to be able to switch backend at | ||||
|     runtime. | ||||
|   * Added support for FlexiBLAS | ||||
|   * Fixed a bug where an unsupported library would be detected | ||||
|     because it shares a common prefix with one of the supported | ||||
|     libraries. Now the symbols are also checked to | ||||
|     identify the supported libraries. | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| 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> | ||||
|  | ||||
| - 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 | ||||
|  | ||||
							
								
								
									
										64
									
								
								python-threadpoolctl.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								python-threadpoolctl.spec
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,64 @@ | ||||
| # | ||||
| # spec file for package python-threadpoolctl | ||||
| # | ||||
| # Copyright (c) 2025 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.6.0 | ||||
| Release:        0 | ||||
| Summary:        Thread-pool Controls | ||||
| License:        BSD-3-Clause | ||||
| Group:          Development/Languages/Python | ||||
| URL:            https://github.com/joblib/threadpoolctl | ||||
| Source:         %{url}/archive/%{version}.tar.gz#/threadpoolctl-%{version}.tar.gz | ||||
| BuildRequires:  %{python_module devel >= 3.8} | ||||
| 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.5.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								threadpoolctl-3.5.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								threadpoolctl-3.6.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								threadpoolctl-3.6.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:8794160a4dca1f9039202189936acc36bf785c1f99cdc529a632204e88cd0de0 | ||||
| size 37892 | ||||
		Reference in New Issue
	
	Block a user