-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Random Windows wheel build error: failed with exit status 1158 #22310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could be related to pypa/setuptools#2212 A race condition would explain why it happens randomly on different files and on different instances. |
So pypa/distutils#6 was opened to fix pypa/setuptools#2212 which did not work with The fix in numpy/numpy#20640 was backported to 1.22, but since we build with older versions of NumPy the windows build will sometimes error out because of the original linking issue. |
So we just have to wait and restart the failing builds during the release process and hope for the best. It it really becomes too frequent we can maintain our own backport of the fix as a monkey patch but since we plan to switch the build system to meson, it's probably not worth investing time in a monkeypatch maintenance. |
Uh oh!
There was an error while loading. Please reload this page.
The nightly windows builds randomly fail with the following error:
https://github.com/scikit-learn/scikit-learn/runs/4961291550?check_suite_focus=true
The above happened with
cp310-win_amd64
but apparently this can happen with other Python versions. Generally restarting the build is enough to get it to work again.Let's try to collect below which config and file fail, to see if there is a pattern:
cp310-win_amd64
/sklearn\cluster\_hierarchical_fast.cp310-win_amd64.lib
cp38-win_amd64
/sklearn\ensemble\_gradient_boosting.cp38-win_amd64.lib
cp38-win32
/sklearn\ensemble\_hist_gradient_boosting\_binning.cp38-win32.lib
cp38-win32
/sklearn\utils\_openmp_helpers.cp38-win32.lib
cp39-win32
/sklearn\decomposition\_cdnmf_fast.cp39-win32.lib
Link to all wheel building runs that were scheduled
The text was updated successfully, but these errors were encountered: