This is an automated email from the ASF dual-hosted git repository.

anandinguva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new d38fdd8e7d0 Add no-cache-dir to tox install
d38fdd8e7d0 is described below

commit d38fdd8e7d075effca51980b4d7dfb47882dc47e
Author: Anand Inguva <[email protected]>
AuthorDate: Mon Oct 16 16:04:33 2023 -0400

    Add no-cache-dir to tox install
---
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 3cea900278a..85d4e3de65a 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -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

Reply via email to