-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
singular: update to 4.3.2, rebuild sagemath, networkx: update to 3.1 #43225
Conversation
In addition to the checks here, I've run the long testsuite locally on x86_64 (CI runs only normal tests since running long tests takes twice the time). Note this PR includes (a rebase of) PR #43153. |
4.3.2p1 is also available, fix a few minor things |
But it's not released, or is it? It's not in here: https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/4-3-2/ |
hmm, it's on github only, forget about that |
then it looks good to me. |
That would be great, and let me know anything weird. We could try to fix it in this PR. Can you make a list of packages that are nocross? I know of ntl, fflas-ffpack, givaro, linbox, cysignals, sympow. It would be useful to fix those so they can be built and are available oob on void linux aarch64. |
Besides the ones you mentioned, the list printed by xbps-src at the beginning includes
(* means they are in this pr, or affected by big build in progress). |
so basically fixing the ones you listed should fix everything :) |
aarch64:
|
(rebuilt and tested flintlib as well) |
Do you mean maxima also fails when both sbcl and maxima are built natively?
That is coming from flintlib. Are you using the cross built package or the native built one? The difference is that flintlib uses ntl if built natively and not if built cross. What's the output of
What about:
|
yes, it first builds emacs, then sbcl, then gets stuck at some point in gdb. i see, that makes sense for flint: my sage test was run before i rebuild flintlib. let me try again and report. |
I tried to cross build maxima with ecl, but it doesn't seem to work. The build finishes if I place What we could do is add the emacs option and set the default for aarch64 to ~emacs,~sbcl so you still have to build natively but at least you are not forced to build emacs and sbcl...
|
I agree about maxima. For tests (with check=yes):
|
c4789f7
to
046c53e
Compare
I did the following modifications to sagemath:
|
looks good to me. |
Tests fail because |
Yes, everything is included in 10.0.rc0, see: https://github.com/tornaria/void-packages/tree/sagemath-next if you want to try it (should I make a draft PR?) |
that'd be great |
Also fix doctests for pkg updates: - matplotlib 3.7 - ipython 8.12 - nauty 2.8.6 - pythran 0.12.1 And add support for: - networkx 3.1 We use patches from upstream sagemath to fix all of these. We also add pythran and sphinx to checkdepends to make sure doctests pass when they are installed.
Here I added support for networkx 3.1 using the patch from sagemath/sage#35584. For testing, I include a commit to update networkx to 3.1. This one can be merged independently (but only after the patch for sagemath to support networkx 3.1 is merged). |
Nice, thanks! |
Could you please try this branch and build the update of networkx to 3.1 to see if it's working ok for your purposes? Maybe we can just merge this PR altogether as it is now. Otherwise I will try to get this merged without the networkx update and move the networkx update to a separate PR. |
Yes, I have been already using practically the same patch as this branch for my local use of networkx since v3 came out. |
@leahneukirchen could we get this merged please? This brings sagemath up to date with current versions of packages in void; it also updates networkx which was requested by @icp1994 but cannot be updated without the patch I added here. |
Updates:
For these updates we need to rebuild sagemath with patches backported from development sagemath.
In addition we also add patches to sagemath to support the following pkg updates:
After this PR, sagemath testsuite should pass 100% with current versions of dependencies in void. All patches are taken from upstream.
Testing the changes
I've been running this for a while. I'm also running sagemath 10.0.rc1 which includes all of our patches.