#20569: broken giacpy built in 7.2.rc1
-------------------------------------+-------------------------------------
       Reporter:  frederichan        |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-7.2
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  eef8b65d5cf8432a11ad4212c798a6d69023f5e8
  u/frederichan/20569                |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by frederichan):

 * commit:   => eef8b65d5cf8432a11ad4212c798a6d69023f5e8
 * branch:   => u/frederichan/20569


Old description:

> as reported by mmarco in #20258
> giacpy.pyx fail to be cythonized in sage 7.2.rc1
> {{{
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>      g=(g*M+gen(<long long>i))
>      a=a-(i<<size)
>
>    g=g*gen(<long long>(1<<size))+gen(<long long> a)
>    if aneg:
>      g=-g
>       ^
> ------------------------------------------------------------
>
> giacpy.pyx:5112:7: Invalid operand type for '-' (gen)
> Compiling giacpy.pyx because it changed.
> [1/1] Cythonizing giacpy.pyx
> }}}

New description:

 as reported by mmarco in #20258
 giacpy.pyx fail to be cythonized in sage 7.2.rc1
 {{{
 Error compiling Cython file:
 ------------------------------------------------------------
 ...
      g=(g*M+gen(<long long>i))
      a=a-(i<<size)

    g=g*gen(<long long>(1<<size))+gen(<long long> a)
    if aneg:
      g=-g
       ^
 ------------------------------------------------------------

 giacpy.pyx:5112:7: Invalid operand type for '-' (gen)
 Compiling giacpy.pyx because it changed.
 [1/1] Cythonizing giacpy.pyx
 }}}

 Fixing this in giacpy 0.5.6. The tarball to put in upstream/ is avaible
 at:
 http://webusers.imj-
 prg.fr/~frederic.han/xcas/giacpy/sage/giacpy-0.5.6.tar.gz

 changes can be seen on the giacpy-sage git:
 https://gitlab.math.univ-paris-diderot.fr/han/giacpy-sage

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=eef8b65d5cf8432a11ad4212c798a6d69023f5e8
 eef8b65]||{{{update giacpy to 0.5.6}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/20569#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to