(split out from #31280)
CC: @kiwifb @antonio-rojas @isuruf @fchapoton @tscrim
Component: packages: standard
Author: Matthias Koeppe
Branch/Commit: d69c496
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/32371