Sage 3.2.1.rc0 released

1 view
Skip to first unread message

mabshoff

unread,
Nov 29, 2008, 3:28:00 AM11/29/08
to sage-devel
Hello folks,

here goes 3.2.1.rc0. This will hopefully be the next to last release
in the 3.2.1 cycle since we plan a final 3.2.1 source tarball in the
next 48 hours. We will very likely do an rc1 before that since some
patches I want to get in are still outstanding and the number of
merges since alpha2 is significant, so I figured it is better to cut
an extra rc than to keep merging for another 24 hours. Nothing crazy
went in that should cause any trouble, but as you know those are
famous last words.

You can try out to upgrade from alpha2 via

./sage -i http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sage-3.2.1.rc0/

or download the new complete tarball at

http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sage-3.2.1.rc0.tar

Please build, test and report issue. It would also be nice to see
reports about working and not so well working upgrades from
3.2.1.alpha2. There are still known issues with numerical noise in
plot.py - there is no ticket yet, but once I have done testing I will
open one unless somebody else beats me to it.

Cheers,

Michael

#815: Arnaud Bergeron: doctesting is broken on .sage files [Reviewed
by William Stein]
#3102: Gary Furnish: debugging output in p-adics with print mode
"digits" [Reviewed by William Stein, Craig Citro]
#3621: Chris Swierczewski, Brett Nakashima, William Stein:
sage.finance - add expand and refine finance.Stock [Reviewed by
William Stein, Tom Boothby]
#4057: Andrzej Giniewicz: Underlines instead of headings in notebook
version of docstring for R functions [Reviewed by William Stein]
#4266: Robert Bradshaw: overflow error in SR approx [Reviewed by
William Stein]
#4334: Jaap Spies: Updated experimental Mayavi2 spkg [Reviewed by
William Stein]
#4383: Rob Beezer: composition_series() returns no generators for
trivial subgroup [Reviewed by William Stein]
#4431: Wilfried Huss: conversion of maxima matrices to sage matrices
[Reviewed by Mike Hansen]
#4432: Wilfried Huss, Mike Hansen, Burcin Erocal: symbolic gamma and
factorial [Reviewed by Mike Hansen, Burcin Erocal]
#4433: Wilfried Huss: Replace factorial with a symbolic version
[Reviewed by Mike Hansen]
#4481: Nicolas Thiery: Fix cached_function to accept functions without
func_doc or func_name [Reviewed by Mike Hansen]
#4488: Timothy Clemans: notebook -- login page not given when logged
out and trying to view your worksheets [Reviewed by William Stein]
#4522: Burcin Erocal: polynomial interface improvements [Reviewed by
William Stein]
#4535: Mike Hansen: refactoring in plot/* [Reviewed by William Stein,
Michael Abshoff]
#4537: David Loeffler: inverse_mod for number field ideals [Reviewed
by William Stein]
#4568: Simon King: Dangerous doc test of save_session [Reviewed by
William Stein]
#4575: Wilfried Huss: Option to show nested lists as html tables
[Reviewed by William Stein]
#4587: Simon King: Installation of the latest version of a package
[Reviewed by William Stein]
#4615: Michael Abshoff: Make boehm_gc a standard spkg [Reviewed by
William Stein]
#4632: Carl Witty: .roots(ring=QQbar) fails for polynomials with
enormous (rational) coefficients [Reviewed by Nick Alexander]
#4641: Steve Klee: "-notebook" commandline option should take trailing
options [Reviewed by William Stein]
#4642: William Stein: Limit sage-flags.txt to vector math flags
[Reviewed by Michael Abshoff]
#4645: Michael Abshoff: in setup.py module_list.py is hidden with no
comment [Reviewed by Craig Citro]
#4647: Michael Abshoff: Disable dependency code cacheing in setup.py
for now [Reviewed by Craig Citro]

mabshoff

unread,
Nov 29, 2008, 3:34:04 AM11/29/08
to sage-devel


On Nov 29, 12:28 am, mabshoff <mabsh...@googlemail.com> wrote:
> Hello folks,

<SNIP>

> You can try out to upgrade from alpha2 via
>
>  ./sage -ihttp://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sa...

Sigh - brain fart. Obviously

./sage -upgrade http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sage-3.2.1.rc0/

Sorry for the dumb mistake.

Cheers,

Michael

Jaap Spies

unread,
Nov 29, 2008, 7:33:31 AM11/29/08
to sage-...@googlegroups.com
mabshoff wrote:
>
>
> On Nov 29, 12:28 am, mabshoff <mabsh...@googlemail.com> wrote:
>> Hello folks,
>
> <SNIP>
>
>> You can try out to upgrade from alpha2 via
>>
>> ./sage -ihttp://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sa...
>
> Sigh - brain fart. Obviously
>
> ./sage -upgrade http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sage-3.2.1.rc0/
>

On Fedora 9, 32 bits upgrade went fine, but:

[jaap@paix sage-3.2.1.alpha2]$ ./sage
----------------------------------------------------------------------
| Sage Version 3.2.1.rc0, Release Date: 2008-11-29 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------

**********************************************************************
WARNING! This Sage install was built on a machine that supports
instructions that are not available on this computer. Sage will
likely fail with ILLEGAL INSTRUCTION errors! The following processor
flags were on the build machine but are not on this computer:

pebs pge clflush vme tsc xtpr constant_tsc pat bts lm msr fpu fxsr tm pae acpi cx8 mce de mca pse est ht apic monitor cid ss ds_cpl pbe cx16 pse36 mtrr dts

Email http://groups.google.com/group/sage-support for help.
**********************************************************************

sage:

but /proc/cpuinfo says otherwise!

----------------------------------------------------------------------
The following tests failed:


sage -t "devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py"
sage -t "devel/sage/sage/misc/functional.py"
Total time for all tests: 5563.9 seconds
Please see /home/jaap/downloads/sage-3.2.1.alpha2/tmp/test.log for the complete log from this test.
[jaap@paix sage-3.2.1.alpha2]$

The first is a known issue, but the second:

sage -t "devel/sage/sage/misc/functional.py" **********************************************************************
File "/home/jaap/work/downloads/sage-3.2.1.alpha2/devel/sage/sage/misc/functional.py", line 891:
sage: show([(i, j, i == j) for i in [0..1] for j in [0..1]], table_form = True)
Expected:
<html>
<div class="notruncate">
<table class="table_form">
<tbody>
<tr class ="row-a">
<td><span class="math">0</span></td>
<td><span class="math">0</span></td>
<td><span class="math">\mbox{\rm True}</span></td>
</tr>
<tr class ="row-b">
<td><span class="math">0</span></td>
<td><span class="math">1</span></td>
<td><span class="math">\mbox{\rm False}</span></td>
</tr>
<tr class ="row-a">
<td><span class="math">1</span></td>
<td><span class="math">0</span></td>
<td><span class="math">\mbox{\rm False}</span></td>
</tr>
<tr class ="row-b">
<td><span class="math">1</span></td>
<td><span class="math">1</span></td>
<td><span class="math">\mbox{\rm True}</span></td>
</tr>
</tbody>
</table>
</div>
</html>
Got:
<html>
<div class="notruncate">
<table class="table_form">
<tbody>
<tr class ="row-a">
<td><span class="math">0</span></td>
<td><span class="math">0</span></td>
<td><span class="math">True</span></td>
</tr>
<tr class ="row-b">
<td><span class="math">0</span></td>
<td><span class="math">1</span></td>
<td><span class="math">False</span></td>
</tr>
<tr class ="row-a">
<td><span class="math">1</span></td>
<td><span class="math">0</span></td>
<td><span class="math">False</span></td>
</tr>
<tr class ="row-b">
<td><span class="math">1</span></td>
<td><span class="math">1</span></td>
<td><span class="math">True</span></td>
</tr>
</tbody>
</table>
</div>
</html>
**********************************************************************
1 items had failures:
1 of 5 in __main__.example_53
***Test Failed*** 1 failures.
For whitespace errors, see the file /home/jaap/downloads/sage-3.2.1.alpha2/tmp/.doctest_functional.py
[11.5 s]
exit code: 1024

some missing \mbox.


Jaap


John Cremona

unread,
Nov 29, 2008, 10:19:10 AM11/29/08
to sage-...@googlegroups.com
2008/11/29 Jaap Spies <j.s...@hccnet.nl>:
I had the same on my laptop (32-bit ubuntu).

On a 64-bit Suse I ha dthe plot.py failure which is known. No problem
with the builds.

