Abacn commented on code in PR #38862:
URL: https://github.com/apache/beam/pull/38862#discussion_r3382711936


##########
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy:
##########
@@ -3143,9 +3143,11 @@ class BeamModulePlugin implements Plugin<Project> {
           if (extra) {
             installTargets = "${distTarBall}[${packages},${extra}]"
           }
+          def uvCacheDir = "${project.ext.envdir}/.uv_cache"
           project.exec {
             executable 'sh'
-            args '-c', ". ${project.ext.envdir}/bin/activate && pip install uv 
&& uv pip install --pre ${installTargets}"
+            // Default uv cache is global; py310/py314 installGcpTest fight 
over the same lock.
+            args '-c', ". ${project.ext.envdir}/bin/activate && pip install uv 
&& uv pip install --cache-dir ${uvCacheDir} --pre ${installTargets}"
           }

Review Comment:
   This comment looks reasonable.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to