sparse: test_coo_numba fails on arch

Describe the bug A colleague and I have both installed sparse on arch through the AUR on several machines . On two machines the build runs through, on the other two machines test_coo_numba fails with a numba.core.errors.TypingError. We cannot identify the difference between the two systems that triggers the failure. Both systems have the same Numba and Numpy versions. The error does not suggest any other package being involved, though the system where it runs through has many more python packages installed.

To Reproduce Reproducible when installing python-sparse package from AUR on a relatively virgin system.

Expected behavior Tests should run through on any system that has all dependencies installed.

System

  • Arch Linux
  • sparse version (sparse.0.10.0)
  • NumPy version (np.1.19.1)
  • Numba version (numba.0.50.1)

Additional context Full error report: python-sparse_build-trial.txt

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (8 by maintainers)

Most upvoted comments

Thanks all for figuring it out. I’ve pushed a new version to the AUR.

It looks like the sparse numba extension is not being installed. My guess is that somehow these instructions (documented here) were ignored:

https://github.com/pydata/sparse/blob/3a6d9553b8ade1e336724db18924ee992daa446f/setup.py#L74-L76

Did you install using pip?

(note: the AUR package is here: https://aur.archlinux.org/packages/python-sparse/)