From 75508e5a92c0aa6203fe60494524a56024b52a97 Mon Sep 17 00:00:00 2001 From: Anand Inguva <34158215+AnandInguva@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:15:15 +0000 Subject: [PATCH] Revert "Add no-cache-dir to tox install" (#29023) This reverts commit d38fdd8e7d075effca51980b4d7dfb47882dc47e. --- .../groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy index 85d4e3de65a1..3cea900278a8 100644 --- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy +++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy @@ -2963,12 +2963,9 @@ class BeamModulePlugin implements Plugin { } 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 --no-cache-dir && " + - "pip install --pre --retries 10 --upgrade tox --no-cache-dir" + "pip install --pre --retries 10 --upgrade pip && " + + "pip install --pre --retries 10 --upgrade tox" } } // Gradle will delete outputs whenever it thinks they are stale. Putting a