From 00a94c7b2e189587897f2fed3d7ee94a1f642800 Mon Sep 17 00:00:00 2001 From: Guytri KASTANE Date: Tue, 20 Feb 2024 12:43:53 +0100 Subject: [PATCH] decode pip version --- commands/compile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/compile.py b/commands/compile.py index ded2297..0368549 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -17,6 +17,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA import os +import sys import re import subprocess import src @@ -544,7 +545,7 @@ def compile_product_pip(sat, shell=True, cwd=config.LOCAL.workdir, env=build_environ.environ.environ, - stderr=subprocess.STDOUT).strip() + stderr=subprocess.STDOUT).decode(sys.stdout.encoding).strip() pip_build_options=int(res_pip_version.split('.')[0]) < 21 except: pip_build_options= True -- 2.39.2