Conversation
Closes mpmath#705 Closes mpmath#574
|
This breaks sagemath (which sets Is there a plan on how to move forward sagemath? cc: @dimpase |
|
@tornaria - I don't recall what the plan was - perhaps just to drop that Sage variable? |
First sagemath has to support mpmath with gmpy2 backend, but I did not find a PR for that (maybe there is none, I just saw this being discussed on #705) @skirpichev @fredrik-johansson do you have any input about this? FWIW, I think removing the sage backend is a good move, but some coordination with sagemath seems a good thing. |
I don't think we should do anything special for it. If sage has the gmpy2 module - gmpy2 support for the mpmath will be turned on, unless you disabled it by the MPMATH_NOGMPY environment variable. |
Something has to be done somewhere, since running sagemath with 1.4.0a0 is broken, for instance: Hopefully it's only conversion. As I said, sage is expecting |
|
I see. Sage has additional cython replacements for mpmath functions, but this interface is outdated already for the 1.3.0 version (see e.g. sagemath/sage#36447). I think it might be dropped. |
|
which version of scipy is compatible with this branch? I am seeing while running |
AFAIC, only the sympy master, since sympy/sympy#26269 |
|
Actually there is sympy 1.12.1a1 that should be compatible: Soon there should be 1.12.1 |
|
oh yeah, it's SymPy, not SciPy |
Yes, thanks for that. It's why I started testing this only now. |
|
I don't know how easily this fits your workflow but you might find it easier to track mpmath and sympy master branches. SymPy's master branch tracks mpmath's master branch directly regardless of prereleases: |
I track prereleases to have ahead-of-time warning of what will happen with future updates (maiainly sagemath and dependencies, e.g. void-linux/void-packages#49571). Tracking master would be unworkable (and for most projects building from master is a different procedure than building from a release or prerelease, so it wouldn't be testing the same). I dogfood my own draft packages so they have to be in a usable combination. |
|
I have the necessary update for Sage in sagemath/sage#38113 |
Closes #705
Closes #574