Closed Bug 1753739 Opened 4 years ago Closed 4 years ago

Pre-commit linting hook ModuleNotFoundError: No module named 'mach'

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect

Tracking

(firefox-esr91 unaffected, firefox97 unaffected, firefox98 fixed, firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- unaffected
firefox98 --- fixed
firefox99 --- fixed

People

(Reporter: Mardak, Assigned: Mardak)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Similar to bug 1699188 likely regressed by bug 1750693, which added from mach.util import to_optional_path:

Traceback (most recent call last):
  File ".git/hooks/pre-commit", line 22, in <module>
    from mozversioncontrol import get_repository_object, InvalidRepoPath
  File "tools/lint/../../python/mozversioncontrol/mozversioncontrol/__init__.py", line 16, in <module>
    from mach.util import to_optional_path
ModuleNotFoundError: No module named 'mach'
Summary: Pre-commit linting hook ModuleNotFoundError: No module named 'jsmin' → Pre-commit linting hook ModuleNotFoundError: No module named 'mach'
Attachment #9262430 - Attachment description: Bug 1753739 - [mozlint] Include mach now that mozversioncontrol uses mach.util r?ahal → Bug 1753739 - [mozlint] Include mach now that mozversioncontrol uses mach.util r?mhentges r=ahal!

The Bugbug bot thinks this bug is a defect, but please change it back in case of error.

Type: task → defect
Has Regression Range: --- → yes
Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0283b83ef173 [mozlint] Include mach now that mozversioncontrol uses mach.util r=ahal,mhentges
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Set release status flags based on info from the regressing bug 1750693

Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: