-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
⚠️ CI failed on Wheel builder (last failure: Apr 28, 2025) ⚠️ #31257
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 nightly CI has discovered a Cython-related problem on all the free-threading builds: _______________ ERROR collecting utils/tests/test_cython_blas.py _______________
ImportError while importing test module '/tmp/tmp.O8xqw5JN27/venv/lib/python3.13t/site-packages/sklearn/utils/tests/test_cython_blas.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/_internal/cpython-3.13.3-nogil/lib/python3.13t/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
../venv/lib/python3.13t/site-packages/sklearn/utils/tests/test_cython_blas.py:4: in <module>
from sklearn.utils._cython_blas import (
E ImportError: cannot import name 'ColMajor' from 'sklearn.utils._cython_blas' (/tmp/tmp.O8xqw5JN27/venv/lib/python3.13t/site-packages/sklearn/utils/_cython_blas.cpython-313t-x86_64-linux-gnu.so) |
scikit-learn/sklearn/utils/_cython_blas.pxd Lines 4 to 6 in 7131d94
|
I am not sure exactly what caused this build to start failing 2 days ago. Here is the history of the runs: |
In the last successful run and the rist failing run, the Python versions were both:
and the wheel was built with:
in both cases. Maybe it's a side effect of a change in SciPy? Anyway the fix in #31263 seems legit and I wonder why Cython does not complain at build time. |
CI is still failing on Wheel builder (Apr 28, 2025)
The text was updated successfully, but these errors were encountered: