-
Notifications
You must be signed in to change notification settings - Fork 26
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
sci-mathematics/sage-doc fails to build: unable to simplify to float approximation #792
Comments
I have seen that before but have no fix apart from downgrading your mpmath to a lower version. |
I confirm that after downgrading mpmath from |
Of course, it will have to be fixed properly. But the new mpmath is |
I tried to downgrade but I get this issue:
|
sphinx 8 just got to stable and I have not checked it yet. But I am expecting it is the one giving you troubles. Most major bump in sphinx resulted in that kind of troubles. |
Not stable actually but 8.0.0_rc1 is in the tree in unstable. |
Testing a fix for sphinx8. Looks kind of ridiculous. |
Plot twist. After I remove the offending import and the related code, there is another failure with sphinx-8.0.0_rc1. There are complaints that |
Complaining at sphinx-doc/sphinx#12646 |
The old clone of ext/autodoc.py strikes again. This is an internal API so it should not have been used, and adapting to it will strictly tie us up to sphinx 8.0.0. which is OK. |
Ah great, lmk once it's patched. We're awaiting your orders ;) |
Don't expect quick service on that one. It is more complicated than I want. If you want the doc quick, just mask |
fyi this worked! Thanks! |
I have stuff brewing slowly, should I backport support for mpmath 1.4 and sphinx 8 into sage 10.4? I will probably draw the line at python 3.13 unless it turns out easy.. |
OK, I am going to merge stuff that's been included upstream shortly. Support for sphinx 8 is included same story than #794 about patching. |
This is the latest
I'm not sure where these imports are
|
I am going to guess some python libraries need rebuild after the upgrade to numpy 2. I would rebuild gmpy and fpylll and see if that helps. |
Both libelefun and libmpc are from mpmath. But I cannot find a call to libmpc inside sage. |
Some of the mpmath stuff may be too much. I may have to back-pedale until mpmath-1.4 gets into shape. |
OK pushed to master, you'll need to rebuild sagemath-standard-9999 as I removed the patch from PR38113 which causes problems (but should not). |
|
Not a duplicate of #790
Full log: build.log
The text was updated successfully, but these errors were encountered: