From: Guytri Kastane Date: Fri, 2 Feb 2024 13:31:23 +0000 (+0100) Subject: fix bug in pip major version comparison X-Git-Tag: V9_13_0~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a52c009f12211288d01372edd69e6384b47461e;p=tools%2Fsat.git fix bug in pip major version comparison --- 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)