-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
⚠️ CI failed on Wheel builder ⚠️ #24612
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
Comments
The main problem that causes the windows test runs to fail (when importing scikit-learn modules to collect the tests) seems to be a missing compiled extension: [...]
Python\lib\site-packages\sklearn\datasets\__init__.py:22: in <module>
from ._twenty_newsgroups import fetch_20newsgroups
Python\lib\site-packages\sklearn\datasets\_twenty_newsgroups.py:46: in <module>
from ..feature_extraction.text import CountVectorizer
Python\lib\site-packages\sklearn\feature_extraction\__init__.py:8: in <module>
from ._hash import FeatureHasher
Python\lib\site-packages\sklearn\feature_extraction\_hash.py:10: in <module>
from ._hashing_fast import transform as _hashing_transform
E ImportError: DLL load failed while importing _hashing_fast: The specified module could not be found. |
The absence of compiled extension is the source of failure for the Windows 64bit wheels only, that is: scikit-learn/.github/workflows/wheels.yml Lines 58 to 69 in fd0e815
The other Windows 32bit wheels, that is: scikit-learn/.github/workflows/wheels.yml Lines 71 to 79 in fd0e815
aren't built because SciPy needs to be built from source and a Fortran compilation error occurs as stated in #24446 (comment):
this might be related to the lack of a compiler toolchain for win32 as stated in this thread in Scientific Python's discourse:
|
Thanks. It's weird because there is a 32 bit windows build for scipy 1.9.1 but not for 1.9.2: https://pypi.org/project/scipy/1.9.1/#files I am pinning 1.9.1 for the regular CI in #24621 but I guess we will need something similar for the wheels or maybe we can temporarily (?) stop building wheels for 32 bit windows while scipy does not support it. |
This point still needs investigation though. |
As discussed in #24621, we probably should find a way to let pip use |
@ogrisel Could this be a feature request for cibuildwheel itself? |
This point is solved by https://github.com/scikit-learn/scikit-learn/pull/24446/files#diff-e0a07d85249fa03c06895043f2d57076b4a1a30b195631e1682b5470db6a5ac3 Sorry for cross-posting, trying to make myself read... ;) |
Looking at the fix in #24631, I think the issue with Windows 64bit is that SciPy 1.9.2 no longer ships with Edit: I opened an issue about this before in SciPy: scipy/scipy#14998 |
I missed that. I think it's up to scipy to fix their release artifacts. We just have to wait a bit. |
I opened a new issue for SciPy 1.9.2 here: scipy/scipy#17191. I suspect that SciPy removed |
So the claim in scipy/oldest-supported-numpy#45 is All versions of Python currently supported should already have Both newer MSVC versions and Mingw-w64 (which is what the SciPy wheels are now built with) should depend on the UCRT rather than on the older You may also get end user issues who happen to not have any other program installed that already dumped the DLL into a system directory (from the last time SciPy got a bug report about that, this is rare though). |
CI is no longer failing! ✅Successful run on Oct 20, 2022 |
Uh oh!
There was an error while loading. Please reload this page.
CI is still failing on Wheel builder (Oct 19, 2022)
The text was updated successfully, but these errors were encountered: