Closed Bug 706244 Opened 13 years ago Closed 13 years ago

install simplejson on test farm

Categories

(Release Engineering :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla, Unassigned)

References

Details

(Whiteboard: [puppet])

This blocks running mozharness on our test boxen.
I might not need this!

talos-r3-fed-001:/tools/buildbot/bin/python is 2.6.2
talos-r3-fed64-002:/tools/buildbot/bin/python is 2.6.2
leopard python 2.5 without simplejson
talos-r4-snow-001:/tools/buildbot/bin/python is 2.6.1
XP python 2.4, c:\mozilla-build\python25\python has simplejson
W7 same
W764 same

So while the default python in most of these cases is bad (2.5.x without simplejson, or 2.4), I'm able to get access to a python 2.6 or python 2.5-with-simplejson on all talos platforms except leopard.

IIRC most people thought that there isn't much that we catch on leopard that we don't also catch on snow leopard, so if we leave leopard out we're not doing too badly.
alos-r3-leopard-002:~ cltbld$ /tools/buildbot/bin/python 
Python 2.5.1 (r251:54863, Jun 17 2009, 20:37:34) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import simplejson
>>>

N/m, leopard too.  WONTFIXing as I think I can use this to get mozharness running.
We should talk about installing python 2.6 or 2.7 everywhere in a separate less urgent bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Maybe I should look for virtualenv while I'm at it.

fed /tools/buildbot/bin/python /tools/misc-python/virtualenv.py
fed64 same
leopard same
snow same
xp c:/mozilla-build/buildbotve/virtualenv.py
w7 same
w764 same, but it doesn't throw usage() after running.  However, running it as "\mozilla-build\python25\python \mozilla-build\buildbotve\virtualenv.py" does.  I imagine this will work on xp and w7 as well.

Luckily mozharness was built to deal with config issues like this!
I think I need to add query_exe() support to mozharness.base.python, as well as supporting a query_exe() return result that's a list.
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.