From 4a52c009f12211288d01372edd69e6384b47461e Mon Sep 17 00:00:00 2001 From: Guytri Kastane Date: Fri, 2 Feb 2024 14:31:23 +0100 Subject: [PATCH] fix bug in pip major version comparison --- commands/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/compile.py b/commands/compile.py index b6da2f3..ded2297 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -545,7 +545,7 @@ def compile_product_pip(sat, cwd=config.LOCAL.workdir, env=build_environ.environ.environ, stderr=subprocess.STDOUT).strip() - pip_build_options=res_pip_version.split('.')[0] < 21 + pip_build_options=int(res_pip_version.split('.')[0]) < 21 except: pip_build_options= True # d- install (in python or in separate product directory) -- 2.30.2