Open
Bug 1929562
Opened 1 month ago
Updated 26 days ago
./mach test fails with ModuleNotFoundError: No module named 'pipes'
Categories
(Firefox Build System :: Mach Core, defect, P3)
Firefox Build System
Mach Core
Tracking
(Not tracked)
NEW
People
(Reporter: stransky, Unassigned)
References
(Blocks 1 open bug)
Details
Can't run local tests on Fedora 41. Looks like pipes was removed - https://github.com/xolox/python-humanfriendly/issues/73
ModuleNotFoundError: No module named 'pipes'
File "/raid/src3/python/mach/mach/main.py", line 267, in run
return self._run(argv)
~~~~~~~~~^^^^^^
File "/raid/src3/python/mach/mach/main.py", line 328, in _run
args = parser.parse_args(argv)
File "/usr/lib64/python3.13/argparse.py", line 1880, in parse_args
args, argv = self.parse_known_args(args, namespace)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 1916, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 2150, in _parse_known_args
stop_index = consume_positionals(start_index)
File "/usr/lib64/python3.13/argparse.py", line 2105, in consume_positionals
take_action(action, args)
~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 1993, in take_action
action(self, namespace, argument_values, option_string)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/raid/src3/python/mach/mach/dispatcher.py", line 179, in __call__
if handler.parser:
^^^^^^^^^^^^^^
File "/raid/src3/python/mach/mach/decorators.py", line 105, in parser
self._parser = self._parser()
~~~~~~~~~~~~^^
File "/raid/src3/testing/mochitest/mach_commands.py", line 193, in setup_argument_parser
load_source("mochitest", path)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/raid/src3/testing/mozbase/mozfile/mozfile/mozfile.py", line 649, in load_source
loader.exec_module(module)
~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/raid/src3/objdir-opt/_tests/testing/mochitest/runtests.py", line 44, in <module>
import mozrunner
File "/raid/src3/testing/mozbase/mozrunner/mozrunner/__init__.py", line 6, in <module>
import mozrunner.base
File "/raid/src3/testing/mozbase/mozrunner/mozrunner/base/__init__.py", line 6, in <module>
from .browser import BlinkRuntimeRunner, GeckoRuntimeRunner
File "/raid/src3/testing/mozbase/mozrunner/mozrunner/base/browser.py", line 11, in <module>
from ..application import DefaultContext, FirefoxContext
File "/raid/src3/testing/mozbase/mozrunner/mozrunner/application.py", line 11, in <module>
from mozdevice import ADBDeviceFactory
File "/raid/src3/testing/mozbase/mozdevice/mozdevice/__init__.py", line 157, in <module>
from .adb import (
...<8 lines>...
)
File "/raid/src3/testing/mozbase/mozdevice/mozdevice/adb.py", line 7, in <module>
import pipes
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: General → Mach Core
Comment 2•1 month ago
|
||
This is a python3.13 issue. You'll have to use an older version until this is fixed.
Updated•1 month ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•