John

>
> Jaap
>
>
>
> >
>

Jaap Spies

unread,
Nov 29, 2008, 12:41:35 PM11/29/08
to sage-...@googlegroups.com
mabshoff wrote:
> Hello folks,
>
> here goes 3.2.1.rc0. This will hopefully be the next to last release
> in the 3.2.1 cycle since we plan a final 3.2.1 source tarball in the
> next 48 hours. We will very likely do an rc1 before that since some
> patches I want to get in are still outstanding and the number of
> merges since alpha2 is significant, so I figured it is better to cut
> an extra rc than to keep merging for another 24 hours. Nothing crazy
> went in that should cause any trouble, but as you know those are
> famous last words.
>

On Fedora 10, 32 bits in a fresh build all tests passed.

Jaap

mabshoff

unread,
Nov 29, 2008, 1:19:14 PM11/29/08
to sage-devel


On Nov 29, 4:33 am, Jaap Spies <j.sp...@hccnet.nl> wrote:

Hi Jaap,

> On Fedora 9, 32 bits upgrade went fine, but:
>
> [jaap@paix sage-3.2.1.alpha2]$ ./sage
> ----------------------------------------------------------------------
> | Sage Version 3.2.1.rc0, Release Date: 2008-11-29                   |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
> **********************************************************************
> WARNING!  This Sage install was built on a machine that supports
> instructions that are not available on this computer.  Sage will
> likely fail with ILLEGAL INSTRUCTION errors! The following processor
> flags were on the build machine but are not on this computer:
>
> pebs pge clflush vme tsc xtpr constant_tsc pat bts lm msr fpu fxsr tm pae acpi cx8 mce de mca pse est ht apic monitor cid ss ds_cpl pbe cx16 pse36 mtrr dts
>
> Emailhttp://groups.google.com/group/sage-supportfor help.
> **********************************************************************
>
> sage:
>
> but /proc/cpuinfo says otherwise!

This is due to #4642 since we now only track relevant flags now.
Delete $SAGE_ROOT/local/lib/sage-flags.txt and the problem goes away.

> ----------------------------------------------------------------------
> The following tests failed:
>
>         sage -t  "devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py"
>         sage -t  "devel/sage/sage/misc/functional.py"
> Total time for all tests: 5563.9 seconds
> Please see /home/jaap/downloads/sage-3.2.1.alpha2/tmp/test.log for the complete log from this test.
> [jaap@paix sage-3.2.1.alpha2]$
>
> The first is a known issue, but the second:
>
> sage -t  "devel/sage/sage/misc/functional.py"               **********************************************************************
> File "/home/jaap/work/downloads/sage-3.2.1.alpha2/devel/sage/sage/misc/functiona l.py", line 891:

<SNIP>

> some missing \mbox.

*Very* strange. This was introduced by #4575. Mike Hansen just raised
some design issues with that patch in general, so we might just revert
it depending on the discussion that will hopefully happen here soon.

> Jaap

Cheers,

Michael

mabshoff

unread,
Nov 29, 2008, 1:20:20 PM11/29/08
to sage-devel


On Nov 29, 7:19 am, "John Cremona" <john.crem...@gmail.com> wrote:

<SNIP>

> On a 64-bit Suse I ha dthe plot.py failure which is known.  No problem
> with the builds.
>
> John

Hi John,

can you open a ticket for the plot.py failure with the exact failure
from rc0?

Cheers,

Michael

John Cremona

unread,
Nov 29, 2008, 1:29:36 PM11/29/08
to sage-...@googlegroups.com
2008/11/29 mabshoff <mabs...@googlemail.com>:
Will do...

John

>
> Cheers,
>
> Michael
> >
>

John Cremona

unread,
Nov 29, 2008, 1:35:09 PM11/29/08
to sage-...@googlegroups.com
2008/11/29 John Cremona <john.c...@gmail.com>:
> 2008/11/29 mabshoff <mabs...@googlemail.com>:
>>
>>
>>
>> On Nov 29, 7:19 am, "John Cremona" <john.crem...@gmail.com> wrote:
>>
>> <SNIP>
>>
>>> On a 64-bit Suse I ha dthe plot.py failure which is known. No problem
>>> with the builds.
>>>
>>> John
>>
>> Hi John,
>>
>> can you open a ticket for the plot.py failure with the exact failure
>> from rc0?
>
> Will do...

It is now at #4655.

>
> John
>
>>
>> Cheers,
>>
>> Michael
>> >>
>>
>

mhampton

unread,
Nov 29, 2008, 2:08:39 PM11/29/08
to sage-devel
All tests passed on my intel mac, 10.5.

-M. Hampton

On Nov 29, 2:28 am, mabshoff <mabsh...@googlemail.com> wrote:
> Hello folks,
>
> here goes 3.2.1.rc0. This will hopefully be the next to last release
> in the 3.2.1 cycle since we plan a final 3.2.1 source tarball in the
> next 48 hours. We will very likely do an rc1 before that since some
> patches I want to get in are still outstanding and the number of
> merges since alpha2 is significant, so I figured it is better to cut
> an extra rc than to keep merging for another 24 hours. Nothing crazy
> went in that should cause any trouble, but as you know those are
> famous last words.
>
> You can try out to upgrade from alpha2 via
>
> ./sage -ihttp://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sa...
>
> or download the new complete tarball at
>
> http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sa...

mabshoff

unread,
Nov 29, 2008, 4:16:52 PM11/29/08
to sage-devel


On Nov 29, 10:35 am, "John Cremona" <john.crem...@gmail.com> wrote:

Hi John,

> It is now at #4655.
>

Thanks, I should post a patch shortly.

Cheers,

Michael

mabshoff

unread,
Nov 29, 2008, 4:19:04 PM11/29/08
to sage-devel


On Nov 29, 10:19 am, mabshoff <mabsh...@googlemail.com> wrote:

Hi,

> > sage -t  "devel/sage/sage/misc/functional.py"               **********************************************************************
> > File "/home/jaap/work/downloads/sage-3.2.1.alpha2/devel/sage/sage/misc/functiona l.py", line 891:
>
> <SNIP>
>
> > some missing \mbox.
>
> *Very* strange. This was introduced by #4575. Mike Hansen just raised
> some design issues with that patch in general, so we might just revert
> it depending on the discussion that will hopefully happen here soon.

Jaap, John or anybody else who can reproduce this failure: can you see
if Mike Hansen's patch at #4575 fixes the issue for you? I don't think
it will and I cannot understand how something that should be
completely independent of pointer size like the LaTeX representation
could change. If this patch doesn't resolve this someone needs to
start poking around ...


Cheers,

Michael

Jaap Spies

unread,
Nov 29, 2008, 4:34:11 PM11/29/08
to sage-...@googlegroups.com
mabshoff wrote:

>
> Jaap, John or anybody else who can reproduce this failure: can you see
> if Mike Hansen's patch at #4575 fixes the issue for you? I don't think
> it will and I cannot understand how something that should be
> completely independent of pointer size like the LaTeX representation
> could change. If this patch doesn't resolve this someone needs to
> start poking around ...
>

I did a complete build under Fedora 9, 32 bits, having the same
test failures.

I'll apply #4575 and see.

Jaap

Jaap Spies

unread,
Nov 29, 2008, 4:51:29 PM11/29/08
to sage-...@googlegroups.com
Jaap Spies wrote:

>
> I'll apply #4575 and see.
>

Mike's take-two patch failed to apply

sage: hg_sage.patch('/home/jaap/work/downloads/trac_4575-taketwo.patch')
cd "/home/jaap/downloads/sage-3.2.1.rc0/devel/sage" && hg status
cd "/home/jaap/downloads/sage-3.2.1.rc0/devel/sage" && hg status
cd "/home/jaap/downloads/sage-3.2.1.rc0/devel/sage" && hg import "/home/jaap/work/downloads/trac_4575-taketwo.patch"
applying /home/jaap/work/downloads/trac_4575-taketwo.patch
patching file sage/misc/functional.py
Hunk #3 FAILED at 898
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/functional.py.rej
abort: patch failed to apply

Jaap

Jaap Spies

unread,
Nov 29, 2008, 4:55:29 PM11/29/08
to sage-...@googlegroups.com

Jaap Spies wrote:

>
> I'll apply #4575 and see.
>

Mike's take-two patch failed to apply


But after a ./sage -b

