Following up on , after fixing ipython 7 issues I was able to run the full test suite of sage built against latest python3 system packages (many of which are ahead of their py2 counterparts). Fortunately, the situation is not as bad as I expected, here is a summary of the (distro-specific) issues:
- sphinx 2.2: docs fail to build due to an obsolete sphinx.ext.autodoc.inspector import that no longer exists. I opened https://trac.sagemath.org/ticket/28453
to remove it, please review. Besides this, some tests are failing due to a deprecation warning:
/usr/share/doc/sage/common/themes/sage/search.html:22: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
I have no idea what this means or how to fix it.
- matplotlib 3: causes one test failure due to a warning - the affected test seems to be quite broken even on current py2 (but it's only noticeable in the plot itself so the test suite misses it) - I've opened https://trac.sagemath.org/ticket/28449
to track it.
- rpy 3.x: lots of failures due to a single renamed method (ri2py -> rpy2py). Could be fixed in a backwards compatible way by using an alias, but I don't know if its worth the effort if python2 support will be dropped soon. Patch is at