uros-b commented on code in PR #56996:
URL: https://github.com/apache/spark/pull/56996#discussion_r3524875834


##########
dev/make-distribution.sh:
##########
@@ -274,6 +274,9 @@ if [ "$MAKE_PIP" == "true" ]; then
   pushd "$SPARK_HOME/python" > /dev/null
   # Delete the egg info file if it exists, this can cache older setup files.
   rm -rf pyspark.egg-info || echo "No existing egg info file, skipping 
deletion"
+  # Remove stale sdists so the validation glob below does not trip on tarballs
+  # left over from earlier builds with a different version.
+  rm -rf dist/pyspark*.tar.gz

Review Comment:
   Can we just do -f?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to