Closed Bug 871817 Opened 12 years ago Closed 12 years ago

Update Python in MozillaBuild to 2.7.5

Categories

(Firefox Build System :: MozillaBuild, task)

x86
Windows 7
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: myk, Assigned: RyanVM)

References

()

Details

Python 2.7.4 has a bug <http://bugs.python.org/issue17656> that causes the Firefox OS Simulator's build process to fail in MozillaBuild 1.7 with: -------------------------------------------------------------------------------- Traceback (most recent call last): File "build/override-webapps.py", line 46, in <module> File "c:\mozilla-build\python\lib\zipfile.py", line 1024, in extract return self._extract_member(member, path, pwd) File "c:\mozilla-build\python\lib\zipfile.py", line 1057, in _extract_member arcname = arcname.translate(table) TypeError: character mapping must return integer, None or unicode -------------------------------------------------------------------------------- Once Python ships 2.7.5, which Benjamin Peterson suggests they're going to do to address this issue <http://bugs.python.org/issue17656#msg186444>, it'd be very helpful for MozillaBuild to ship an update that includes the new version of Python, since the Simulator team uses MozillaBuild to build on Windows, and this bug prevents us from using MozillaBuild 1.7.
Bummer. In the meantime, you can just delete the python dir inside your mozilla-build install and install some other version of Python in there, MozillaBuild doesn't care what version it is.
http://hg.mozilla.org/mozilla-build/rev/713f5c87f2e7 Hopefully we can spin up a 1.7.1 prerelease build shortly.
Assignee: nobody → ryanvm
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
(In reply to Ryan VanderMeulen [:RyanVM] from comment #3) > http://hg.mozilla.org/mozilla-build/rev/713f5c87f2e7 > > Hopefully we can spin up a 1.7.1 prerelease build shortly. Awesome, thanks! Let me know when you do (or just cc: me on the relevant bug), and I'll test it in advance to make sure it resolves the problem with building the Simulator.
Wow, that took a lot longer than anticipated. Regardless, here's a build to test with. http://people.mozilla.org/~rvandermeulen/MozillaBuildSetup1.8.0pre.exe Sorry for the insanely long delay on this. I promise it won't take this long in the future.
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #5) > Wow, that took a lot longer than anticipated. Regardless, here's a build to > test with. > http://people.mozilla.org/~rvandermeulen/MozillaBuildSetup1.8.0pre.exe Yup, the Simulator build process works as expected with that version of MozillaBuild. Thanks for the fix!
Status: RESOLVED → VERIFIED
Great, thanks!
Depends on: 904124
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.