This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new e9a1b4254419 [SPARK-48237][BUILD] Clean up `dev/pr-deps` at the end of
`test-dependencies.sh` script
e9a1b4254419 is described below
commit e9a1b4254419c751e612cd5e5c56f111b41399e7
Author: panbingkun <[email protected]>
AuthorDate: Fri May 10 19:54:29 2024 -0700
[SPARK-48237][BUILD] Clean up `dev/pr-deps` at the end of
`test-dependencies.sh` script
### What changes were proposed in this pull request?
The pr aims to delete the dir `dev/pr-deps` after executing
`test-dependencies.sh`.
### Why are the changes needed?
We'd better clean the `temporary files` generated at the end.
Before:
```
sh dev/test-dependencies.sh
```
<img width="569" alt="image"
src="https://github.com/apache/spark/assets/15246973/39a56983-774c-4c2d-897d-26a7d0999456">
After:
```
sh dev/test-dependencies.sh
```
<img width="534" alt="image"
src="https://github.com/apache/spark/assets/15246973/f7e76e22-63cf-4411-99d0-5e844f8d5a7a">
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually test.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #46531 from panbingkun/minor_test-dependencies.
Authored-by: panbingkun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit f699f556d8a09bb755e9c8558661a36fbdb42e73)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/test-dependencies.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev/test-dependencies.sh b/dev/test-dependencies.sh
index d7967ac3afa9..36cc7a4f994d 100755
--- a/dev/test-dependencies.sh
+++ b/dev/test-dependencies.sh
@@ -140,4 +140,8 @@ for HADOOP_HIVE_PROFILE in "${HADOOP_HIVE_PROFILES[@]}"; do
fi
done
+if [[ -d "$FWDIR/dev/pr-deps" ]]; then
+ rm -rf "$FWDIR/dev/pr-deps"
+fi
+
exit 0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]