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 75508e5a92c Revert "Add no-cache-dir to tox install" (#29023)
75508e5a92c is described below

commit 75508e5a92c0aa6203fe60494524a56024b52a97
Author: Anand Inguva <[email protected]>
AuthorDate: Mon Oct 16 20:15:15 2023 +0000

    Revert "Add no-cache-dir to tox install" (#29023)
    
    This reverts commit d38fdd8e7d075effca51980b4d7dfb47882dc47e.
---
 .../src/main/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 85d4e3de65a..3cea900278a 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> {
           }
           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

Reply via email to