pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/parallel/py-threadpoolctl
Module Name: pkgsrc
Committed By: adam
Date: Tue Nov 10 09:06:57 UTC 2026
Modified Files:
pkgsrc/parallel/py-threadpoolctl: Makefile distinfo
Log Message:
py-threadpoolctl: updated to 3.8.0
3.8.0
Run faster on Linux, where the new /proc/self/maps mechanism in 3.7.0 added quite a bit of overhead.
When OpenBLAS uses a non-OpenMP threading layer, you can only set the size of its thread pool from a single controlling thread; since it has a shared process-wide thread pool, having multiple Python
threads fight over control wouldn't work well. A new API OpenBLASController.clear_controlling_thread() allows resetting which thread controlls OpenBLAS in these cases, and decorator and context
manager limit APIs will automatically call that API when they are done.
Add a new API to get a cached ThreadpoolController instance (get_cached_controller()), as an optimization for cases where limits are set frequently. See the docstring for caveats.
Added official support for Python 3.15, and declared support for Python 3.14 in package metadata.
Faster performance when creating a ThreadpoolController.
Shared libraries are now cached across runs, whereas previously they would be unloaded after the ThreadpoolController was garbage collected.
A single shared library can no longer have multiple LibController instances.
When passing a list of dicts or a dict to threadpool_limits(limit=...) and related APIs, the "filepath" is used as the unique key identifying LibControllers, if available, falling back to "prefix".
Previously the "prefix" was checked first.
Fixed limits="sequential_blas_under_openmp", which left all BLAS libraries unlimited as soon as OpenBLAS was loaded, whatever its threading layer, or a library used the OpenMP threading layer (e.g.
BLIS). The limit is now only skipped when OpenBLAS uses the OpenMP threading layer, as documented.
Dropped official support for Python 3.9.
Fixed recursive @threadpool_limits.wrap() calls so they restore limits correctly.
Fixed @threadpool_limits.wrap() so it can use third-party libraries that were registered or imported after the function was decorated.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/parallel/py-threadpoolctl/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/parallel/py-threadpoolctl/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/parallel/py-threadpoolctl/Makefile
diff -u pkgsrc/parallel/py-threadpoolctl/Makefile:1.10 pkgsrc/parallel/py-threadpoolctl/Makefile:1.11
--- pkgsrc/parallel/py-threadpoolctl/Makefile:1.10 Wed Sep 23 13:11:47 2026
+++ pkgsrc/parallel/py-threadpoolctl/Makefile Tue Nov 10 09:06:57 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2026/09/23 13:11:47 adam Exp $
+# $NetBSD: Makefile,v 1.11 2026/11/10 09:06:57 adam Exp $
-DISTNAME= threadpoolctl-3.7.0
+DISTNAME= threadpoolctl-3.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= parallel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/threadpoolctl/}
Index: pkgsrc/parallel/py-threadpoolctl/distinfo
diff -u pkgsrc/parallel/py-threadpoolctl/distinfo:1.8 pkgsrc/parallel/py-threadpoolctl/distinfo:1.9
--- pkgsrc/parallel/py-threadpoolctl/distinfo:1.8 Wed Sep 23 13:11:47 2026
+++ pkgsrc/parallel/py-threadpoolctl/distinfo Tue Nov 10 09:06:57 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2026/09/23 13:11:47 adam Exp $
+$NetBSD: distinfo,v 1.9 2026/11/10 09:06:57 adam Exp $
-BLAKE2s (threadpoolctl-3.7.0.tar.gz) = df5653c75487830996b6387fc35f8ccfe76070a9a54a359b188b8c4ee62cc261
-SHA512 (threadpoolctl-3.7.0.tar.gz) = 7f0a533a8c7ad7efee028c4986c7e567bd982d1904aa08d0e1187693dd38f7ce577ff0ef87b7572691be4f7b0bab4e98cce9ad84ad1e1ff7a72224474f131f4d
-Size (threadpoolctl-3.7.0.tar.gz) = 31961 bytes
+BLAKE2s (threadpoolctl-3.8.0.tar.gz) = fd483249bbfde61ec3cbf418152df0dbf188844d90360b9cd8ea6ed8c82adaa8
+SHA512 (threadpoolctl-3.8.0.tar.gz) = 6884c22dcfc4d1bb428df9ada33d6716a9c82250510a9b7a51391ff10221ad37ffe6dd34b4d56e12addaa36ff17493a35a5762419b3fb6c88676693766833ef9
+Size (threadpoolctl-3.8.0.tar.gz) = 39424 bytes
Home |
Main Index |
Thread Index |
Old Index