Closed Bug 1696285 Opened 4 years ago Closed 4 years ago

windows_toolchain.py fails with python 3

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: rjl, Assigned: rjl)

Details

Attachments

(1 file)

Running windows_toolchain.py as follows:

./mach python ./build/windows_toolchain.py create-zip /c/vs2017

Fails immediately:

Traceback (most recent call last):
  File "./build/windows_toolchain.py", line 262, in <module>
    write_zip(destzip, prefix=prefix)
  File "./build/windows_toolchain.py", line 230, in write_zip
    if isinstance(prefix, unicode):  # noqa Special case for Python 2
NameError: name 'unicode' is not defined
Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/eb18352a2512 update windows_toolchain.py to run with Python 3. r=firefox-build-system-reviewers,andi,mhentges
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: