Closed Bug 987535 Opened 8 years ago Closed 8 years ago

Deploy a python2.7.exe executable to windows build slaves

Categories

(Infrastructure & Operations :: RelOps: General, task)

All
Windows 7
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: markco)

References

Details

On Linux build slaves, "python" is system python 2.6.something, and "python2.7" is python 2.7. On Windows build slaves, "python" is python 2.7 and "python2.7" doesn't exist. MozillaBuild 1.8+ comes with a "python2.7.exe" executable. Using "python2.7" is a common "reliable" way to launch a python 2.7 script, it would make things easier in bug 980117 if Windows slaves had a "python2.7.exe" executable. It can just be copied from the already existing "python.exe".
Assignee: nobody → relops
Component: Other → RelOps
Product: Release Engineering → Infrastructure & Operations
QA Contact: arich
Version: unspecified → other
Assignee: relops → mcornmesser
Amy, what's the eta here? This is high priority for my team
I just wanted to check. We want to rename C:\mozilla-build\python27/pyhton.exe to C:\mozilla-build\python27\pyhton2.7.exe?
They want to copy C:\mozilla-build\python27\pyhton.exe to C:\mozilla-build\python27\python2.7.exe

(copy, not move, and typo corrected).
well, one of two typos corrected:

C:\mozilla-build\python27\python.exe to C:\mozilla-build\python27\python2.7.exe
(In reply to Mark Cornmesser [:markco] from comment #2)
> I just wanted to check. We want to rename
> C:\mozilla-build\python27/pyhton.exe to
> C:\mozilla-build\python27\pyhton2.7.exe?

Just copy. There are too many things that call "python" to remove it.
There is now a GPO in place to do this. The Windows build slaves should start picking up the changes shortly.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
This is being done as a file copy added to the file_mozilla_build GPO. The location of the source file is the files/python2.7 in SYSVOL.
I'm presuming on each update of Python in Mozilla-Build, upon rollout of that new version of Mozilla-Build we'll need to re-copy python.exe -> python2.7exe? Or will the GPO do that automatically for us?
Presumably, new versions of Mozilla-Build come with both files.
Ah yeah sorry I hadn't seen Mozilla-Build copies the file as part of packaging (the default Python windows MSI doesn't bundle the versioned binaries):
https://hg.mozilla.org/mozilla-build/file/tip/packageit.py#l107
You need to log in before you can comment on or make changes to this bug.