diff --git a/bench/bench.py b/bench/bench.py index 11ed67d4..6b5dd3d1 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -6,7 +6,6 @@ import shutil import json import sys import logging -from glob import glob from typing import List, MutableSequence, TYPE_CHECKING, Union # imports - module imports @@ -72,12 +71,7 @@ class Bench(Base, Validator): @property def python(self) -> str: - existing_python_bins = glob(f"{self.name}/env/bin/python*") - - if existing_python_bins: - return existing_python_bins[0] - - return get_env_cmd("python", bench_path=self.name) + return get_env_cmd("python3", bench_path=self.name) @property def shallow_clone(self) -> bool: