New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/39876#issuecomment-1296980145 Comment: Just as a summary of the situation wrt to python 3.11 for @ahesford : - it seems sage is completely broken on python 3.11: it compiles but it doesn't start - sage depends on a custom implementation of `WeakValueDictionary` (the one in python `weakref` module is not good for several reasons discussed in https://trac.sagemath.org/ticket/13394) - the dict layout changed in 3.11 breaking everything - the whole thing hangs in a single low-level function which will have to be rewritten (https://git.sagemath.org/sage.git/tree/src/sage/cpython/dict_del_by_value.pyx?h=9.7#n131) - after this, the rest seems close enough, see starting at https://trac.sagemath.org/ticket/33842#comment:62 All of this does not affect the current PR with python 3.10. It would be nice to have it merged since having all the updated packages in the main repo makes it easier to work on they python 3.11 fixes.