-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Add msvcp140.dll to Windows 64 bit wheels #24631
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
Conversation
Note that the current failure is no longer the missing library but a test failure as reported in #24446. |
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.
According to #24612 (comment), there is a way to remove our dependency on msvcp140.dll
. In the long term, I think that is the best option.
In the short term, I am okay with PR vendoring msvcp140.dll
, so we can move forward with the Python 3.11 wheels.
The failure on Windows Python 3.10 is concerning. I see that is also happening in the Python 3.11 PR. If no one picks this up, then I'll start investigating it tomorrow.
Thanks @thomasjpfan. Please note that it is the same failure than in linux python 3.11 and MacosX python3.11. |
I was able to reproduce the Linux failure locally with debug symbols. Here is the backtrace:
There is an error with malloc: "free(): invalid next size (fast)". I'll continue investigating tomorrow. |
I looked into this issue more and have not found the root cause yet. If others are interested in debugging, I created https://github.com/thomasjpfan/scikit-learn-debugging-python3.11 that details the steps for reproducing the issue on Linux. |
For the sake of completeness, when run with scipy 1.10-dev0 at the beginning of #24446 , linux and MacosX did not fail, Windows64 failed on another test, no issues about threads there. |
Thank you for the hint that SciPy dev works. The issue is in SciPy and the fix is already in SciPy's |
Wonderful! Thanks for your investigations! |
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.
As noted in #24612 (comment), we can work toward not needing msvcp140.dll
in a follow up PR.
In the short them, I am okay with vendoring it for now. LGTM
Edit: According to scipy/scipy#17191, we can not depend no SciPy to load the DLL anymore.
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.
Temporary vendoring this DLL works for me. Thank you, @cmarmo!
I think it would be nice to identify what each DLL is needed exactly for to see if we could not depend on them on the long term.
Reference Issues/PRs
Addresses #24612 together with #24627
What does this implement/fix? Explain your changes.
Vendor a missing library to the Windows 64bit wheel.
Any other comments?
Was previously in #24446.