diff --git a/Dockerfile b/Dockerfile index 3cac1dde4c..c629bd034c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,9 +49,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow- mpich \ net-tools \ pkg-config \ - python3 \ - python3-dev \ - python3-pip \ + python3-full \ redis \ rocm-llvm-dev \ sshpass \ diff --git a/Jenkinsfile b/Jenkinsfile index c46e2d53ef..3e22eb2f01 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -530,8 +530,11 @@ def Build_CK(Map conf=[:]){ if ( params.RUN_INDUCTOR_TESTS && !params.BUILD_LEGACY_OS && arch_type == 1 ){ echo "Run inductor codegen tests" sh """ - pip install --target ${env.WORKSPACE} --break-system-packages --verbose . - pytest python/test/test_gen_instances.py + python3 -m venv ${env.WORKSPACE} + . ${env.WORKSPACE}/bin/activate + python3 -m pip install pytest build setuptools setuptools_scm + python3 -m pip install . + python3 -m pytest python/test/test_gen_instances.py """ } dir("build"){