New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade PARI to 2.5.1 #12363
Comments
This comment has been minimized.
This comment has been minimized.
Upstream: Reported upstream. Little or no feedback. |
comment:2
Two quick comments:
|
comment:3
Well, there is a reason this ticket isn't "needs review", sorry for the confusion. |
Changed upstream from Reported upstream. Little or no feedback. to Reported upstream. Developers acknowledge bug. |
This comment has been minimized.
This comment has been minimized.
Attachment: 12363_doctest.patch.gz |
Author: Jeroen Demeyer |
Changed upstream from Reported upstream. Developers acknowledge bug. to Completely fixed; Fix reported upstream |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Diff for the pari spkg, for review only |
comment:8
Attachment: pari-2.5.1.p0.diff.gz |
This comment has been minimized.
This comment has been minimized.
comment:9
In principle this looks okay and it works on a few different machines. Skynet seems to be down right now, so I can't test it on a very wide range of platforms, though. |
comment:10
Replying to @jhpalmieri:
It seems to work now. Anyway, I already tested this on most of the Skynet machines and once it's merged it will be tested again before the release. |
comment:11
Regarding the doctest patch, can you explain mathematically why this is the right thing to do? |
comment:12
Let K be the number field Q[y]/(y2 + y + 1). Let L be the relative number field K[x]/(x4 + y*x + 2). We can also write L = {Q[y]/(y2 + y + 1)}[x]/(x4 + y*x + 2) (braces added for clarity). Now consider the element x*y in L, we ask for its relative representation in PARI. Given the above, the correct answer is
So, the new answer to the doctest is more correct than the old. |
Reviewer: John Palmieri |
comment:13
Okay, that sounds good to me. |
Merged: sage-5.0.beta4 |
PARI-2.5.1 has been released: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.1.tar.gz
We should upgrade PARI in Sage to this latest version. It also happens that this is needed to compile PARI with gcc-4.6.2 (see #12369).
spkg: http://boxen.math.washington.edu/home/jdemeyer/spkg/pari-2.5.1.p0.spkg (changes for reviewing: attachment: pari-2.5.1.p0.diff)
apply: attachment: 12363_doctest.patch
In an earlier version of this spkg, an upstream bug was discovered which is now fixed: http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=1276
Upstream: Completely fixed; Fix reported upstream
Component: packages: standard
Author: Jeroen Demeyer
Reviewer: John Palmieri
Merged: sage-5.0.beta4
Issue created by migration from https://trac.sagemath.org/ticket/12363
The text was updated successfully, but these errors were encountered: