-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix doctests #19
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Added a TODO |
I have not tried to find out yet what's the issue…
|
Probably mpfr. |
True. |
Use the system package manager? |
Haha, sorry, for asking such dumb questions ;) |
One killed and one timeout less. And a few thousand fewer doctests failing. |
Did you have jmol installed? Does jmol work in a headless image? |
@isuruf: I just gave you access to my gitlab repo so we can work on the same fork. |
I just pushed to your repo. Here's the latest build. There are some issues with cddlib |
The output of cddlib has changed in a recent version. I just released 0.94j which together with https://trac.sagemath.org/ticket/25344 should fix these. |
Or let's just pin it to the right version rather ;) see conda-forge/sage-feedstock#19. |
We can not pin to 0.94g because it's not in conda-forge. So should we patch Sage's parser or backport the uppgrade to 0.94j? |
Debian's |
That worked. Down to 123 failures |
Unfortunately, we know hit the 3h limit on gitlab. |
Let's use some private runners then… |
|
It appears that pexpect is making the difference. Sage uses 4.1.0, conda has 4.6.0. Strangely everything appears to work if I shorten sage's R prompt from |
There is an upstream ticket about the 4.6.0 upgrade: https://trac.sagemath.org/ticket/25700 |
Have you ever adopted this patch originally from debian? https://github.com/cschwan/sage-on-gentoo/blob/master/sci-mathematics/sage/files/dt-r-no-readline.patch |
Interesting. Thanks, I was not aware of that one. |
It helped me with readline 7.0 but I am wondering if it would help here as well. Haven't looked at pexpect 4.6.0 in gentoo yet. Mostly because it isn't in the main tree. |
And it actually makes things work. See https://trac.sagemath.org/ticket/25806 for upstreaming this. |
@isuruf why did you install numpy 1.13 in 0b2f6d3b05d7bfb767a2e385a2d916ab5f5bcac9? This seems to cause errors, see CI
Locally with 1.14 these imports work fine. |
This is now conda-forge/sage-feedstock#23. |
I installed 1.13 because the printing of arrays changed and there were doctests failing. I guess the new sage versions fixed the doctests |
I see. Do you mean these?
If so, let me try to make the tests less strict upstream. |
|
Yes, doctests like that failed |
Nice, numpy has a legacy printing mode to print like 1.13 :) |
@isuruf: Any idea where these floating point errors that crash Sage could come from? |
Also needs sagemath/sagenb#450 and https://trac.sagemath.org/ticket/26117 |
@isuruf: We are now having trouble with maxima not being run with the same ecl that it was built with: |
Sage 8.3 runs into trouble with ecl 16.1.3 and to require maxima from within Sage, we need to build and run maxima with the same version it seems. Fixes conda-forge#9; see also conda-forge/sagelib-feedstock#19.
Sage 8.3 runs into trouble with ecl 16.1.3 and to require maxima from within Sage, we need to build and run maxima with the same version it seems. Fixes conda-forge#9; see also conda-forge/sagelib-feedstock#19.
Sage 8.3 runs into trouble with ecl 16.1.3 and to require maxima from within Sage, we need to build and run maxima with the same version it seems. Fixes conda-forge#9; see also conda-forge/sagelib-feedstock#19.
That error occurs when ecl can't find |
With conda-forge/maxima-feedstock#10 we are now down to 8 modules timing out and 340 failing tests. |
Most of these errors are due to latest versions of numpy and networkx |
It would be great to make
sage -tp src
pass. (Andsage -tp --long src
as well.)A GitLab CI pipeline runs these doctests, the results of the latest run are:
No modules are failing entirely at the moment.
For reference, here are the corresponding numbers in Debian (for
--long
doctests.)TODO:
sage -tp --all
work (instead of specifying the same directories explicitly.)once it's readyThe text was updated successfully, but these errors were encountered: