From f19dbc4d34bfeca0cba8e5d70914ac89235cf83d Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 3 Oct 2019 12:25:22 +0200
Subject: [PATCH] test: pix python paths with spaces (#4574)

---
 lib/manager/pip_setup/extract.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/manager/pip_setup/extract.ts b/lib/manager/pip_setup/extract.ts
index ee9f57132e..5013ad0536 100644
--- a/lib/manager/pip_setup/extract.ts
+++ b/lib/manager/pip_setup/extract.ts
@@ -42,7 +42,7 @@ export async function extractSetupFile(
 ): Promise<PythonSetup> {
   const cwd = config.localDir;
   let cmd: string;
-  const args = [join(__dirname, 'extract.py'), packageFile];
+  const args = [`"${join(__dirname, 'extract.py')}"`, `"${packageFile}"`];
   // istanbul ignore if
   if (config.binarySource === 'docker') {
     logger.info('Running python via docker');
-- 
GitLab