#4449: [with patch; needs review] sage-combinat install script doesn't work with
3.2.alpha2
---------------------------+------------------------------------------------
Reporter: saliola | Owner: saliola
Type: defect | Status: new
Priority: minor | Milestone: sage-3.2
Component: combinatorics | Resolution:
Keywords: sage-combinat |
---------------------------+------------------------------------------------
Changes (by saliola):
* summary: sage-combinat install script doesn't work with 3.2.alpha2 =>
[with patch; needs review] sage-combinat
install script doesn't work with 3.2.alpha2
Comment:
The script fails because the following re.search in get_sage_version
return re.search('(\d+\.\d+\.\d+)',sage_version).group()
doesn't match anything for "3.2.alpha0". One way to get around this is to
use a try-except statement (see the attached patch sage-
combinat_4449.patch).
Now for 3.2.alpha2, the version number returned is '3.2.0' and for
'3.2.1.alpha2' it is '3.2.1'. I think this should be okay since the
version number is used to determine the guards (and the guards don't
change much between alpha releases).
Now the script runs, and fails at the end during the 'hg qpush -a' (which
is acceptable).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4449#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---