-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
CI: revert LDFLAGS sysroot work-around #22535
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: revert LDFLAGS sysroot work-around #22535
Conversation
There is a similar config in |
And maybe a conda-forge feedstock build in a test branch pointing to a specific git hash of this branch. |
OK I just did pushed a commit doing this. |
f680526
to
f5d8161
Compare
The openmp build problem is still there in
|
Maybe we should just install the |
I think the problem still exists but only in conda defaults channel (for some Python version starting in 3.9.x, #20640 (comment) seems to say the problem started happening in 3.9.6) so switching the pylatest_pip* builds to conda-forge may be a work-around. Note this is only installing python, the rest of the dependencies are installed with pip. There is still a build using conda defaults but it is using python 3.7 so probably unaffected by this issue. We may still want to set the env variable for this particular, in case one day the Python version is bumped to 3.9 and we hit this problem again. |
Could we completely get rid of using the default channel ? At least for building sklearn, we can still test it with runtime dependencies from the default channel. |
I am going to vote -1 on this since having a different build and test environment will make my life harder for lock files in CI #22448. Also I am not sure how to do it would you build with conda-forge, then create a new environment with defaults, and copy the scikit-learn folder with built files into the new environment, crossing fingers that everything works? About completely getting rid of conda defaults: I guess some of #21337 may be relevant. One of the argument for keeping it is that some (maybe a significant amount of) users may get scikit-learn from conda defaults and we want to make sure that nothing breaks. To be honest at the moment we are testing conda defaults in a very light manner:
|
Haha that's not what I had in mind :) I would just always use conda-forge in our CI. I was just thinking that when testing our wheels we might still want to test them in an env with deps from the default channel. But maybe not and we just let the maintainers of the default channel do that.
But there's a lot less users that build sklearn and for those I think we can slowly push them to use conda-forge, or at least only garantee that everything works with conda-forge. |
Seems like we still need that |
Having spent quite some time lately because of #22448, I may revisit this at one point 😉 |
This is to see if #20654 is still necessary.
Fix #20640 if CI passes