You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider using extension-helpers package for OpenMP helpers #15917
We just wanted to let you know that we have been working on generalizing the helpers we use in astropy and have now released a lightweight and general package called extension-helpers which includes the OpenMP helpers. This package is intended to be used as a build-time dependency in a pyproject.toml file if/once you switch to using this to specify build-time requirements.
Thanks for opening this issue. Yes it could make sense to share some of the work OpenMP given that it's non trivial. In particular there is the issue with the need to vendor runtime MSVC libraries for OpenMP in windows wheels cf #15899 (comment) that is probably not scikit-learn specific.
As for adding extension-helpers as a build dependency once we support pyproject.toml@jeremiedbb might have an opinion.
Thanks for the suggestion back then. scikit-learn has since moved its build to Meson (meson-python), and OpenMP detection is now done by Meson's built-in dependency('openmp'). sklearn/_build_utils/openmp_helpers.py no longer exists, so this no longer applies. Closing.
Activity
rth commentedon Dec 19, 2019
Thanks for opening this issue. Yes it could make sense to share some of the work OpenMP given that it's non trivial. In particular there is the issue with the need to vendor runtime MSVC libraries for OpenMP in windows wheels cf #15899 (comment) that is probably not scikit-learn specific.
As for adding
extension-helpersas a build dependency once we supportpyproject.toml@jeremiedbb might have an opinion.lorentzenchr commentedon Nov 15, 2026
🤖 (Claude) says: