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
Cannot compile in Sagemath 9.8beta7 in Fedora 37 #88
Comments
Thanks for the report. Could you upload a complete log of the output prior to the error? We'll need more to go on to figure this out. |
Here is the log; I tried also with the git version; would that log also useful? |
It seems to be independent of sagemath, essentially the same error happens with pip, both with 3.0.3 or the from github repo |
What version of Cython do you have? Since Python 3.11 is relatively new, you need a recent Cython to be able to build snappy. |
The version is 0.29.32, last one in Fedora 37 |
Thanks for the clarification. Your error messages look a lot like these from cython/cython#4500. But that issue was fixed in cython/cython#4584 and we have successfully built SnapPy with Cython 0.29.32 and Python 3.11 on Linux, namely the pypa docker image. Does the below wheel work for you? That might be the easiest solution here: snappy-3.1rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.gz |
I tried to install the above file (after gunzip) via pip install name_of_the_file
Nevertheless I found |
That error is from it trying to build the dependency |
It did not work straightforward because I did not send the whole log; doing the same thing with low-index (cloning and installing). BTW, I do not know how to start snappy from the command line! But I can work inside inside sagemath which was the goal. Thanks! |
You can start the app with |
Why does |
Should |
Because this is the practice that has always been recommended by the Cython docs. I believe the issue is many machines lack Cython or at least a sufficiently up-to-date version. With I think the real issue here is that we have yet to do a formal release of SnapPy that supports Python 3.11. I hope to do so in the next few weeks. |
I don't understand - |
Please see cython/cython#5089 - while Cython devs still sit on the fence regarding the issue, please feel free to voice your opinion there. |
I got error with
make snappy
in Sagemath 9.8beta7, with python3-3.1.11:The text was updated successfully, but these errors were encountered: