FS#43210 - [python-sympy] Build against system mpmath

Attached to Project: Community Packages
Opened by Antonio Rojas (arojas) - Tuesday, 23 December 2014, 20:18 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 25 December 2014, 04:18 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Sympy comes with its own bundled version of mpmath. This causes issues in Sage (built against system libs) when trying to import both sympy and mpmath due to function name clashes between both mpmath versions, and breaks running the testsuite (and anything that depends on sympy).
There is a patch upstream that makes it use the system version of mpmath, see [1] for the discussion. It is not yet merged, but it will be soon, in fact it is already mentioned in the release notes [2] that 0.7.6 is that last version with bundled mpmath. Fedora [3] and Ubuntu [4] both patch sympy to build against system mpmath. Any chance of doing the same for our package? I tested the Fedora patch and it compiles and works correctly (tests pass except for one in plots that doesn't seem related to this).

[1] https://github.com/sympy/sympy/pull/2192
[2] https://github.com/sympy/sympy/wiki/Release-Notes-for-0.7.6
[3] http://pkgs.fedoraproject.org/cgit/sympy.git/tree/sympy-0.7.6-strip-internal-mpmath.patch
[4] https://launchpad.net/ubuntu/+source/sympy/0.7.5-3
This task depends upon

Closed by  Felix Yan (felixonmars)
Thursday, 25 December 2014, 04:18 GMT
Reason for closing:  Implemented
Additional comments about closing:  0.7.6-2

Loading...