Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #29445: Reject broken system PARI 2.11.3 and re-enable PARI libr…
…ary test in spkg-configure There are several failing doctests depending on the PARI version of the system, e.g. {{{ File "src/sage/rings/number_field/number_field_ideal.py", line 1829, in sage.rings.number_field.number_field_ideal.NumberFieldFractionalIdeal.fa ctor Failed example: fact = F.factor(2); fact Expected: (Fractional ideal (2*a^2 + 1))^2 * (Fractional ideal (-2*a^2)) Got: (Fractional ideal (-2*a^2 - 1))^2 * (Fractional ideal (2*a^2)) }}} see e.g. [https://github.com/mkoeppe/sage/runs/542655863] This is the case because debian bullseye uses pari 2.11.3 (instead of pari 2.11.3). Many instances seem to fail, just because the choice of generators has changed. However, there is at least one thing really strange when upgrading to pari 2.11.3: {{{ sage: y = var('y') sage: pK = pari.bnfinit(y^3+3) sage: pK.bnfisunit(pK.bnfunit()[0]) [1, Mod(1, 2)]~ }}} URL: https://trac.sagemath.org/29445 Reported by: gh-kliem Ticket author(s): Jonathan Kliem, Matthias Koeppe Reviewer(s): Matthias Koeppe, Jonathan Kliem
- Loading branch information