#13211: Upgrade GAP to 4.5.5
--------------------------------+-------------------------------------------
       Reporter:  kini          |         Owner:  tbd     
           Type:  enhancement   |        Status:  new     
       Priority:  major         |     Milestone:  sage-5.3
      Component:  packages      |    Resolution:          
       Keywords:  rng           |   Work issues:          
Report Upstream:  N/A           |     Reviewers:          
        Authors:  Volker Braun  |     Merged in:          
   Dependencies:                |      Stopgaps:          
--------------------------------+-------------------------------------------

Comment (by SimonKing):

 Here are test failures on my `OpenSUSE` laptop.

 Most of the tests fail because of changes in the random generator or
 because of slightly changed error messages or because of changing
 documentation in GAP or simply because of testing against the version
 number.

 Here are more serious problems:
 {{{
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/interfaces/gap.py", line 1330:
     sage: 'Centralizer' in s5.trait_names()
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/simon/SAGE/prerelease/sage-5.2.rc0/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/simon/SAGE/prerelease/sage-5.2.rc0/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/simon/SAGE/prerelease/sage-5.2.rc0/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_46[3]>", line 1, in <module>
         'Centralizer' in s5.trait_names()###line 1330:
     sage: 'Centralizer' in s5.trait_names()
       File "/home/simon/SAGE/prerelease/sage-5.2.rc0/local/lib/python
 /site-packages/sage/interfaces/gap.py", line 1338, in trait_names
         v = eval(v)
       File "<string>", line 4
         "in", "ShallowCopy", <Attribute "Name",
                              ^
     SyntaxError: invalid syntax
 }}}

 {{{
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/groups/additive_abelian/additive_abelian_group.py", line 442:
     sage: G.permutation_group()
 Expected:
     Permutation Group with generators [(1,4,2,5,3,6)]
 Got:
     Permutation Group with generators [(3,4,5), (1,2)]
 }}}
 {{{
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/groups/abelian_gps/abelian_group.py", line 826:
     sage: G.permutation_group()
 Expected:
     Permutation Group with generators [(1,2,3)(4,5,6), (1,4)(2,5)(3,6)]
 Got:
     Permutation Group with generators [(3,4,5), (1,2)]
 }}}
 That seems to be a rather serious error: `G = AdditiveAbelianGroup([2,
 3])` in the first example, and `G = AbelianGroup(2, [2,3])` in the second
 example - so, why is there a change in the isomorphism types?

 In sage/coding/linear_code.py are a few crashes, like this:
 {{{
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/coding/linear_code.py", line 2047:
     sage: G.order()
 Exception raised:
     Traceback (most recent call last):
 ...
     RuntimeError: Gap produced error output
     Error, Variable: '$sage16' must have a value

        executing Size($sage16);
 **********************************************************************
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/coding/linear_code.py", line 2716:
     sage: C.zeta_polynomial()
 Exception raised:
     Traceback (most recent call last):
 ...
     RuntimeError: Gap produced error output
     Error, Variable: '$sage24' must have a value

        executing Print($sage24);
 **********************************************************************
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/coding/linear_code.py", line 599:
     sage: for B in self_orthogonal_binary_codes(7,3,4):
        print B; print B.gen_mat()
 Expected:
     Linear code of length 4, dimension 1 over Finite Field of size 2
     [1 1 1 1]
     Linear code of length 6, dimension 2 over Finite Field of size 2
     [1 1 1 1 0 0]
     [0 1 0 1 1 1]
     Linear code of length 7, dimension 3 over Finite Field of size 2
     [1 0 1 1 0 1 0]
     [0 1 0 1 1 1 0]
     [0 0 1 0 1 1 1]
 Got:
     Linear code of length 4, dimension 1 over Finite Field of size 2
     [1 1 1 1]
     ** Gap crashed or quit executing
 'Read("/home/simon/.sage//temp/linux_sqwp.site/18857//interface//tmp18907");'
 **
     Restarting Gap and trying again
     Linear code of length 6, dimension 2 over Finite Field of size 2
     [1 1 1 1 0 0]
     [0 1 0 1 1 1]
     Linear code of length 7, dimension 3 over Finite Field of size 2
     [1 0 1 1 0 1 0]
     [0 1 0 1 1 1 0]
     [0 0 1 0 1 1 1]
 **********************************************************************
 }}}

 Note the crash in the last example. A similar crash is:
 {{{
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/coding/code_constructions.py", line 530:
     sage: C.minimum_distance()
 Expected:
     4
 Got:
     ** Gap crashed or quit executing
 'Read("/home/simon/.sage//temp/linux_sqwp.site/18774//interface//tmp18791");'
 **
     Restarting Gap and trying again
     4
 }}}

 Several tests in latin.py fail, probably because of changes in the random
 generator. Couldn't one test instead whether the squares really ''are''
 latin?

 A strange one:
 {{{
 File "/home/simon/SAGE/prerelease/sage-5.2.rc0/devel/sage-
 main/sage/tests/cmdline.py", line 359:
     sage: out
 Expected:
     '120\n'
 Got:
     '\x1b[?1034h120\n'
 }}}

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