Closed
Bug 836877
Opened 11 years ago
Closed 11 years ago
mach should fail if running on Python 3
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: alex_y_xu, Assigned: gps)
Details
Attachments
(1 file)
1002 bytes,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 Build ID: 20130126165632 Steps to reproduce: hg clone .../mozilla-central cd mozilla-central ./mach build Using Python 3.2.3 on Gentoo. Actual results: Traceback (most recent call last): File "mach", line 53, in <module> import mach.main ImportError: No module named mach.main During handling of the above exception, another exception occurred: Traceback (most recent call last): File "mach", line 57, in <module> import mach.main File "/home/alex/mozilla/python/mach/mach/main.py", line 29, in <module> from .logging import LoggingManager File "/home/alex/mozilla/python/mach/mach/logging.py", line 12, in <module> import blessings File "/home/alex/mozilla/python/blessings/blessings/__init__.py", line 275 u''.join(self._resolve_formatter(s) for s in formatters)) ^ SyntaxError: invalid syntax
Assignee | ||
Comment 1•11 years ago
|
||
We don't support building on Python 3. We should catch this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: mach build fails with "ImportError: No module named mach.main" (Python 3) → mach should fail if running on Python 3
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
f+, though I'd make the error message more like: "Mach requires python 2.7.x to run"..., perhaps refering o the bug for getting our **** on python 3
Updated•11 years ago
|
Attachment #708743 -
Flags: review?(ted) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/95bec0e5a600
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•