This is an automated email from the ASF dual-hosted git repository. derrickaw pushed a commit to branch 20260603_gcpInstallUpdate in repository https://gitbox.apache.org/repos/asf/beam.git
commit cf037a320b50adf4b38a94467d5c8f7a3ce4b424 Author: Derrick Williams <[email protected]> AuthorDate: Wed Jun 3 18:54:43 2026 +0000 try single pip install --- .../groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 12 +++++------- 1 file changed, 5 insertions(+), 7 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 5ca0de9de84..4cbf611e62d 100644 --- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy +++ b/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 --pre --retries 10 ${installTargets}" } } }
