We're releasing Sage 4.6.1.rc0.
Source archive:
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0.tar
Upgrade path:
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0/
Please build, test, and report! We'd love to hear about your
experiences with this release.
== Notes ==
Ticket #10303 (clean up sage-check-64 and use of SAGE64) was unmerged
because of issues with sage -ba (#10436).
There are 5 tickets which need review before sage-4.6.1 can be released:
#9163: Doctest error in expect.py on Cygwin and OS X
#9523: Upgrade the Readline spkg to 6.1
#10339: Simplify spkg/pipestatus
#10491: Dump environment before building
#10494: Upgrading 4.6->4.6.1 does not upgrade sagenb
Merry christmas and happy holidays to all! With some luck, we can
celebrate the new year with sage 4.6.1.
== Known issues ==
* On 64-bit OS X, there are doctest failures for sage/misc/trace.py
and sage/tests/cmdline.py related to sage-check-64 (see #10303).
Fixing this has been postponed to sage-4.6.2.
== Tickets ==
* For a more detailed overview of all tickets and patches which are
merged in this version, see
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/tickets.html
Closed tickets:
#8088: sage library 4.3.1 failing to build on Open Solaris x64 [Reviewed
by David Kirkby]
#10185: ECL in Sage will not build on Fedora 14, which will be released
on 2nd November 2010 [Reviewed by David Kirkby]
Merged in sage-4.6.1.rc0:
#9163: Jeroen Demeyer: Doctest error in expect.py on Cygwin and OS X
[needs review]
#9434: John Palmieri: Stop greping for a non-existent sage-banner
[Reviewed by Jeroen Demeyer, David Kirkby]
#9863: Maarten Derickx, Mitesh Patel: Error in sage/graphs/genus.pyx on
ia64-Linux-suse [Reviewed by Mitesh Patel, Jeroen Demeyer]
#10177: Maite Aranes: Gamma0 equivalence function for number field cusps
returns wrong transformation matrix [Reviewed by David Loeffler]
#10339: Jeroen Demeyer: Simplify spkg/pipestatus [needs review]
#10367: Benjamin Jones: plot3d transformation documentation says
'independent' when it should be 'dependent' [Reviewed by Jason Grout]
#10427: John Palmieri: cloning is broken on Solaris [Reviewed by Leif
Leonhardy]
#10434: Minh Van Nguyen: add doctests from #8582 and other integration
improvements from Maxima 5.22.1 [Reviewed by Karl-Dieter Crisman]
#10491: Jeroen Demeyer: Dump environment before building [needs review]
#10494: Leif Leonhardy: Upgrading 4.6->4.6.1 does not upgrade sagenb
[needs review]
> Dear Sage lovers,
>
> We're releasing Sage 4.6.1.rc0.
>
> Source archive:
>
> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0.tar
>
> Upgrade path:
>
> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0/
Upgrade from 4.6.1.a3 failed with this complaint:
Failed to download 'http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/VERSION.txt'.
Abort.
I am now trying a from-scratch build.
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
If it weren't for carbon-14, I wouldn't date at all.
-----------
> We're releasing Sage 4.6.1.rc0.
>
> Source archive:
>
> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0.tar
make ptestlong
[...]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 1970.5 seconds
openSUSE 11.3 (x86_64)
fresh parallel build from sources.
Good work guys,
Florent
> Dear Sage lovers,
>
> We're releasing Sage 4.6.1.rc0.
>
> Source archive:
>
> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0.tar
Full build succeeded on Mac OS X, 10.6.5, Dual Quad Xeon. Testing (ptestlong) showed three failures:
sage -t -long -force_lib devel/sagenb-main/sagenb/misc/misc.py # 0 doctests failed
sage -t -long -force_lib devel/sage/sage/misc/trace.py # 1 doctests failed
sage -t -long -force_lib devel/sage/sage/tests/cmdline.py # 3 doctests failed
Full log is at
sage.math.washington.edu:~justin/logs/4.6.1.r0-full.log
Justin
--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds
----
186,000 Miles per Second
Not just a good idea:
it's the law!
----
> Dear Sage lovers,
>
> We're releasing Sage 4.6.1.rc0.
>
> Source archive:
>
> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0.tar
>
> Upgrade path:
>
> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0/
Tried to upgrade a second time, and got the same failure. The transcript is below, and the problem is that the VERSION.txt is being accessed in ".../spkg", but it's not there.
Thoughts?
Justin
================================================================
./sage -upgrade http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0/
Downloading packages from 'http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg'.
Reading package lists... Done!
The following packages will be upgraded:
examples-4.6.1.rc0 extcode-4.6.1.rc0 sage-4.6.1.rc0
sage_scripts-4.6.1.rc0 sagenb-0.8.10
** WARNING: This is a source-based upgrade, which could take hours,
** fail, and render your Sage install useless!!
Do you want to continue [y/N]? y
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/standard/examples-4.6.1.rc0.spkg --> examples-4.6.1.rc0.spkg [..................................................]
Deleting old spkg 'examples-4.6.1.alpha3.spkg'...
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/standard/extcode-4.6.1.rc0.spkg --> extcode-4.6.1.rc0.spkg [..................................................]
Deleting old spkg 'extcode-4.6.1.alpha3.spkg'...
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/standard/sage-4.6.1.rc0.spkg --> sage-4.6.1.rc0.spkg [..................................................]
Deleting old spkg 'sage-4.6.1.alpha3.spkg'...
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/standard/sage_scripts-4.6.1.rc0.spkg --> sage_scripts-4.6.1.rc0.spkg [..................................................]
Deleting old spkg 'sage_scripts-4.6.1.alpha3.spkg'...
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/standard/sagenb-0.8.10.spkg --> sagenb-0.8.10.spkg [..................................................]
Deleting old spkg 'sagenb-0.8.9.spkg'...
http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/VERSION.txt --> VERSION.txt [.]
Failed to download 'http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6.1.rc0//spkg/VERSION.txt'.
Abort.
================================================================
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------
No patch to the Sage library should require 'sage -ba'.
If 'sage -b' isn't enough, dependencies should be added to
'module_list.py', or maybe the patch should 'touch' other files as well.
But perhaps that was just another weird MacOS X (only) issue.
-Leif
In which case 'sage -ba' wouldn't have helped either... ;-)
> Could be a weird mercurial issue where some versions
> are better applying patches than others...
Hmmm, the Mercurial in Sage should have been upgraded as well, I don't
recall in which release the new spkg was included.
But creating patches with the version contained in the latest Sage
release is unfortunately apparently safer.
-Leif
That will teach me to pay attention. Well, maybe...
Thanks; I'll try an earlier version.
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------
Just hack your current local/bin/sage-update: ;-)
@@ -351,7 +358,7 @@
version_file.close()
else:
old_version = ""
- download_file("VERSION.txt")
+ download_file("standard/VERSION.txt")
version_file = open("VERSION.txt")
new_version = version_file.read()
new_version = new_version.strip() # remove trailing newline
@@ -364,11 +371,18 @@
version_file = open("VERSION.txt", 'w')
version_file.write("%s%s" % (new_version, old_version))
version_file.close()
+ # shutil.copy raises an error if the destination already exists,
+ # so remove SPKG_ROOT/standard/VERSION.txt.
+ try:
+ os.remove(os.path.join(SPKG_ROOT, "standard", "VERSION.txt"))
+ except OSError:
+ pass
+ shutil.copy("VERSION.txt", os.path.join(SPKG_ROOT, "standard"))
(The first hunk should suffice I think. Just an excerpt from the patches.)
Cheers,
-Leif
No, that's an intentional change by Jeroen (the current release manager)
since / for 4.6.1 that I don't like very much btw.
Every new alpha/rc is now based on the previous *official* release
rather than the previous developer one.
This makes sense to some extent since we now also have patches/tickets
still needing review in devel releases (alphas) that might get removed
in subsequent ones. (We occasionally had reverted / unmerged tickets in
earlier alpha releases, too, though, but not really intended as "trial"
tickets. Merged tickets still needing review shouldn't be expected to
actually "need work" on the other hand; they're just meant to be tested
more thoroughly, on a wider range of systems, as I understand this.)
I also suggested to output a warning if one updates / reinstalls the
Sage library spkg when the current branch isn't sage-main, as its
'spkg-install' always *silently* switches to the main branch and updates
that. (This behavior isn't documented at all afaik.)
-Leif
This makes it harder to find out which tickets were merged when (into
which devel release); one has to search trac or several release notes
(which are not even contained in the source tarballs!) which is quite
tedious and inconvenient.
But apparently the (devel version) tags are back in 4.6.1.rc0, so that's
not an issue if they're kept in future versions as well.
-Leif
On Dec 26, 2010, at 22:54 , leif wrote:
> Justin C. Walker wrote:
>>
>> On Dec 26, 2010, at 21:01 , John H Palmieri wrote:
>>
>>> On Dec 24, 2:42 pm, "Justin C. Walker" <jus...@mac.com> wrote:
>>>> On Dec 24, 2010, at 07:55 , Jeroen Demeyer wrote:
>>>>> Upgrade path:
>>>>
>>>>> http://sage.math.washington.edu/home/release/sage-4.6.1.rc0/sage-4.6....
[snip]
>> That will teach me to pay attention. Well, maybe...
>>
>> Thanks; I'll try an earlier version.
>
> Just hack your current local/bin/sage-update: ;-)
>
> @@ -351,7 +358,7 @@
> version_file.close()
> else:
> old_version = ""
> - download_file("VERSION.txt")
> + download_file("standard/VERSION.txt")
> version_file = open("VERSION.txt")
> new_version = version_file.read()
> new_version = new_version.strip() # remove trailing newline
> @@ -364,11 +371,18 @@
> version_file = open("VERSION.txt", 'w')
> version_file.write("%s%s" % (new_version, old_version))
> version_file.close()
> + # shutil.copy raises an error if the destination already exists,
> + # so remove SPKG_ROOT/standard/VERSION.txt.
> + try:
> + os.remove(os.path.join(SPKG_ROOT, "standard", "VERSION.txt"))
> + except OSError:
> + pass
> + shutil.copy("VERSION.txt", os.path.join(SPKG_ROOT, "standard"))
>
> (The first hunk should suffice I think. Just an excerpt from the patches.)
Thanks for the suggestion. I tried this (just the first change). It was a change in alpha3, not alpha2). Worked like a champ.
In this case, all tests passed! I have tested (ptestlong) rc0 as follows:
As an upgrade to 4.6.1-a3 (Mac OS X, 10.5.6, Dual Quad Xeon):
all tests passed
As a from-scratch build (Mac OS X, 10.5.6, Dual Quad Xeon):
three tests failed:
sage -t -long -force_lib devel/sagenb-main/sagenb/misc/misc.py # 0 doct
ests failed
sage -t -long -force_lib devel/sage/sage/misc/trace.py # 1 doctests fai
led
sage -t -long -force_lib devel/sage/sage/tests/cmdline.py # 3 doctests
failed
As an upgrade from 4.6.rc0 (Mac OS X, 10.5.6, Core i7):
two tests failed
sage -t -long -force_lib devel/sage/sage/misc/trace.py # 1 doctests failed
sage -t -long -force_lib devel/sage/sage/tests/cmdline.py # 3 doctests failed
I'm redoing the last two 'ptestlong' runs to see how random this stuff is.
Justin
--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email
[snip]
> As an upgrade to 4.6.1-a3 (Mac OS X, 10.5.6, Dual Quad Xeon):
> all tests passed
>
> As a from-scratch build (Mac OS X, 10.5.6, Dual Quad Xeon):
> three tests failed:
> sage -t -long -force_lib devel/sagenb-main/sagenb/misc/misc.py # 0 doct
> ests failed
> sage -t -long -force_lib devel/sage/sage/misc/trace.py # 1 doctests fai
> led
> sage -t -long -force_lib devel/sage/sage/tests/cmdline.py # 3 doctests
> failed
>
> As an upgrade from 4.6.rc0 (Mac OS X, 10.5.6, Core i7):
> two tests failed
> sage -t -long -force_lib devel/sage/sage/misc/trace.py # 1 doctests failed
> sage -t -long -force_lib devel/sage/sage/tests/cmdline.py # 3 doctests failed
>
> I'm redoing the last two 'ptestlong' runs to see how random this stuff is.
I guess you built the first (upgraded) one without SAGE64=yes, and the
second and third *with* SAGE64=yes.
The 4 failing doctests (trace & cmdline) should be deterministic IIRC.
-Leif
> () The ASCII Ribbon Campaign
> /\ Help Cure HTML Email
I do ;-)
P.S.: Incidentally (i.e., as a side effect), #9960 should also fix these
doctest errors, currently needing review... ;-)
(#10303 was intended to fix them, but got unmerged again.)
-Leif
2011 mod 210 = 11^2
> Justin C. Walker wrote:
>> Finally got back to this...
[snip]
> I guess you built the first (upgraded) one without SAGE64=yes, and the second and third *with* SAGE64=yes.
I don't think I did. I think the build defaults to SAGE64=yes, and has for a while. It's probably too late to be sure, but I do keep my logs around:
On the Dual Quad Xeon:
sage-4.6.1-a3: install.log shows SAGE64=yes
On the Core i7:
sage-4.6-rc0: install.log shows building in 64-bit mode
The from-scratch build on the Xeon system was also 64-bit.
The redo of 'ptestlong' shows this:
Xeon (from-scratch build of 4.6.1-rc0):
Three tests failed (algebras/all.py, trace, cmdline)
Previously, in place of algebras/all.py, sagenb/misc.py had failed.
Core i7 (upgrade from 4.6-rc0):
Same two tests failed (trace, cmdline).
So, some randomness prevails...
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------
On Dec 31, 2010, at 12:27 , leif wrote:
> leif wrote:
>> Justin C. Walker wrote:
>>> Finally got back to this...
[snip]
>>> I'm redoing the last two 'ptestlong' runs to see how random this stuff is.
>> I guess you built the first (upgraded) one without SAGE64=yes, and the second and third *with* SAGE64=yes.
>> The 4 failing doctests (trace & cmdline) should be deterministic IIRC.
[snip]
> P.S.: Incidentally (i.e., as a side effect), #9960 should also fix these doctest errors, currently needing review... ;-)
I just tried this on two installs (from the full tarball) of 4.6.1.rc0, with the same results each time:
$ ../../sage -hg import /SandBox/DownLoads/trac_9960-scripts-SAGE_CHECK_rebased_to_4.6.1.rc0.patch
Detected SAGE64 flag
Building Sage on OS X in 64-bit mode
applying /SandBox/DownLoads/trac_9960-scripts-SAGE_CHECK_rebased_to_4.6.1.rc0.patch
unable to find 'sage-env' for patching
5 out of 5 hunks FAILED -- saving rejects to file sage-env.rej
unable to find 'sage-sage' for patching
1 out of 1 hunks FAILED -- saving rejects to file sage-sage.rej
unable to find 'sage-spkg' for patching
1 out of 1 hunks FAILED -- saving rejects to file sage-spkg.rej
abort: patch failed to apply
What am I missing?
Justin
--
Justin C. Walker
Curmudgeon-at-large
--
Network, n., Difference between work
charged for and work done
Did you apply the patch(es) to the scripts repo (in SAGE_ROOT/local/bin)?
-Leif
Oops.
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
--
Democracy is two wolves and a lamb
voting on what to have for lunch.
Liberty is a well-armed lamb contesting
the vote.
> Justin C. Walker wrote:
>> Back from dancing the night away...
>> On Dec 31, 2010, at 12:27 , leif wrote:
[snip]
>>> P.S.: Incidentally (i.e., as a side effect), #9960 should also fix these doctest errors, currently needing review... ;-)
>>
>> I just tried this on two installs (from the full tarball) of 4.6.1.rc0, with the same results each time:
> Did you apply the patch(es) to the scripts repo (in SAGE_ROOT/local/bin)?
Yeah :-}
With #9960 in place (full build of 4.6.1.rc0, Mac OS X, 10.6.5, Dual Quad Xeon), sage-4.6.1.rc0 passes all tests!
With #9960 in place, (upgrade from sage-4.6.rc0, Mac OS X, 10.6.5, Core i7), sage-4.6.1.rc0 passes all tests!
Thanks for you comments.