From d99a956b194bd00e2ef208639aa07cc5d408f509 Mon Sep 17 00:00:00 2001 From: maurycy <5383+maurycy@users.noreply.github.com> Date: Sun, 26 Oct 2025 18:09:05 +0100 Subject: [PATCH 1/2] do not ensure_reqs twice --- pyperformance/commands.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyperformance/commands.py b/pyperformance/commands.py index 7d67010f..13a35710 100644 --- a/pyperformance/commands.py +++ b/pyperformance/commands.py @@ -89,7 +89,6 @@ def cmd_venv_recreate(options, root, python, benchmarks): venv.ensure_pip() try: venv.ensure_reqs(requirements) - venv.ensure_reqs(requirements) except _venv.RequirementsInstallationFailedError: sys.exit(1) else: @@ -156,7 +155,6 @@ def cmd_venv_show(options, root): def cmd_run(options, benchmarks): import pyperf - import pyperformance from .compare import display_benchmark_suite From aabae3667e953f6571b761fcb85036ce76fad5f1 Mon Sep 17 00:00:00 2001 From: maurycy <5383+maurycy@users.noreply.github.com> Date: Sun, 26 Oct 2025 18:14:14 +0100 Subject: [PATCH 2/2] lint mismatch --- pyperformance/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyperformance/commands.py b/pyperformance/commands.py index 13a35710..7fc6603b 100644 --- a/pyperformance/commands.py +++ b/pyperformance/commands.py @@ -155,6 +155,7 @@ def cmd_venv_show(options, root): def cmd_run(options, benchmarks): import pyperf + import pyperformance from .compare import display_benchmark_suite