(extracted from #29865)
The dependency on sage.libs.arb was introduced in #30486.
We catch ImportError so that there are no failures in modularized
settings (#29865 - packages sagemath-objects, sagemath-categories).
CC: @kiwifb @dimpase @tobiasdiez
Component: refactoring
Author: Matthias Koeppe
Branch/Commit: 8e57f63
Reviewer: François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/31334