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

tvalentyn pushed a commit to branch tvalentyn-patch-5
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 926dd692ea1393a485996710751d4f59692ea606
Author: tvalentyn <[email protected]>
AuthorDate: Wed Mar 26 15:27:47 2025 -0700

    Remove legacy setup.py clean command
---
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy  | 6 ------
 1 file changed, 6 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 51ed48738b3..94a28c74fad 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -3033,12 +3033,6 @@ class BeamModulePlugin implements Plugin<Project> {
       def cleanPython = project.tasks.register('cleanPython') {
         doLast {
           def activate = "${project.ext.envdir}/bin/activate"
-          project.exec {
-            executable 'sh'
-            args '-c', "if [ -e ${activate} ]; then " +
-                ". ${activate} && cd ${pythonRootDir} && pip install pyyaml 
jinja2 && python setup.py clean; " +
-                "fi"
-          }
           project.delete project.buildDir     // Gradle build directory
           project.delete project.ext.envdir   // virtualenv directory
           project.delete "$project.projectDir/target"   // tox work directory

Reply via email to