Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-10 Thread Paulo César Pereira de Andrade
Em 9 de novembro de 2011 23:27, Paulo César Pereira de Andrade escreveu: > Em 9 de novembro de 2011 23:24, Paulo César Pereira de Andrade > escreveu: > >>  But, since gmpy call to mp_set_memory_functions is kind of redundant, >> as it just ends up calling malloc/realloc/free anyway, with this pat

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Paulo César Pereira de Andrade
Em 9 de novembro de 2011 23:24, Paulo César Pereira de Andrade escreveu: >  But, since gmpy call to mp_set_memory_functions is kind of redundant, > as it just ends up calling malloc/realloc/free anyway, with this patch: Err, this patch probably should require an environment variable, because w

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Paulo César Pereira de Andrade
2011/11/9 Francois Bissey : >> >> rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/devel/co > >> oker/x86_64/media/contrib/release/python-gmpy-1.14-1mdv2011.0.x86_64.rpm >> instalando python-gmpy-1.14-1mdv2011.0.x86_64.rpm a partir de >> /var/cache/urpmi/rpms >> Preparando... > > Inte

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Francois Bissey
> rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/devel/co > oker/x86_64/media/contrib/release/python-gmpy-1.14-1mdv2011.0.x86_64.rpm > instalando python-gmpy-1.14-1mdv2011.0.x86_64.rpm a partir de > /var/cache/urpmi/rpms > Preparando... Interesting mix of French and Brazilian

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Paulo César Pereira de Andrade
2011/11/9 Francois Bissey : >> 2011/11/9 Francois Bissey : > >> >>   Maybe setting MPMATH_NOGMPY is not enough to prevent it to >> call to gmpy "init" function that calls mp_set_memory_functions. >> >>   I will try to debug a bit further, in the worst case, I can resubmit a >> sagemath package with

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Francois Bissey
> 2011/11/9 Francois Bissey : > > Maybe setting MPMATH_NOGMPY is not enough to prevent it to > call to gmpy "init" function that calls mp_set_memory_functions. > > I will try to debug a bit further, in the worst case, I can resubmit a > sagemath package with "Conflicts: python-gmpy". I had it

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Paulo César Pereira de Andrade
2011/11/9 Francois Bissey : >> Em 9 de novembro de 2011 00:29, Paulo César Pereira de Andrade >> >> escreveu: >> > 2011/11/8 Francois Bissey : >> >>> 2011/11/8 Francois Bissey : >> >>> >> >>> [...] >> >>> >> >>> > I don't get any of that. I suspect there may be an issue with >> >>> > gmp/mpir. But

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Francois Bissey
> Em 9 de novembro de 2011 00:29, Paulo César Pereira de Andrade > > escreveu: > > 2011/11/8 Francois Bissey : > >>> 2011/11/8 Francois Bissey : > >>> > >>> [...] > >>> > >>> > I don't get any of that. I suspect there may be an issue with > >>> > gmp/mpir. But I have really no clue about the gl

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-09 Thread Paulo César Pereira de Andrade
Em 9 de novembro de 2011 00:29, Paulo César Pereira de Andrade escreveu: > 2011/11/8 Francois Bissey : >>> 2011/11/8 Francois Bissey : >>> >>> [...] >>> >>> > I don't get any of that. I suspect there may be an issue with gmp/mpir. >>> > But I have really no clue about the glibc problem, you are us

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Paulo César Pereira de Andrade
2011/11/8 Francois Bissey : >> 2011/11/8 Francois Bissey : >> >> [...] >> >> > I don't get any of that. I suspect there may be an issue with gmp/mpir. >> > But I have really no clue about the glibc problem, you are using >> > mpmath-0.17 I expect. >> >>   Yes, mpmath-0.17. >> >>   This should be an

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Paulo César Pereira de Andrade
2011/11/8 Francois Bissey : > Hi Paulo, > > with gmp5 I had to do the following for sage to even compile in > sage/rings/integer.so precisely: > sed -i "s:__GMP_BITS_PER_MP_LIMB:GMP_LIMB_BITS:g" sage/rings/integer.pyx Yes, I have been using a similar approach (rediffing patch from time to time)

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Francois Bissey
> 2011/11/8 Francois Bissey : > > [...] > > > I don't get any of that. I suspect there may be an issue with gmp/mpir. > > But I have really no clue about the glibc problem, you are using > > mpmath-0.17 I expect. > > Yes, mpmath-0.17. > > This should be an issue with gmp / pylong / ntl conv

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Paulo César Pereira de Andrade
2011/11/8 Francois Bissey : [...] > I don't get any of that. I suspect there may be an issue with gmp/mpir. But > I have really no clue about the glibc problem, you are using mpmath-0.17 > I expect. Yes, mpmath-0.17. This should be an issue with gmp / pylong / ntl conversions, in the sage/c

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Francois Bissey
> Em 8 de novembro de 2011 04:20, Paulo César Pereira de Andrade > > escreveu: > > 2011/11/7 Francois Bissey : > >> Hi Paulo, > >> > >> You are using python-2.7 right? In #9958 I have a list of patches > >> as long as my arm to deal with the numerical noise and changes > >> in warnings. > > > >

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Jeroen Demeyer
On 2011-11-08 07:51, Paulo César Pereira de Andrade wrote: > With the sympy/mpmath patches, I can drop a hack I have been rediff'ing > for some time, but anything that uses mpmath now shows a lot of warnings > like these: > > sage -t -force_lib "devel/sage/sage/libs/mpmath/ext_main.pyx" > *** gl

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-07 Thread Paulo César Pereira de Andrade
Em 8 de novembro de 2011 04:20, Paulo César Pereira de Andrade escreveu: > 2011/11/7 Francois Bissey : > >> Hi Paulo, >> >> You are using python-2.7 right? In #9958 I have a list of patches >> as long as my arm to deal with the numerical noise and changes >> in warnings. > >  Yes, python 2.7.2. Th

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-07 Thread Paulo César Pereira de Andrade
2011/11/7 Francois Bissey : > Hi Paulo, > > You are using python-2.7 right? In #9958 I have a list of patches > as long as my arm to deal with the numerical noise and changes > in warnings. Yes, python 2.7.2. Thanks for the hint on the patches. They appear to address exactly a good share of the

[sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-07 Thread Paulo César Pereira de Andrade
Hi, I updated the mandriva sagemath package to 4.7.2. For quite some time, I think one year++, updates are basically a rediff of some patches, but while the package initially had a lot of doctest failures, then gone to a "gold age" of like 3-5 doctest failures for a long time, now after every