The message is not only printed on installation, but also whenever the package is (implicitly) loaded.
The fix is simple - replace "is" with "==" at the two lines indicated (892 and 986 of /usr/lib/python3/dist-packages/mpmath/ctx_mp_python.py) Yours, Christian

