Sympy officially supports pypy3 (https://docs.sympy.org/latest/install.html says “SymPy officially supports Python 3.8, 3.9, 3.10, and PyPy.”. Reproducible: Always I modified its (and dependencies) ebuilds to add pypy3 to PYTHON_COMPAT, with no bad surprise. deps=( dev-python/lxml dev-python/mpmath dev-python/pexpect dev-python/pyopengl dev-python/pyglet dev-python/symengine dev-python/sympy ) for package in $deps; do add_pypy3_to_PYTHON_COMPAT done USE="PYTHON_TARGETS: pypy3" emerge dev-python/sympy
(see https://bugs.gentoo.org/890559 before this one)
WIP PR @ https://github.com/gentoo/gentoo/pull/29636
I'm currently working on python-xmp-toolkit (-> pikepdf -> cairo-cffi -> matplotlib -> mpmath -> sympy) . For this blocker, see https://bugs.gentoo.org/883939.