-
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 build failure #790
Comments
I was able to build after applying this guy's patch sagemath/sage#38242 (comment) I have put it in /etc/portage/patches/sci-mathematics/sagemath-standard/numpy_fix.diff --- a/sage/plot/complex_plot.pyx
+++ b/sage/plot/complex_plot.pyx
@@ -1290,7 +1290,7 @@ def rgb_to_hls(rgb):
l = (rgb_max + rgb_min)/2.0 # lightness
hls = np.zeros_like(rgb)
- delta = rgb.ptp(-1)
+ delta = np.ptp(rgb, -1)
s = np.zeros_like(delta)
ipos = delta > 0 |
There were some patch for numpy 2.0 compatibility, I thought they had made it into 10.4 - obviously not. I will include the full support patch. |
The docs build fine here with |
sagemath-standard-10.4-r1 pushed and sage-doc-10.4 amended to include upstream numpy 2.0 support patch. |
I may have caught the tree in the slightly broken state when I tried to build 9999 on Saturday. Or there was an issue with ipywidget intersphinx file upstream. Builds fine now. |
I now get a failure building
as in the first post. No additional patch was used. |
It looks like |
Now I get what you mean! Of course right now 9999 should be the latest rc of 10.4. But in the vbraun branch where things have started to move for the first beta of 10.5, numpy 2.0 support has been merged (at least tentatively). I guess, I'll get you out of that limbo on the master branch. |
Pushed fix on the master branch for 9999 build. Hopefully this is enough to build. |
OK this was about numpy 2.0.0. Closing. |
I have dev-python/numpy version 2.0.0 installed.
Full build log
The text was updated successfully, but these errors were encountered: