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
Tests fail when building with Cython >= 3 #919
Comments
I will look at this when I get a chance. Some remarks though. Cython is optional. In fact is used with pyston it might even be slower than without. So for now you might be just as well omitting Cython as a dependency if you don't want to go with a back-level version. To date, Cython hasn't given the speedup needed, and it was wishful or shallow thinking that it ever would fix deficiencies in the current implementation. The only feature that uses this right now is compiling Mathics3 functions and I suspect that is not used all that much. |
Thanks, good to know. I kind of guessed this and already pushed packages to the openSUSE repositories that do not use cython. Just wanted to keep you informed about the errors. |
Thanks for the information and for packaging for openSUSE. |
I just had a chance to look at. I do not think this has anything to do with Cython. These tests are failing because the results in one test and the return code in the other do not match what is expected. On ubuntu 23.04 I am seeing that things work as expected with Cython 3.0.3 installed. Try running this and see whether you get the same output as I do:
|
Description
When building Mathics packages for openSUSE Tumbleweed, where the default Cython has already been upgraded to version 3.0.2, we find that a couple of tests fail when running pytest:
Neither test fails when using Cython version < 3.
How to Reproduce
Build Mathics against Cython >= 3 (version 3.0.2 in my case).
Expected behavior
pytest should pass.
Observed behaviour
Your Environment
Desktop:
Software versions:
Workarounds
Use
cython < 3
Priority
NA
The text was updated successfully, but these errors were encountered: