Skip to content

Commit

Permalink
Add no-cache-dir to tox install
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Oct 16, 2023
1 parent 9676fcc commit d38fdd8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2963,9 +2963,12 @@ class BeamModulePlugin implements Plugin<Project> {
}
project.exec {
executable 'sh'
// TODO: https://github.com/apache/beam/issues/29022
// pip 23.3 is failing due to Hash mismatch between expected SHA of the packaged and actual SHA.
// until it is resolved on pip's side, don't use pip's cache.
args '-c', ". ${project.ext.envdir}/bin/activate && " +
"pip install --pre --retries 10 --upgrade pip && " +
"pip install --pre --retries 10 --upgrade tox"
"pip install --pre --retries 10 --upgrade pip --no-cache-dir && " +
"pip install --pre --retries 10 --upgrade tox --no-cache-dir"
}
}
// Gradle will delete outputs whenever it thinks they are stale. Putting a
Expand Down

0 comments on commit d38fdd8

Please sign in to comment.