#21005: update pari to new upstream snapshot
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_work
Priority: blocker | Milestone: sage-7.3
Component: packages: | Resolution:
standard |
Keywords: | Merged in:
Authors: Vincent | Reviewers: Volker Braun, Jeroen
Delecroix, Jeroen Demeyer | Demeyer, Vincent Delecroix
Report Upstream: N/A | Work issues:
Branch: public/21005 | Commit:
| 357ff688ca66ad3638fb2d38308935a79a09337c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
There are a bunch of failures of the form
{{{
File "src/sage/rings/qqbar.py", line 4536, in
sage.rings.qqbar.AlgebraicReal._floor_ceil
Failed example:
[one_half.round(), (-one_half).round()] # long time
Exception raised:
Traceback (most recent call last):
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 499, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 862, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.qqbar.AlgebraicReal._floor_ceil[7]>", line
1, in <module>
[one_half.round(), (-one_half).round()] # long time
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 4602, in round
return self._floor_ceil(lambda x: x.round())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 4547, in _floor_ceil
return method(self._rational_())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 4640, in _rational_
self.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7063, in exactify
right.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7062, in exactify
left.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7062, in exactify
left.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7062, in exactify
left.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7062, in exactify
left.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7062, in exactify
left.exactify()
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 3270, in exactify
self._set_descr(self._descr.exactify())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 7064, in exactify
gen = left._exact_field().union(right._exact_field())
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 2409, in union
red_elt, red_back, red_pol = do_polred(newpol_sage_y)
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/rings/qqbar.py", line 1712, in do_polred
new_poly, elt_back = poly._pari_().polredbest(flag=1)
File "sage/libs/pari/auto_gen.pxi", line 15978, in
sage.libs.pari.gen.gen_auto.polredbest
(/home/buildbot/slave/sage_git/build/src/build/cythonized/sage/libs/pari/gen.c:82406)
sig_on()
File "sage/libs/pari/handle_error.pyx", line 181, in
sage.libs.pari.handle_error._pari_err_handle
(/home/buildbot/slave/sage_git/build/src/build/cythonized/sage/libs/pari/handle_error.c:3102)
raise PariError(errnum, pari_error_string,
pari_instance.new_gen_noclear(E))
PariError: impossible inverse in Fl_inv: Mod(2120213466, 2148532227)
**********************************************************************
1 item had failures:
2 of 9 in sage.rings.qqbar.AlgebraicReal._floor_ceil
[1333 tests, 2 failures, 172.84 s]
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/21005#comment:24>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.