-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Random CI failure on MacOS: RuntimeWarning: invalid value encountered in reciprocal #7189
Comments
This issue is caused by the specific combination of MacOSX AND numpy 1.20 AND conda-forge. |
For reference, in #7211 we updated CI to temporarily install NumPy from PyPI for Python 3.8 build on Mac. Let's continue to engage upstream and revert #7211 once conda-forge/numpy-feedstock#229 has been resolved |
Just to add here this traces back to NumPy issue ( numpy/numpy#18555 ) as mentioned in comment ( conda-forge/numpy-feedstock#229 (comment) ). This was fixed in PR ( numpy/numpy#19926 ) included in NumPy 1.22.0, which was recently released in conda-forge ( conda-forge/numpy-feedstock#251 ) |
@jrbourbeau could you retest on your macintel please? conda create -n test -c conda-forge python=3.8 numpy=1.22
conda activate test
python -c "import numpy; numpy.ones(120) ** -1" |
Yep, I can confirm |
This has been failing multiple times this afternoon alone. It seems that the failures are concentrated on macos 3.8 but I'm not 100% sure about it.
https://github.com/dask/dask/pull/7109/checks?check_run_id=1856104314
https://github.com/dask/dask/pull/7177/checks?check_run_id=1856169384
The text was updated successfully, but these errors were encountered: