On Tue, Jul 9, 2013 at 11:56 AM, Freddie Witherden <[email protected]>wrote:

> On 28/06/13 14:42, Sergey Kirpichev wrote:
> > There is a long term issue [1] to make mpmath an external dependency.
> > It was suggested by
> > Aaron (see discussion in PR [2]), that we should discuss this on the
> > mailing list.
> >
> > Perhaps, the main reason to prefer bundled mpmath copy is a
> > mystical "complex installation".  Not clear enough.  For example, I don't
> > think that additional steps for package installation from mpmath manual
> > does matter.  For non-root users
> > there shouldn't be any problems too, at least for Python 2.6+ (per-user
> > site-package directory).
> >
> > [1] http://code.google.com/p/sympy/issues/detail?id=2482
> > [2] https://github.com/sympy/sympy/pull/2192
>
> As someone who has an application which uses *both* SymPy *and* mpmath I
> am absolutely against removing the embedded copy.  There are several
> reasons for this.
>

Thank you for your opinion. I think it's important to get the views of the
people who are actually using sympy and mpmath.


>
> When we first started developing our application the plan was to allow
> for both system and embedded mpmath installations.  The result was code
> along the lines of:
>
> try:
>     import mpmath as mp
> except ImportError:
>     from sympy import mpmath as mp
>
> which was something of a nuisance.  Worse, if the user had opted to
> install their own version of mpmath but SymPy was configured to use its
> own version things were found to go seriously awry.  Eventually we gave
> up and just switched to using the embedded copy within SymPy.  Removing
> mpmath would reopen this can of worms for very little benefit.
>
> Now, if mpmath was a flourishing project I would be open to the idea of
> splitting the two apart.  However, as of June 2013, it isn't.  There
> have been no commits to the official subversion repository in quite some
> time (Nov 2011) with the version that ships with SymPy, for all intents
> and purposes, being the de facto revision.  Case in point: Google
> mpmath, the second result for me is:
>

The source of mpmath is now at https://github.com/fredrik-johansson/mpmath,
but I think your point is still valid. There haven't been any major changes
other than bugfixes since 2011 (all the changes since 2011 fit on one
GitHub page https://github.com/fredrik-johansson/mpmath/commits/master),
and there have been a total of three pull requests in the two years that
the GitHub repo has existed.

Aaron Meurer


>
> http://docs.sympy.org/dev/modules/mpmath/index.html
>
> which is from the SymPy project.
>
> I would much rather see mpmath brought back under the umbrella of SymPy
> at least until a new maintainer can be found.  At the very least I do
> not believe that removing the embedded copy of mpmath should even be on
> the table until all of the patches (or functional equivalents thereof)
> have been merged upstream and a new mpmath release has been made.
>
> Polemically yours, Freddie.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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 http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to