From 527f7c95d878716da6a3ddf99a596d256c95a102 Mon Sep 17 00:00:00 2001 From: "Yuri (solarw) Turchenkov" Date: Tue, 18 Jun 2024 13:27:56 +0300 Subject: [PATCH] fix: pre install wheel into venv to allow bdist_wheel intallations --- operate/services/service.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/operate/services/service.py b/operate/services/service.py index 1f03d93ab..9b7e1c775 100644 --- a/operate/services/service.py +++ b/operate/services/service.py @@ -390,6 +390,17 @@ def _setup_agent(working_dir: Path) -> None: venv = working_dir / "venv" pbin = str(venv / "bin" / "python") + # Install wheel to install agent dependencies + _run_cmd( + args=[ + pbin, + "-m", + "pip", + "install", + "wheel", + ], + ) + # Install agent dependencies _run_cmd( args=[