Skip to content
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

Coverage build failing on and off in to a numpy-related statement #3231

Open
jhlegarreta opened this issue May 18, 2024 · 0 comments
Open

Coverage build failing on and off in to a numpy-related statement #3231

jhlegarreta opened this issue May 18, 2024 · 0 comments

Comments

@jhlegarreta
Copy link
Contributor

Description

The coverage build is failing on and off since some time due to a numpy-related issue:

viz/tests/test_apps.py::test_horizon
  /home/runner/work/dipy/dipy/venv/lib/python3.10/site-packages/dipy/viz/tests/test_apps.py:106: RuntimeWarning: invalid value encountered in add
    streamlines._data += np.array([-98., -134., -72.])

First traceable PR where this appeared is:
#3210
https://github.com/dipy/dipy/actions/runs/8971931651/job/24638773596

A prior PR was also failing, but since the log is no longer available, difficult to know if it was related:
#3189
https://github.com/dipy/dipy/actions/runs/8706944929/job/23880870052

Both look unrelated, but maybe when they were run there was some version change in some of the dependencies that gets installed through the CI's that is related to the issue.

Way to reproduce

Run viz/tests/test_apps.py::test_horizon

dipy version: master
python: 3.10
OS: ubuntu-latest

numpy: 1.22.4
scipy: 1.11.4
nibabel: 5.2.1
h5py: 3.11.0
cvxpy: 1.4.3
fury: 0.10.0

Unsure if it happens across other Python/OS versions, as the coverage runs more test than the rest of the CIs that run on a wider set of configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant