#2457 - Retesting the use of --no-cache-dir to see if that prevents hash issue

This commit is contained in:
Charlie Crane
2024-05-15 09:00:54 +01:00
parent dc0f46270f
commit c1f4cb050e

View File

@@ -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' )