Closed Bug 467595 Opened 14 years ago Closed 14 years ago

update scratchbox python on refplatform


(Release Engineering :: General, defect, P3)



(Not tracked)



(Reporter: ted, Unassigned)



Scratchbox ships with Python 2.3 by default. We'd like to require 2.4 or newer (bug 427750), but we also would not like to break mobile builds. Gavin says it's not that hard to upgrade.
I think you can just:
apt-get install python2.5
ln -s /usr/bin/python2.5 /host_usr/bin/python

(/host_usr/bin/ just happens to be earlier than /scratchbox/tools/bin/ in my $PATH, adjust accordingly)
Note that the patch in bug 427750 explicitly checks for python2.5 and python2.5 before python, so as long as it winds up somewhere in $PATH that'd be ok.
Ah, cool. Forget about the symlink then!
gavin/ted: getting the update is easy. Knowing that the update doesnt cause any problems for mobile or for the other linux builds on the same VM is going to be a little more fun.

Brad, Stuart: Is python2.5 something that you know works for mobile? Or do you need experimenting before we experiment with this for other linux builds in staging?
python2.5 works fine for mobile, I use it all the time.

What do you mean by "the other linux builds"? We're talking about updating the version of python within scratchbox, it shouldn't affect other builds.
I don't foresee this happening this quarter.
Component: Release Engineering → Release Engineering: Future
Priority: -- → P3
This is blocking fixes to ensure ssltunnel is properly shut down in non-bash shells when Mochitest runs complete; see bug 464191.
Blocks: 464191
Assignee: nobody → aki
Done on moz2-linux-slave01 through 17, and try-linux-slave01 through 05.
I'll update the ref image once I figure out which VM it is =)
Done on moz2-linux-slave18 and 19.  bhearsum updated the ref image.
Calling this fixed.
Assignee: aki → nobody
Closed: 14 years ago
Component: Release Engineering: Future → Release Engineering
Resolution: --- → FIXED
Product: → Release Engineering
You need to log in before you can comment on or make changes to this bug.