jrmccluskey commented on code in PR #38798:
URL: https://github.com/apache/beam/pull/38798#discussion_r3351649264


##########
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy:
##########
@@ -3137,15 +3137,13 @@ class BeamModulePlugin implements Plugin<Project> {
           def distTarBall = "${pythonRootDir}/build/apache-beam.tar.gz"
           def packages = "gcp,test,aws,azure,dataframe"
           def extra = project.findProperty('beamPythonExtra')
+          def installTargets = "${distTarBall}[${packages}]"
+          if (extra) {
+            installTargets = "${distTarBall}[${packages},${extra}]"
+          }
           project.exec {
             executable 'sh'
-            args '-c', ". ${project.ext.envdir}/bin/activate && pip install 
--pre --retries 10 ${distTarBall}[${packages}]"
-          }
-          if (extra) {
-            project.exec {
-              executable 'sh'
-              args '-c', ". ${project.ext.envdir}/bin/activate && pip install 
--pre --retries 10 ${distTarBall}[${extra}]"
-            }
+            args '-c', ". ${project.ext.envdir}/bin/activate && pip install uv 
&& uv pip install --pre ${installTargets}"

Review Comment:
   uv automatically does 3 retries; however it does *not* support the retries 
flag at present.



-- 
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