Closed
Bug 987535
Opened 12 years ago
Closed 12 years ago
Deploy a python2.7.exe executable to windows build slaves
Categories
(Infrastructure & Operations :: RelOps: General, task)
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".
| Reporter | ||
Updated•12 years ago
|
Assignee: nobody → relops
Component: Other → RelOps
Product: Release Engineering → Infrastructure & Operations
QA Contact: arich
Version: unspecified → other
Updated•12 years ago
|
Assignee: relops → mcornmesser
Comment 1•12 years ago
|
||
Amy, what's the eta here? This is high priority for my team
| Assignee | ||
Comment 2•12 years ago
|
||
I just wanted to check. We want to rename C:\mozilla-build\python27/pyhton.exe to C:\mozilla-build\python27\pyhton2.7.exe?
Comment 3•12 years ago
|
||
They want to copy C:\mozilla-build\python27\pyhton.exe to C:\mozilla-build\python27\python2.7.exe
(copy, not move, and typo corrected).
Comment 4•12 years ago
|
||
well, one of two typos corrected:
C:\mozilla-build\python27\python.exe to C:\mozilla-build\python27\python2.7.exe
| Reporter | ||
Comment 5•12 years ago
|
||
(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.
| Assignee | ||
Comment 6•12 years ago
|
||
There is now a GPO in place to do this. The Windows build slaves should start picking up the changes shortly.
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•12 years ago
|
||
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.
Comment 8•12 years ago
|
||
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?
| Reporter | ||
Comment 9•12 years ago
|
||
Presumably, new versions of Mozilla-Build come with both files.
Comment 10•12 years ago
|
||
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.
Description
•