There is an updated pull request by tornaria against master on the void-packages repository https://github.com/tornaria/void-packages sagemath-update https://github.com/void-linux/void-packages/pull/36420 sagemath-9.5: package updates and fixes #### Testing the changes - I tested the changes in this PR: **YES** This includes - upgrade to lrcalc-2.1 (from #36209) - _already merged_ ~upgrade to sympy-1.10.1 (from #36397)~ - _postponed_ ~upgrade to SuiteSparse-5.11.0, igraph-0.9.7, planarity-3.0.2.0, python3-cvxopt-1.3.0 (from #36423)~ - _already merged_ ~upgrade to giac-1.7.0.53 (from #36421)~ - _already merged_ ~upgrade to gp2c-0.0.12pl1 (from #36422)~ - backported fixes for sagemath-9.5 to accomodate these upgrades, and also ipython and scipy upgrades which are already merged ~I want to see if the CI can cope with this. Otherwise I'll just split this in a few separate PR. Except for the upgrade to lrcalc-2.1, which must be coordinated with sage, everything else can be handled separately.~ cc: @dkwo EDIT: I ended up making 3 new PR to handle the packages that can be upgraded separately from sagemath (#36397, #36421, #36422, #36423 should be ok to merge if CI passes). EDIT 2: this PR is now just to upgrade lrcalc to 2.1 (will be needed for sagemath-9.6) and fix sagemath-9.5 so it works with lrcalc 2.1 (and several minor doctest fixes for upgrades to ipython, scipy, sympy). A patch file from https://github.com/void-linux/void-packages/pull/36420.patch is attached