-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
BLD Monkeypatch windows build to stablize build #22693
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
BLD Monkeypatch windows build to stablize build #22693
Conversation
Given that the windows build still fails from time to time: https://github.com/scikit-learn/scikit-learn/actions/runs/2002178357 I am placing this on the 1.1 milestone to stabilize the wheel builds to help when we release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix is in numpy 1.22.2. I think it's worth adding a comment that when we only build with numpy > 1.22.2 on windows we can remove that. (We'll probably have changed the build system by then but it doesn't hurt)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Reference Issues/PRs
Related to #22310
What does this implement/fix? Explain your changes.
This PR does the same monkey patch as numpy/numpy#20640 but for older versions of NumPy.
Any other comments?
At this rate, I think we are going to release 1.1 with the
setuptools
build system. I think it would be good to at least stabilize the windows build. This way we do not need to restart the entire wheel building CI because windows randomly failed.