#11710: experimental package macaulay2-1.1-r7221.p0.spkg fails to install
--------------------------------------+-------------------------------------
       Reporter:  mariah              |         Owner:  tbd       
           Type:  defect              |        Status:  new       
       Priority:  major               |     Milestone:  sage-5.1  
      Component:  optional packages   |    Resolution:            
       Keywords:  sd32, sd40.5        |   Work issues:            
Report Upstream:  N/A                 |     Reviewers:  John Perry
        Authors:  Andrey Novoseltsev  |     Merged in:            
   Dependencies:                      |      Stopgaps:            
--------------------------------------+-------------------------------------

Comment (by novoselt):

 One automatic thing to try is (in Sage root)
 {{{
 novoselt@tx2-lmde ~/sage-5.1.beta0 $ ./sage -t -long -optional
 devel/sage/sage/interfaces/macaulay2.py
 sage -t -long -optional "devel/sage/sage/interfaces/macaulay2.py"
 **********************************************************************
 File
 "/home/novoselt/sage-5.1.beta0/devel/sage/sage/interfaces/macaulay2.py",
 line 398:
     sage: macaulay2.version() #optional
 Expected:
     (1, 3, 1)
 Got:
     (1, 4, 0, 1)
 **********************************************************************
 File
 "/home/novoselt/sage-5.1.beta0/devel/sage/sage/interfaces/macaulay2.py",
 line 575:
     sage: latex(m) #optional
 Expected:
     \begin{pmatrix}1& {2}\\ {3}& {4}\\ \end{pmatrix}
 Got:
     \begin{pmatrix}1& 2\\ 3& 4\\ \end{pmatrix}
 **********************************************************************
 File
 "/home/novoselt/sage-5.1.beta0/devel/sage/sage/interfaces/macaulay2.py",
 line 618:
     sage: R.external_string()                      #optional
 Expected:
     'QQ[x..y, Degrees => {2:1}, Heft => {1}, MonomialOrder =>
 VerticalList{MonomialSize => 32, GRevLex => {2:1}, Position => Up},
 DegreeRank => 1]'
 Got:
     'QQ(monoid[x..y, Degrees => {2:1}, Heft => {1}, MonomialOrder =>
 VerticalList{MonomialSize => 32, GRevLex => {2:1}, Position => Up},
 DegreeRank => 1])'
 **********************************************************************
 File
 "/home/novoselt/sage-5.1.beta0/devel/sage/sage/interfaces/macaulay2.py",
 line 830:
     sage: "generators" in traits     # optional
 Expected:
     True
 Got:
     False
 **********************************************************************
 4 items had failures:
    1 of   4 in __main__.example_21
    1 of   6 in __main__.example_29
    1 of   5 in __main__.example_32
    1 of   6 in __main__.example_43
 ***Test Failed*** 4 failures.
 For whitespace errors, see the file
 /home/novoselt/.sage//tmp/macaulay2_19614.py
          [12.5 s]
 }}}
 Which shows that things still work quite well - only the last test is not
 quite clear without looking at the code (and there are 144 failures
 without M2 available, so there are quite a few tests in that module).

 If you have a separate M2 installed, be careful during review tests - if
 you don't have a working installation inside of Sage the system-wide will
 be used silently and without any difference. So it may seem that spkg is
 working when it does not.

 On an unrelated note, it is peculiar how 1 was not in `{}` before but
 `{2}` was in pmatrix code. New way is more consistent and easier to read
 by a human, I'd like to change Sage latexing in the same way to make
 manual modifications of results easier...

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