The NetBSD Project

CVS log for pkgsrc/parallel/py-threadpoolctl/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / parallel / py-threadpoolctl

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 10 09:06:57 2026 UTC (5 days, 19 hours ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 23 13:11:47 2026 UTC (7 weeks, 4 days ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -5 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Aug 12 21:47:29 2026 UTC (3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
py-threadpoolctl: fix build with flit_core 4.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 13 15:09:25 2025 UTC (20 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 30 06:54:18 2024 UTC (2 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 23 07:22:52 2024 UTC (2 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
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

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Feb 14 21:31:01 2024 UTC (2 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 17 19:41:04 2023 UTC (3 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
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

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 9 08:04:35 2023 UTC (3 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
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).

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>