-
Notifications
You must be signed in to change notification settings - Fork 193
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
pythran breaks scipy on 32 bit arches (i386, armhf, armel, mipsel, powerpc) #2002
Comments
This is probably a pythran signature issue, I'll have a look. Thanks for reporting! |
serge-sans-paille
added a commit
to serge-sans-paille/scipy
that referenced
this issue
Jul 19, 2022
This also avoids np.intc which is a portability pain. Adjust group_sparse signature accordingly. This should also fix serge-sans-paille/pythran#2002
@drew-parsons Can you test if scipy/scipy#16646 fixes the issue? Thanks! |
serge-sans-paille
added a commit
to serge-sans-paille/scipy
that referenced
this issue
Jul 19, 2022
This also avoids np.intc which is a portability pain. Adjust group_sparse signature accordingly. This should also fix serge-sans-paille/pythran#2002
drew-parsons
changed the title
pythran breaks scipy on armhf
pythran breaks scipy on 32 bit arches (i386, armhf, armel, mipsel, powerpc)
Jul 28, 2022
scipy PR#16646 fixes the reported problems, but identifies another case needing to be fixed in signal/tests/test_max_len_seq.py mipsel is also affected so I've updated the title to refer to all 32 bit arches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Debian is now configuring scipy to use pythran on all architectures. For most of our CI test arches pass fine, but there are problems with armhf. A dozen or more dependent packages failed their CI tests, typically with MemoryError. That's not such a big problem, it might just mean the specific test cases were too large. But scipy's own tests failed with pythran on armhf. An example test log testing scipy 1.8.1-5 with pythran 0.11.0+ds-3 is found at https://ci.debian.net/data/autopkgtest/testing/armhf/s/scipy/23186072/log.gz
Some of the failures are just questions of tolerance. But there were some specific pythran errors, e.g. in scipy/optimize/tests/test__numdiff.py
The same
pythranized group_sparse
error was seen in other tests, e.g. test_check_derivative, optimize/tests/test_least_squares.py (test_numerical_jac, TestDogbox.test_with_bounds)Not sure if it should be fixed in scipy or in pythran, or if it means pythran shouldn't be used on armhf. But pythran 0.11 is passing its own tests on armhf.
In the meantime for the debian packaging I'll configure pythran to be optional for scipy on armhf.
The text was updated successfully, but these errors were encountered: