head 1.10; access; symbols pkgsrc-2026Q3:1.9.0.2 pkgsrc-2026Q3-base:1.9 pkgsrc-2026Q2:1.8.0.12 pkgsrc-2026Q2-base:1.8 pkgsrc-2026Q1:1.8.0.10 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.8 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.6 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.4 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.2 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.6.0.6 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.4 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.2 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.5.0.2 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.3.0.2 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.2.0.2 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.1.0.2 pkgsrc-2023Q2-base:1.1; locks; strict; comment @# @; 1.10 date 2026.09.23.13.11.47; author adam; state Exp; branches; next 1.9; commitid lFv0OxpFBlSEoKWG; 1.9 date 2026.08.12.21.47.29; author wiz; state Exp; branches; next 1.8; commitid VN2pcYOr2VagBoRG; 1.8 date 2025.03.13.15.09.25; author adam; state Exp; branches; next 1.7; commitid lIhMZzuxhal01VMF; 1.7 date 2025.02.23.19.33.50; author wiz; state Exp; branches; next 1.6; commitid iFfQMAcRNC3I3DKF; 1.6 date 2024.04.30.06.54.18; author adam; state Exp; branches; next 1.5; commitid MoZK0VJUFvbXs88F; 1.5 date 2024.03.23.07.22.52; author adam; state Exp; branches; next 1.4; commitid rdiQDobeM06uQf3F; 1.4 date 2024.02.14.21.31.01; author adam; state Exp; branches; next 1.3; commitid P2mvOpYXl93bLrYE; 1.3 date 2023.10.28.19.57.13; author wiz; state Exp; branches; next 1.2; commitid jP8MYROLWZ3yJqKE; 1.2 date 2023.07.17.19.41.04; author adam; state Exp; branches; next 1.1; commitid fyKxi9Sdd4kVXbxE; 1.1 date 2023.05.09.08.04.35; author adam; state Exp; branches; next ; commitid YKmdJ9IHv5XvkgoE; desc @@ 1.10 log @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. Only warn about simultaneous libomp and libiomp usage on Linux, where the incompatibility is known to cause crashes. Fixed a deadlock triggered by getting or setting MKL's number of threads from parallel threads when using MKL with libiomp (Intel threading) on Linux. Going forward, setting the number of threads will only have a thread-local impact if feasible (for example, at minimum the underlying library must support this option, and many don't.) For MKL, setting the number of threads is now thread-local, i.e. limiting the number of threads won't impact MKL's thread pool size when using MKL in other Python threads. For OpenBLAS compiled with OpenMP on Linux and macOS, setting the number of threads is now thread-local, i.e. won't impact OpenBLAS thread pool size in other Python threads. On Windows behavior is likely process-wide, but this may depend on how OpenBLAS was compiled with OpenMP. Fix OpenBLAS detection for conda package on Windows Fixed a deadlock on Linux when using threadpoolctl from multiple threads. Start using Python 3.14's built-in support for listing shared libraries. On Linux, start using /proc/self/maps for listing shared libraries. Avoid importing ctypes.util on Linux (and load libc with ctypes.CDLL(None)) so threadpool_info() does not create libffi closures that can abort after os.fork() on some libffi builds. Dropped official support for Python 3.9. @ text @# $NetBSD: Makefile,v 1.9 2026/08/12 21:47:29 wiz Exp $ DISTNAME= threadpoolctl-3.7.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} CATEGORIES= parallel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/threadpoolctl/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/joblib/threadpoolctl COMMENT= Helpers to limit the number of threads used LICENSE= modified-bsd TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=4:../../devel/py-flit_core TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.9 log @py-threadpoolctl: fix build with flit_core 4. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/03/13 15:09:25 adam Exp $ d3 1 a3 1 DISTNAME= threadpoolctl-3.6.0 d14 1 a14 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov @ 1.8 log @py-threadpoolctl: updated to 3.6.0 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/02/23 19:33:50 wiz Exp $ d13 1 a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core @ 1.7 log @py-threadpoolctl: adapt for flit_core 3.11. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/04/30 06:54:18 adam Exp $ d3 1 a3 1 DISTNAME= threadpoolctl-3.5.0 a4 1 PKGREVISION= 1 @ 1.6 log @py-threadpoolctl: updated to 3.5.0 3.5.0 (2024-04-29) - Added support for the Scientific Python version of OpenBLAS (https://github.com/MacPython/openblas-libs), which exposes symbols with different names than the ones of the original OpenBLAS library. https://github.com/joblib/threadpoolctl/pull/175 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/03/23 07:22:52 adam Exp $ d5 1 d14 1 a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=2:../../devel/py-flit_core a18 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.5 log @py-threadpoolctl: updated to 3.4.0 3.4.0 (2024-03-20) ================== - Added support for Python interpreters statically linked against libc or linked against alternative implementations of libc like musl (on Alpine Linux for instance). https://github.com/joblib/threadpoolctl/pull/171 - Added support for Pyodide https://github.com/joblib/threadpoolctl/pull/169 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/02/14 21:31:01 adam Exp $ d3 1 a3 1 DISTNAME= threadpoolctl-3.4.0 @ 1.4 log @py-threadpoolctl: updated to 3.3.0 3.3.0 (2024-02-14) ================== - Extended FlexiBLAS support to be able to switch backend at runtime. https://github.com/joblib/threadpoolctl/pull/163 - Added support for FlexiBLAS https://github.com/joblib/threadpoolctl/pull/156 - 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. https://github.com/joblib/threadpoolctl/pull/151 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/10/28 19:57:13 wiz Exp $ d3 1 a3 1 DISTNAME= threadpoolctl-3.3.0 @ 1.3 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/07/17 19:41:04 adam Exp $ d3 1 a3 1 DISTNAME= threadpoolctl-3.2.0 a4 1 PKGREVISION= 1 d13 1 a13 2 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test a19 3 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests @ 1.2 log @py-threadpoolctl: updated to 3.2.0 3.2.0 (2023-07-13) ================== - 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. https://github.com/joblib/threadpoolctl/pull/138 - A warning is raised on macOS when threadpoolctl finds both Intel OpenMP and LLVM OpenMP runtimes loaded simultaneously by the same Python program. See details and workarounds at https://github.com/joblib/threadpoolctl/blob/master/multiple_openmp.md. https://github.com/joblib/threadpoolctl/pull/142 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/05/09 08:04:35 adam Exp $ d5 1 @ 1.1 log @py-threadpoolctl: added version 3.1.0 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). @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= threadpoolctl-3.1.0 @