#8731: update/upgrade maxima to latest upstream (5.21.1)
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  tbd       
       Type:  enhancement  |      Status:  needs_work
   Priority:  major        |   Milestone:  sage-4.6  
  Component:  packages     |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by aginiewicz):

 As sooner or later maxima would have to be updated to 5.22 or newer I
 decided to share my experiences of first approach to update to it. I
 wanted to try 5.22 because it's first version that supports inversion of
 error function, and first to support integrals of form abs(x) from 0 to a
 without assumptions. I based on patch by Jason for 5.21 and wanted to
 reach at least same level of failures as with 5.21. Unfortunately, I got
 stuck at one place - maxima hangs in some situations. I tracked that to
 this difference:

 before it was
 {{{
 sage -maxima -p /home/giniu/dev/sage/local/bin/sage-maxima.lisp
 ;;; Loading #P"/opt/sage/local/lib/ecl/defsystem.fas"
 ;;; Loading #P"/opt/sage/local/lib/ecl/cmp.fas"
 ;;; Loading #P"/opt/sage/local/lib/ecl/sysfun.lsp"
 Maxima 5.20.1 http://maxima.sourceforge.net
 using Lisp ECL 10.2.1
 Distributed under the GNU Public License. See the file COPYING.
 Dedicated to the memory of William Schelter.
 The function bug_report() provides bug reporting information.
 (%i1) 0;
 <sage-display>(%o1)                                  0
 (%i2) sage0: x==x;
 Incorrect syntax: = is not a prefix operator
 (%i2) <sage-display>(%o2)                                  x
 }}}
 and now it is
 {{{
 ./sage -maxima -p /home/giniu/dev/sage/local/bin/sage-maxima.lisp
 ;;; Loading #P"/home/giniu/dev/sage/local/lib/ecl/sb-bsd-sockets.fas"
 ;;; Loading #P"/home/giniu/dev/sage/local/lib/ecl/sockets.fas"
 ;;; Loading #P"/home/giniu/dev/sage/local/lib/ecl/defsystem.fas"
 ;;; Loading #P"/home/giniu/dev/sage/local/lib/ecl/cmp.fas"
 ;;; Loading #P"/home/giniu/dev/sage/local/lib/ecl/sysfun.lsp"
 Maxima 5.22.1 http://maxima.sourceforge.net
 using Lisp ECL 10.4.1
 Distributed under the GNU Public License. See the file COPYING.
 Dedicated to the memory of William Schelter.
 The function bug_report() provides bug reporting information.
 (%i1) 0;
 <sage-display>(%o1)                                  0
 (%i2) sage0: x==x;
 incorrect syntax: = is not a prefix operator
 sage0: x==
         ^
 }}}

 which makes Sage wait for "<sage-display>" forever.

 I made spkg: http://lab15.im.pwr.wroc.pl/~giniew/maxima-5.22.1.spkg and
 patch - http://lab15.im.pwr.wroc.pl/~giniew/trac-8731-maxima-upgrade-
 to-5.22.1.patch - those are not working but I'm attaching them in case
 someone wants to pick up from here - as I said I gave up for now.

 (btw, the doctest that was failing in devel/sage/sage/calculus/calculus.py
 is just different grouping, checked it and added new version to doctest,
 and there is one new doctest failure in
 devel/sage/sage/calculus/calculus.py that fails because maxima can
 integrate abs(x) in x from 0 to any a and returns correct 1/2*a*abs(a).
 There was also change to how logcontract works, they don't make full
 rational simplification now. I added one more step of rational
 simplification to simplify_full to simplify it more, though it might
 change some results.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8731#comment:43>
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.

Reply via email to