commit 2526b984dc979690a82d1d9759bd0d507d22b0bb
parent 5c1f371d90260fb75d50811af99d29fe38642cd4
Author: Yannis Juglaret <yjuglaret@mozilla.com>
Date: Tue, 6 Jan 2026 11:08:43 +0000
Bug 2008672 - Add mozshellutil to sys.path in configure.py. r=firefox-build-system-reviewers,sergesanspaille
After moving shellutil.py to testing/mozbase/mozshellutil/ in bug 1518065,
configure.py needs to explicitly add the new module to sys.path so that
mozbuild.backend.configenvironment can import from it during the configure
process.
This fixes the ModuleNotFoundError: No module named 'mozshellutil' that occurs
when running configure.
Differential Revision: https://phabricator.services.mozilla.com/D277983
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/configure.py b/configure.py
@@ -17,6 +17,7 @@ sys.path.insert(0, os.path.join(base_dir, "python", "mozboot"))
sys.path.insert(0, os.path.join(base_dir, "python", "mozbuild"))
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "packaging"))
sys.path.insert(0, os.path.join(base_dir, "testing", "mozbase", "mozfile"))
+sys.path.insert(0, os.path.join(base_dir, "testing", "mozbase", "mozshellutil"))
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "six"))
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "looseversion"))
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "filelock"))