From 7be3953aff6578ccf380fccd1bfa0479b4706cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 12 Jun 2024 13:21:59 +0200 Subject: [PATCH] Audit: Use python -m pip --- github_app_geo_project/module/audit/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github_app_geo_project/module/audit/utils.py b/github_app_geo_project/module/audit/utils.py index 837e4a86447..670ac70adaf 100644 --- a/github_app_geo_project/module/audit/utils.py +++ b/github_app_geo_project/module/audit/utils.py @@ -64,6 +64,8 @@ async def snyk( async with asyncio.timeout(int(os.environ.get("GHCI_PYTHON_INSTALL_TIMEOUT", "1200"))): try: command = [ + "python", + "-m", "pip", "install", *local_config.get("pip-install-arguments", config.get("pip-install-arguments", [])),