[jaap@paix sage-3.2.1.rc0]$ ./sage -t "devel/sage/sage/misc/functional.py"
sage -t "devel/sage/sage/misc/functional.py"
[15.7 s]

----------------------------------------------------------------------
All tests passed!
Total time for all tests: 15.7 seconds
[jaap@paix sage-3.2.1.rc0]$

Any questions?

Jaap


John Cremona

unread,
Nov 29, 2008, 4:55:57 PM11/29/08
to sage-...@googlegroups.com
2008/11/29 Jaap Spies <j.s...@hccnet.nl>:
>
> Jaap Spies wrote:
>
>>
>> I'll apply #4575 and see.
>>
>
> Mike's take-two patch failed to apply

Same here.

John

John Cremona

unread,
Nov 29, 2008, 4:59:09 PM11/29/08
to sage-...@googlegroups.com
2008/11/29 Jaap Spies <j.s...@hccnet.nl>:
And same again here. So I presume that part of the patch was applied,
and part not. Doing hg_sage.diff() shows some changes. Would it be
worth posting those diffs as a new patch for someone to look at?

John

>
> Any questions?
>
> Jaap
>
>
>
> >
>

mabshoff

unread,
Nov 29, 2008, 4:59:16 PM11/29/08
to sage-devel


On Nov 29, 1:55 pm, "John Cremona" <john.crem...@gmail.com> wrote:
> 2008/11/29 Jaap Spies <j.sp...@hccnet.nl>:
>
>
>
> > Jaap Spies wrote:
>
> >> I'll apply #4575 and see.
>
> > Mike's take-two patch failed to apply
>
> Same here.
>
> John

Mike will rebase the patch in a little while. Also note that once the
patch is applied you have to doctest sage/misc/html.py also since the
code moved there.

Cheers,

Michael

Justin C. Walker

unread,
Nov 29, 2008, 5:02:40 PM11/29/08
to sage-...@googlegroups.com

I get this failure on Mac OS X, 10.4.11 (Core 2 Duo), but not on
10.5.5 (Dual Quad Xeon).

I applied Mike's patch (4575), but it didn't take:

applying /SandBox/DownLoads/trac_4575-taketwo.patch


patching file sage/misc/functional.py
Hunk #3 FAILED at 898
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/
functional.py.rej
abort: patch failed to apply

I didn't apply the other patch in #4575. Thoughts?

The .rej file is attached.

Justin

functional.py.rej

Justin C. Walker

unread,
Nov 29, 2008, 5:02:49 PM11/29/08
to sage-...@googlegroups.com

On Nov 29, 2008, at 00:28 , mabshoff wrote:

>
> Hello folks,
>
> here goes 3.2.1.rc0. This will hopefully be the next to last release
> in the 3.2.1 cycle since we plan a final 3.2.1 source tarball in the
> next 48 hours. We will very likely do an rc1 before that since some
> patches I want to get in are still outstanding and the number of
> merges since alpha2 is significant, so I figured it is better to cut
> an extra rc than to keep merging for another 24 hours. Nothing crazy
> went in that should cause any trouble, but as you know those are
> famous last words.
>
> You can try out to upgrade from alpha2 via
>
> ./sage -i http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sage-3.2.1.rc0/
>
> or download the new complete tarball at
>
> http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.1/sage-3.2.1.rc0.tar

I did a full build of 3.2.1.rc0 on Mac OS X, both 10.5.5 and 10.4.11.
Both builds completed w/o problems. Testing on 10.5.5 was
successful. There was one test failure (repeatable) on 10.4.11: the
'functional.py' failure that others have seen.

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
--
They said it couldn't be done, but sometimes,
it doesn't work out that way.
- Casey Stengel
--

David Joyner

unread,
Nov 29, 2008, 5:03:37 PM11/29/08
to sage-...@googlegroups.com
Built fine on am64 ubuntu 8.10. sage -testall locked on
const.tex (presumably due to maxima) and then on
sage -t "devel/sage/sage/libs/fplll/fplll.pyx"
Don't have a guess for the problem there.

Would be cool if there was a command like ctl-s (for "skip")
which would stop that test and move to the next one.
(In fact, ctl-c does exactly that for the *doctests* but for module tests,
ctl-c breaks all testing and returns the command line.) If there was such a
ctl-s I could list all the modules where there is a problem on my
machine.
Reply all
Reply to author
Forward
0 new messages