On Mon, Jul 19, 2010 at 1:01 PM, William Stein <wst...@gmail.com> wrote: > On Mon, Jul 19, 2010 at 9:54 PM, Ondrej Certik <ond...@certik.cz> wrote: >> On Fri, Jul 16, 2010 at 3:21 PM, François Bissey >> <f.r.bis...@massey.ac.nz> 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). >> >> Ondrej > > Alternatively you could rename the version of mpmath that you include > in sympy, e.g., call it > > mpmath_sympy
Actually, that's a very good idea. We should do that. Ondrej -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org