Skip to content

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

Merged

Conversation

thomasjpfan
Copy link
Member

@thomasjpfan thomasjpfan commented Mar 4, 2022

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.

@thomasjpfan thomasjpfan added this to the 1.1 milestone Mar 18, 2022
@thomasjpfan
Copy link
Member Author

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.

Copy link
Member

@jeremiedbb jeremiedbb left a 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)

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ogrisel ogrisel merged commit 8a6cf1a into scikit-learn:main Mar 24, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants