> On Fri, Jul 16, 2010 at 3:21 PM, François Bissey > > <[email protected]> wrote: > >> Hi, > >> > >> Newer sympy has a bundled copy of mpmath, what causes several > >> problems in my sagemath package. I was in vacation during most of > >> Mandriva 2010.1 freeze, and did not fully test the package for some > >> time, but I am working on an update for it; basically an 's/import > >> mpmath/import sympy.mpmath as mpmath/', but would like to know what > >> would be the better approach. (just letting the code use both leads to > >> SEGvs). > >> > >> The new sagemath package will conflict with > >> python-mpmath-0.14-1mdv2010.1 (forcing it to be uninstalled), because > >> the sympy is python-sympy-0.6.7-1mdv2010.1. > > > > Hi Paulo, > > > > that will probably be a pain for us in gentoo as well. > > At the moment we are sticking with sympy-0.6.6 as > > sympy-0.6.7 gives us trouble. The gentoo philosophy > > at this point will be to remove mpmath from sympy and > > make it a requirement. But I haven't been actively working > > on that. > > Yes, I run into similar problems when trying to upgrade sympy in Sage. > > We ship our own version of mpmath, because different versions of > mpmath are not compatible with each other (e.g. you can't just depend > on mpmath externaly, there are little things that break). However, we > do try to update mpmath in sympy, for example the latest git sympy is > using the latest release of mpmath. But you can see the related > commits, that it's not as trivial as just replacing the code. > > If you know any solution, it'd be absolutely awesome. > > One solution that I can think of is to drop python2.4 support, and use > relative imports in sympy to use our own versin of mpmath, that is > tested and works. That way it should not interfere with the other > installation of mpmath, that the user might have (in Sage or else). > What about making it a build time option? If a suitable version is provided don't use the internal one. As far as python-2.4 is concerned we can restrict that in Gentoo and sage has moved away from it.
Francois -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
