gh-37484: Support flint 3.1 in sagelib
Drop uses of deprecated API
- `fmpq_get_mpz_frac/fmpq_init_set_mpz_frac_readonly`, replace by
verbatim code from the removed functions
- `arb_version` was only used by the obsolete `arb216` and `arb218`
doctest tags, remove it
URL: https://github.com/sagemath/sage/pull/37484
Reported by: Antonio Rojas
Reviewer(s): Dima Pasechnik, Gonzalo TornarĂa, Marc Mezzarobba
Committer
Release Manager