From c1f4cb050e59425ef3b0eddb98a05a4185790ee3 Mon Sep 17 00:00:00 2001 From: Charlie Crane Date: Wed, 15 May 2024 09:00:54 +0100 Subject: [PATCH] #2457 - Retesting the use of --no-cache-dir to see if that prevents hash issue --- .azure/azure-ci-build-pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 732856b7..f2d698fd 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -81,13 +81,13 @@ stages: displayName: 'Build PrimAITE' - script: | + pip cache purge PRIMAITE_WHEEL=$(ls ./dist/primaite*.whl) - python -m pip install $PRIMAITE_WHEEL[dev] + python -m pip install --no-cache-dir $PRIMAITE_WHEEL[dev] displayName: 'Install PrimAITE' condition: or(eq( variables['Agent.OS'], 'Linux' ), eq( variables['Agent.OS'], 'Darwin' )) - script: | - pip cache purge forfiles /p dist\ /m *.whl /c "cmd /c python -m pip install --no-cache-dir @file[dev]" displayName: 'Install PrimAITE' condition: eq( variables['Agent.OS'], 'Windows_NT' )