Opened 20 months ago

Closed 5 months ago

#28424 closed enhancement (duplicate)

PARI 2.12.0

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: embray, fbissey, vdelecroix, slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Change History (16)

comment:1 Changed 20 months ago by jdemeyer

  • Branch set to u/jdemeyer/pari_2_12_0

comment:2 Changed 20 months ago by embray

  • Commit set to bee293ac66c6b28d810c9163e3ce71b967d5af4c

LOL, I was just working on doing the same...


New commits:

bee293aPARI-2.12.0

comment:3 Changed 20 months ago by jdemeyer

Doing make ptestlong, this will take a while...

comment:4 Changed 20 months ago by fbissey

  • Cc fbissey added

comment:5 Changed 20 months ago by jdemeyer

The tests haven't finished yet, but I already see some failures:

sage -t --long src/sage/schemes/elliptic_curves/ell_number_field.py
**********************************************************************
File "src/sage/schemes/elliptic_curves/ell_number_field.py", line 47, in sage.schemes.elliptic_curves.ell_number_field
Failed example:
    E.simon_two_descent()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.schemes.elliptic_curves.ell_number_field[8]>", line 1, in <module>
        E.simon_two_descent()
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/schemes/elliptic_curves/ell_number_field.py", line 329, in simon_two_descent
        known_points=known_points)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/schemes/elliptic_curves/gp_simon.py", line 144, in simon_two_descent
        raise RuntimeError("\n%s\nAn error occurred while running Simon's 2-descent program"%s)
    RuntimeError: 
      ***   at top-level: ans=bnfellrank(K,[0,0,0,0,a+4],[])
      ***                     ^------------------------------
      ***   in function bnfellrank: ...eqtheta,rnfeq,bbnf];rang=
      ***   bnfell2descent_gen(bn
      ***   ^---------------------
      ***   in function bnfell2descent_gen: ...)));LS2=concat(lift(Lrnf.
      ***   futu),LS2);LS2=subst(
      ***   ^---------------------
      ***   not a function in function call
    An error occurred while running Simon's 2-descent program
**********************************************************************

comment:6 Changed 20 months ago by embray

I got a handful of failures (these are just the modules that failed, but I see similar exceptions):

----------------------------------------------------------------------
sage -t --long src/sage/schemes/elliptic_curves/gp_simon.py  # 4 doctests failed
sage -t --long src/sage_setup/docbuild/utils.py  # 3 doctests failed
sage -t --long src/sage/libs/pari/tests.py  # 2 doctests failed
sage -t --long src/sage/repl/interface_magic.py  # 3 doctests failed
sage -t --long src/sage/schemes/elliptic_curves/period_lattice.py  # 3 doctests failed
sage -t --long src/sage/repl/ipython_tests.py  # 6 doctests failed
sage -t --long src/sage/repl/interpreter.py  # 2 doctests failed
sage -t --long src/sage/schemes/elliptic_curves/ell_number_field.py  # 19 doctests failed
sage -t --long src/sage/schemes/elliptic_curves/height.py  # 6 doctests failed
----------------------------------------------------------------------

comment:7 Changed 20 months ago by jdemeyer

I got

----------------------------------------------------------------------
sage -t --long src/sage/schemes/elliptic_curves/ell_number_field.py  # 19 doctests failed
sage -t --long src/sage/schemes/elliptic_curves/height.py  # 6 doctests failed
sage -t --long src/sage/tests/cmdline.py  # 1 doctest failed
sage -t --long src/sage/schemes/elliptic_curves/gp_simon.py  # 4 doctests failed
sage -t --long src/sage/schemes/elliptic_curves/period_lattice.py  # 3 doctests failed
sage -t --long src/sage/libs/pari/tests.py  # 2 doctests failed
----------------------------------------------------------------------

comment:8 Changed 17 months ago by kedlaya

The current provided version is the stable version 2.11.1; there is currently an updated stable version 2.11.2. Maybe we should be going after that one instead?

In case this provides any incentive, #28789 is resolved upstream in both 2.11.2 and 2.12.0.

comment:9 Changed 16 months ago by chapoton

see #28840 for a simpler upgrade to pari 2.11.2

comment:10 Changed 16 months ago by embray

  • Milestone changed from sage-8.9 to sage-9.1

Ticket retargeted after milestone closed

comment:11 Changed 13 months ago by thansen

I see a lot of new test failures (including some of the ones reported here with pari 2.12) with pari 2.11.3, which we already have in Debian now. It would be great to have a patch for that update.

comment:12 Changed 12 months ago by mkoeppe

  • Milestone changed from sage-9.1 to sage-9.2

comment:13 Changed 6 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:14 Changed 5 months ago by mkoeppe

  • Cc vdelecroix slelievre added
  • Milestone changed from sage-9.3 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

Looks like this ticket has been superseded by #30801 - Upgrade: pari 2.13

comment:15 Changed 5 months ago by vdelecroix

  • Authors Jeroen Demeyer deleted
  • Branch u/jdemeyer/pari_2_12_0 deleted
  • Commit bee293ac66c6b28d810c9163e3ce71b967d5af4c deleted
  • Status changed from needs_review to positive_review

comment:16 Changed 5 months ago by vdelecroix

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.