#13364: Upgrade Maxima to 5.29.1
-------------------------------+--------------------------------------------
Reporter: kcrisman | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.6
Component: packages | Resolution:
Keywords: maxima spkg | Work issues: fix doctets
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by jpflori):
Replying to [comment:17 fbissey]:
> Doing some tests with ecl 12.2.1+maxima 5.29.1 right now. I assume the
target will be 12.12.1 /5.29.1 and enabling unicode in ecl if possible.
Anyway I have a nasty
Yup 12.12.1 plus 5.29.1.
About the name changes I mentioned here and on #13324, I got upstream
confimation it was expected and is not a problem, see
http://sourceforge.net/mailarchive/message.php?msg_id=30232028
I'd prefer to postpone Unicode and deal with it in let's say #12985,
unless it is really trivial.
> {{{
> sage -t -long -verbose "devel/sage-
main/sage/symbolic/integration/integral.py" # Killed/crashed
> }}}
> Probably ecl/maxima rather than pure maxima it goes in a panic
> {{{
> ;;;
> ;;; Stack overflow.
> ;;; Jumping to the outermost toplevel prompt
> ;;;
>
> }}}
Nice, I did not get that one though.
> for quite a bit before getting killed. The other interesting bits:
> {{{
> sage -t -long "devel/sage-main/sage/interfaces/maxima_abstract.py"
> **********************************************************************
> File "/usr/share/sage/devel/sage-
main/sage/interfaces/maxima_abstract.py", line 422:
> sage: maxima.version()
> Expected:
> '5.26.0'
> Got:
> '5.29.1'
> **********************************************************************
> File "/usr/share/sage/devel/sage-
main/sage/interfaces/maxima_abstract.py", line 2354:
> sage: maxima_version()
> Expected:
> '5.26.0'
> Got:
> '5.29.1'
> **********************************************************************
> 2 items had failures:
> 1 of 4 in __main__.example_13
> 1 of 5 in __main__.example_84
> ***Test Failed*** 2 failures.
> For whitespace errors, see the file
/home/fbissey/.sage/tmp/maxima_abstract_3312.py
> [7.4 s]
> sage -t -long "devel/sage-main/sage/interfaces/maxima_lib.py"
> **********************************************************************
> File "/usr/share/sage/devel/sage-main/sage/interfaces/maxima_lib.py",
line 716:
> sage: integrate(sqrt(x + sqrt(x)), x).simplify_full()
> Expected:
> 1/12*sqrt(sqrt(x) + 1)*((8*x - 3)*x^(1/4) + 2*x^(3/4)) -
1/8*log(sqrt(sqrt(x) + 1) - x^(1/4)) + 1/8*log(sqrt(sqrt(x) + 1) +
x^(1/4))
> Got:
> integrate(sqrt(x + sqrt(x)), x)
> #0: simplify_sum(expr='sum(q^k,k,0,inf))
> #1: simplify_sum(expr=a*'sum(q^k,k,0,inf))
> **********************************************************************
> File "/usr/share/sage/devel/sage-main/sage/interfaces/maxima_lib.py",
line 819:
> sage: limit(x^a,x=0)
> Expected:
> Traceback (most recent call last):
> ...
> ValueError: Computation failed since Maxima requested additional
> constraints; using the 'assume' command before limit evaluation
> *may* help (see `assume?` for more details)
> Is a an integer?
> Got:
> Traceback (most recent call last):
> File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
> self.run_one_example(test, example, filename, compileflags)
> File "/usr/bin/sagedoctest.py", line 38, in run_one_example
> OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
> File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
> compileflags, 1) in test.globs
> File "<doctest __main__.example_26[9]>", line 1, in <module>
> limit(x**a,x=Integer(0))###line 819:
> sage: limit(x^a,x=0)
> File "/usr/lib64/python2.7/site-
packages/sage/calculus/calculus.py", line 1188, in limit
> l = maxima.sr_limit(ex, v, a)
> File "/usr/lib64/python2.7/site-
packages/sage/interfaces/maxima_lib.py", line 856, in sr_limit
> raise ValueError, "Computation failed since Maxima requested
additional constraints; using the 'assume' command before limit evaluation
*may* help (see `assume?` for more details)\n" + s
> ValueError: Computation failed since Maxima requested additional
constraints; using the 'assume' command before limit evaluation *may* help
(see `assume?` for more details)
> Is a an ?integer?
> **********************************************************************
> 2 items had failures:
> 1 of 25 in __main__.example_24
> 1 of 19 in __main__.example_26
> ***Test Failed*** 2 failures.
> For whitespace errors, see the file
/home/fbissey/.sage/tmp/maxima_lib_3431.py
> [4.0 s]
> }}}
> it is not as bad as I remember but it is just pinpointing on some
obvious tests right now.
>
Got these ones and similar in other places.
Everything looked trivial to fix and consisted in:
- version number changes,
- integration which did nothing, surely the assumption stuff we mentioned
here,
- trivial simplification which was not done anymore, maybe a call to
simplify could fix these,
- the strange ? things.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13364#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.