-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
make the experimental FriCAS package optional #23847
Comments
Changed keywords from none to FriCAS |
comment:3
Replying to @mantepse: What kind of review do you think is suitable for this ? I have had fricas installed for about 2 years, with no specific problems. Since, AFAICT, #21377 and #22525 are already merged in 8.1.beta6, the only test I could do would be to test #23782 and Maybe we should grasp the opportunity to document this interface a bit better, and possibly doctest some opportunities made available by fricas ? In your post, you quoted "guessing formulas", lazy powerseries, as well as enhancements to symbolic integration and differential equations solving. Documenting those examples, either in the relevant "main" documentation or in a specific page) and doctesting them would be useful. What do you think ? |
comment:5
These are actually in the main documentation. To see it:
I agree that exposing some of the functionality would be good, but I think that's for another ticket. I wouldn't do it for an experimental package. |
comment:6
Replying to @mantepse: [ Snip... ]
You may be right...
But your ticket aims to make it an optional package... Anyway : sage 8.1.beta6+#23782 passes |
comment:7
Yes, I might do it for an optional package :-)
why would the checksum change? (fricas was updated in #21377) |
comment:8
Replying to @mantepse:
'Cause, unless I'm mistaken, the $SAGE_ROOT/build/pkgs/fricas/type file is accoundd for in the checksum computation ? |
comment:9
It would be easier to test this if all dependencies would actually be merged in a beta release. |
comment:10
Replying to @EmmanuelCharpentier:
No, the checksum is the checksum of the source tarball. It does not depend on anything from Sage. |
comment:11
About this ticket itself: the way I see it, the only difference between an optional package and an experimental package is that an optional package is required to work on all supported platforms. "working" is defined as building, passing its own testsuite and passing Sage doctests. Regarding the test suite: does FriCAS have one? There is no If it works as defined above, then there doesn't even need to be a vote: just make it optional. I can run some tests on various systems. As I said above, I'd prefer to wait for a beta release where are dependencies have been merged. |
comment:12
Replying to @jdemeyer:
One of the FriCAS maintainers says (https://groups.google.com/d/msg/fricas-devel/s5WtJx8u-kA/XVJPuUAQBwAJ) that this should be the case. I have no way of testing it.
Concerning this, he answered:
I wonder how useful this testsuite is for sage then. I also do not know how long it takes to run it. I just started it.
I'll set the type to optional and the ticket to needs-review and you do it whenever you wish, OK? |
comment:14
On my laptop (Intel(R) Celeron(R) CPU N2940 @ 1.83GHz) the test suite runs for about half an hour. For each of the ~ 200 input files it produces an output file. Essential differences mean new bugs. I don't think that we want to run this. New commits:
|
Commit: |
comment:15
Replying to @mantepse:
Why not? I don't understand how you came to this conclusion. |
comment:16
Replying to @jdemeyer:
Because you don't get a result, such as "tests passed". Well, it might make sense to run it and say something like "output of tests can be found in ..." What do you think? |
comment:17
Replying to @mantepse:
OK, got it. |
comment:19
LGTM : on Debian testing running on core i7 + 16 GB RAM, 8.1-beta7+#23847 passes As suggested by Jeroen Demeyer, I think that this should be tested on other "officially supported Sage platforms", whatever that means. At the very minimum, I suggest Mac OS X (which is full of surprises, nowadays), the Sage appliance used under Windows, and maybe the Cygwin(-64 ?) port made by Erik Bray, if Erik thinks that his port is ready for diffusion (I put him in Status remains at |
comment:20
All dependencies have now been merged in 8.1.beta7 |
comment:21
Replying to @jdemeyer:
Indeed. I waited for this before |
Reviewer: Frédéric Chapoton, Jeroen Demeyer |
comment:23
One thing which is very annoying is that the build cannot be interrupted with |
comment:45
As it turns out, also that test fails. When doctesting, after |
comment:46
Replying to @mantepse:
If you have a link to that post, it would be good to put it on this ticket. |
comment:47
I notified upstream, maybe we should remind them before they make the next release: https://groups.google.com/d/msg/fricas-devel/cmhTjr8IxPU/tY_Idyf2AQAJ I am currently recompiling sage, to try the suggestion to start fricas with |
comment:48
For some reason, using |
comment:49
The issue is a difference in newlines: on linux, with
whereas with
I'm not sure what the right fix is. I think I'll replace |
New commits:
|
Changed branch from u/mantepse/make_the_experimental_fricas_package_optional to none |
Changed commit from |
Commit: |
comment:53
Apparently, I cannot push anymore. Well, it's working now, I'll try to attach a patch. |
comment:55
should work now! please test on cygwin and MacOS X - I modified the handling of newlines! |
comment:56
tested on FreeBSD 11 with clang (thus pretty close to OSX) (cf #22679), all tests in |
comment:57
ping? |
comment:58
I'll test on OSX later today. |
comment:59
OK, all good on OSX. |
Changed reviewer from Emmanuel Charpentier, Jeroen Demeyer to Emmanuel Charpentier, Jeroen Demeyer, Dima Pasechnik |
comment:60
LGTM now that that one test is fixed. |
Changed reviewer from Emmanuel Charpentier, Jeroen Demeyer, Dima Pasechnik to Emmanuel Charpentier, Jeroen Demeyer, Dima Pasechnik, Erik Bray |
Changed branch from u/mantepse/make_the_experimental_fricas_package_optional to |
FriCAS is a CAS that provides some functionality which is otherwise either missing (e.g., guessing formulas), or not as complete as might be desirable (e.g., symbolic integration).
The FriCAS interface was completely rewritten after FriCAS was demoted to experimental in #18563 and is now quite mature, containing lots of doctests.
Depends on #21377
Depends on #22525
Depends on #23782
CC: @fchapoton @EmmanuelCharpentier @embray
Component: packages: optional
Keywords: FriCAS
Author: Martin Rubey
Branch/Commit:
f48e8c5
Reviewer: Emmanuel Charpentier, Jeroen Demeyer, Dima Pasechnik, Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/23847
The text was updated successfully, but these errors were encountered: