-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
Closed
Labels
Milestone
Description
This test is unexpectedly raised when running test_linear_model_normalize_deprecation_message
when numpy is compiled with a recent but not too recent versions of clang on macOS.
This use to make the tests fail only on Apple Silicon M1 machine but now it also happens with macOS Intel machines on the CI for some reason.
The problem was already reported upstream as and fixed in numpy (fix to be released in numpy 1.22.0):
- RuntimeWarning: divide by zero encountered in reciprocal for np.ones(3) ** -1 numpy/numpy#18555
- numpy 1.20 on MacOSX: spurious RuntimeWarning: invalid value encountered in reciprocal conda-forge/numpy-feedstock#229
Example failure on our CI:
I can reproduce locally. Will work on a workaround to make those tests XFAIL on macos.