Closed
Bug 1730626
Opened 3 years ago
Closed 3 years ago
TypeError: '<' not supported between instances of 'bool' and 'StrictVersion' when running mach lint
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox94 fixed)
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: emilio, Assigned: ahal)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
./mach lint --warnings --outgoing --fix
error: problem with lint setup, skipping android-api-lint, android-checkstyle, android-javadoc, android-lint, android-test
Traceback (most recent call last):
File "/home/emilio/src/moz/gecko-4/python/mozlint/mozlint/roller.py", line 66, in _run_worker
res = func(paths, config, **lintargs)
File "/home/emilio/src/moz/gecko-4/python/mozlint/mozlint/types.py", line 57, in __call__
return self._lint(paths, config, **lintargs)
File "/home/emilio/src/moz/gecko-4/python/mozlint/mozlint/types.py", line 148, in _lint
return func(files, config, **lintargs)
File "/home/emilio/src/moz/gecko-4/tools/lint/clippy/__init__.py", line 182, in lint
if actual_version < min_version:
TypeError: '<' not supported between instances of 'bool' and 'StrictVersion'
Reporter | ||
Comment 1•3 years ago
|
||
$ rustup component add clippy
helped. So probably we should either install that by default or fail gracefully.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → ahal
Status: NEW → ASSIGNED
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54f353951327 [lint] Print proper error message when clippy is not installed, r=linter-reviewers,marco
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•