BSD Ports

parallel/py-threadpoolctl 3.6.0 NetBSD

Helpers to limit the number of threads used

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e406dd0598
License
modified-bsd
Categories
parallel, python
Package size
33.7 KiB, 191.4 KiB installed

Description

Python helpers to limit the number of threads used in the threadpool-backed of common native libraries used for scientific computing and data science (e.g. BLAS and OpenMP).

In the other systems

SystemPortVersion
NetBSDparallel/py-threadpoolctl3.6.0
DragonFlydevel/py-threadpoolctl3.6.0

Install

Binary package:

pkgin install py311-threadpoolctl

From pkgsrc:

cd /usr/pkgsrc/parallel/py-threadpoolctl && make install clean

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-threadpoolctl-3.6.0, py313-threadpoolctl-3.6.0, py314-threadpoolctl-3.6.0

Commit history 2

DateCommitCreditsLog message
e406dd0598 adam py-threadpoolctl: updated to 3.7.0
3.7.0 (2026-09-15) Fixed an intermittent OSError on Windows when DLLs are loaded or unloaded concurrently during library discovery (for example when importing conda-forge OpenCV). On Python 3.14+, discovery uses ctypes.util.dllist when available. If dllist raises OSError, threadpoolctl emits a RuntimeWarning instead of crashing so the failure can be reported upstream with a minimal reproducer. Older Pythons use a Toolhelp snapshot enumerator, with graceful per-module fallbacks. Added the ability to check whether a limiting API affects just the current thread or the whole process. Mainly aimed at debugging and diagnostics, and somewhat unreliable, it is therefore enabled by default only for command-line usage. …
2b7c1bdb5b wiz py-threadpoolctl: fix build with flit_core 4.