I can confirm Marc's observation. On the other hand, I can reproduce the bug even with Mathics3 7.0.0 and Sage 10.5.beta3 (from our Docker Hub repository). This constellation is interesting since the last time I successfully tested the Mathics3 interface was with that release (for pull request 37395 <https://github.com/sagemath/sage/pull/37395>, which was published in 10.5.beta3 <https://github.com/sagemath/sage/releases/tag/10.5.beta3>).
Sebastian [email protected] schrieb am Montag, 16. März 2026 um 19:45:06 UTC+1: > For whatever it is worth, I tested on ubuntu 24.04 with the pre-reelase > appimage for Sage 10.9, based on 10.9.beta7 with python 3.14. > After running %pip install mathics3 the commands: > > sage: from sage.interfaces.mathics import mathics > sage: mobj = mathics(x^2 - 1); mobj > > did not produce any tracebacks. They did produce warnings that there is > no module named pkg_resources, which apparently caused some components of > mathics to fail to load. Since pkg_resources is not included in Python > 3.14 it would seem that mathics doesn't completely support Python 3.14 > (yet?). > > - Marc > On Sunday, March 15, 2026 at 3:49:20 PM UTC-5 [email protected] wrote: > >> thanks i was about to start working on it and reporting it :) >> >> On Sunday, March 15, 2026 at 9:16:52 PM UTC+2 Michael Orlitzky wrote: >> >>> On 2026-03-15 11:58:52, Rashad alsharpini2 wrote: >>> > i believe The issue is that Sage uses its own mpmath backend >>> > (sage.libs.mpmath.ext_main) which replaces the standard >>> > mpmath.ctx_mp_python module, but mathics3 was trying to import mpf/mpc >>> from >>> > that module. >>> >>> This should change in the next beta: >>> >>> https://github.com/sagemath/sage/pull/41728 >>> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/a26e3c99-1914-4b21-a41c-e891ef5ba383n%40googlegroups.com.
