summaryrefslogtreecommitdiffstats
path: root/testing/raptor/mach_commands.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:11:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:11:27 +0000
commitf3bcaf9f88aad2c423ebcd61121562f9834187d4 (patch)
treef22238c29b57707b645a350940e3e9bdf3ce1f5d /testing/raptor/mach_commands.py
parentAdding debian version 115.7.0esr-1~deb12u1. (diff)
downloadfirefox-esr-f3bcaf9f88aad2c423ebcd61121562f9834187d4.tar.xz
firefox-esr-f3bcaf9f88aad2c423ebcd61121562f9834187d4.zip
Merging upstream version 115.8.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/raptor/mach_commands.py')
-rw-r--r--testing/raptor/mach_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/raptor/mach_commands.py b/testing/raptor/mach_commands.py
index bb9e6b73f5..c076bbbf79 100644
--- a/testing/raptor/mach_commands.py
+++ b/testing/raptor/mach_commands.py
@@ -269,10 +269,10 @@ class RaptorRunner(MozbuildObject):
def setup_node(command_context):
"""Fetch the latest node-16 binary and install it into the .mozbuild directory."""
import platform
- from distutils.version import StrictVersion
from mozbuild.artifact_commands import artifact_toolchain
from mozbuild.nodeutil import find_node_executable
+ from packaging.version import Version
print("Setting up node for browsertime...")
state_dir = get_state_dir()
@@ -280,7 +280,7 @@ def setup_node(command_context):
def __check_for_node():
# Check standard locations first
- node_exe = find_node_executable(min_version=StrictVersion("16.0.0"))
+ node_exe = find_node_executable(min_version=Version("16.0.0"))
if node_exe and (node_exe[0] is not None):
return node_exe[0]
if not os.path.exists(cache_path):