-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
CI Fix arm build #23336
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
CI Fix arm build #23336
Conversation
… 21.3 and gives an error in pip 22
Looking at the pip changelog I am guessing that the relevant change is: |
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.
I think that we can merge it as a hotfix for the moment.
I don't have a real fix for the new issue. I don't understand well enough the way pip
and pyproject.toml
work.
I would naively think that somehow, it should be fixed either in pip
or the way the metadata
from oldest-supported-numpy
are rewired during the build version validation.
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.
+1 for merge, with or without https://github.com/scikit-learn/scikit-learn/pull/23336/files#r871312452 assuming CI is still green.
--feature=in-tree-build
option is ignored since pip 21.3 (see here) and gives an error in pip 22.See this build log
After doing the easy fixes, it seems that you need to pin pip to 22.0.4. The error is that
pip
22.1 validates build dependencies in thepyproject.toml
and so errors becauseoldest-supported-numpy
is not installed: