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
Upgrade Maxima to 5.34.1 #16908
Comments
comment:1
Any tix this fixes, btw? |
comment:2
Replying to @kcrisman:
I haven't had the time to investigate this in detail. It doesn't fix any of the tickets listed in #13973 that are still open, but I haven't looked at other open Maxima-related tickets. The update shouldn't be too difficult, but there are some problems, such as my fix for the matrix exponentation bug (see #13973) not working anymore. |
comment:3
Changelog is here: https://sourceforge.net/p/maxima/code/ci/master/tree/ChangeLog-5.34 |
comment:5
How many patches can we drop with this version? |
Branch: u/pbruin/16908-maxima-5.34.0 |
Author: Peter Bruin |
Commit: |
comment:8
Replying to @kiwifb:
This branch removes two patches and updates another one. [Edit: the one added patch was not necessary after all, there was a better solution.] |
comment:9
I have tested this (and all tests pass) on x86_64 and ARM 32-bit. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Maxima 5.34.1 has been released, an updated branch is coming soon. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Changed branch from u/pbruin/16908-maxima-5.34.0 to u/pbruin/16908-maxima-5.34.1 |
comment:14
Could you justify this change? - sage: latex(integrate(1/(1+sqrt(x)),x,0,1))
- \int_{0}^{1} \frac{1}{\sqrt{x} + 1}\,{d x} I think the purpose of this test is to show an integral that Maxima cannot compute. You could replace this by a different integral... |
comment:15
Maxima is now able to compute the integral (it equals 2 - 2 log(2)), so the doctest did not test the |
comment:16
Replying to @pjbruin:
Well, the 2 doctests are somewhat different, one calls directly Apart from this trivial thing, this ticket looks good to me. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:23
I get various doctest failures on top of 6.4.beta3:
Looks like it is all due to changed precision of floats |
comment:25
I'll have a look at the doctest failures. |
comment:26
Replying to @jdemeyer:
There is no need to, I just fixed them and only have to test them on 32-bit. |
comment:28
Another trivial change to a French book test. |
comment:29
Do you understand why floats from Maxima are now printed with one digit less of precision??? |
comment:30
Replying to @jdemeyer:
This is because of recent changes (between 5.33.0 and 5.34.0) to Maxima's |
comment:31
All relevant doctests (the failed ones above, and everything in |
comment:32
I'm not happy with the changes in the French book tests. In some places you use
Paul |
comment:33
Replying to @zimmermann6:
I assume you are mostly referring to the changes made by #16858; this ticket only removes one digit.
Do I understand correctly that you propose to always use Could you explain more precisely why you object to showing the output of the doctests with the (increased) precision used by the current Sage version? Does it cause more work for you to keep them updated, or do you expect it may cause confusion among users with different versions of Sage? |
comment:34
I refer to changeset Yes it would be better to only keep the minimum number of digits output by all versions of Sage (since the one we use in our book, i.e., 5.9). The intent of those doctests is to only to check the examples that were printed in the book still work in versions of Sage after 5.9. Thus it makes no sense to add more digits than those that were actually printed on http://sagebook.gforge.inria.fr/. Any doctests with a different intent should go elsewhere in my opinion. Paul |
comment:35
Replying to @zimmermann6:
The only change made by that changeset in the --- a/src/sage/tests/french_book/integration_doctest.py
+++ b/src/sage/tests/french_book/integration_doctest.py
@@ -180,7 +180,7 @@ Sage example in ./integration.tex, line 838::
sage: t, y = var('t, y')
sage: desolve_rk4(t*y*(2-y), y, ics=[0,1], end_points=[0, 1], step=0.5)
- [[0, 1], [0.5, 1.12419127424558], [1.0, 1.4615901622888245]]
+ [[0, 1], [0.5, 1.12419127424558], [1.0, 1.461590162288825]]
Sage example in ./integration.tex, line 861::
The (earlier) commit that added the extra digits was 7cb1dd5 in #16858.
OK, but surely a doctest where the only change is an increased precision should be classified as "still working"? In any case, a user who types the doctest in a newer version of Sage will also see the extra digits.
I don't disagree, but given that the doctests need to be updated in any case, I don't understand why adding the extra digits is bad and adding |
comment:36
I won't spend more time on this, please remove the tests corresponding to examples in our book that you break, it makes no sense to maintain them since the original goal is lost. Paul |
comment:37
Replying to @zimmermann6:
I agree with Peter Bruin that printing a few less or more digits doesn't really "break" the test. Even if the goal of reproducing the exact output of the book cannot be achieved, at least the goal of having output reasonably close to the book can be maintained. |
Changed branch from u/pbruin/16908-maxima-5.34.1 to |
Tarball: http://pub.math.leidenuniv.nl/~bruinpj/sage/maxima-5.34.1.tar.bz2
This appears to fix #14965.
CC: @zimmermann6 @jpflori @williamstein
Component: packages: standard
Keywords: maxima
Author: Peter Bruin
Branch/Commit:
e216b6f
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/16908
The text was updated successfully, but these errors were encountered: