Closed Bug 1617652 Opened 5 years ago Closed 5 years ago

Vendored gyp package does not support Python 3

Categories

(Firefox Build System :: General, task)

task
Not set
normal

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

References

Details

Attachments

(1 file)

This package has apparently only ever had one release (which we've vendored) and attempting to run any code that references it in Python 3 fails trivially:

  File "/Users/rickystewart/src/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1056, in read_mozbuild
    metadata=metadata):
  File "/Users/rickystewart/src/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1145, in _read_mozbuild
    from .gyp_reader import GypProcessor
  File "/Users/rickystewart/src/mozilla-unified/build/mach_bootstrap.py", line 433, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/Users/rickystewart/src/mozilla-unified/python/mozbuild/mozbuild/frontend/gyp_reader.py", line 7, in <module>
    import gyp
  File "/Users/rickystewart/src/mozilla-unified/build/mach_bootstrap.py", line 433, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/Users/rickystewart/src/mozilla-unified/third_party/python/gyp/pylib/gyp/__init__.py", line 37
    print '%s:%s:%d:%s %s' % (mode.upper(), os.path.basename(ctx[0]),
                         ^
SyntaxError: invalid syntax
Blocks: 1617748
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c807ac88f8c4 Update vendored gyp to e87d37d6bce611abed35e854d5ae1a401e9ce04c r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: