Skip to content

Commit 86a9059

Browse files
HyukjinKwondongjoon-hyun
authored andcommitted
[SPARK-36159][BUILD] Replace 'python' to 'python3' in dev/test-dependencies.sh
### What changes were proposed in this pull request? This PR is a followup of #26330. There is the last place to fix in `dev/test-dependencies.sh` ### Why are the changes needed? To stick to Python 3 instead of using Python 2 mistakenly. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually tested. Closes #33368 from HyukjinKwon/change-python-3. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 6bd385f) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent 43b683b commit 86a9059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/test-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [ $? != 0 ]; then
5353
exit 1
5454
fi
5555
set -e
56-
TEMP_VERSION="spark-$(python -S -c "import random; print(random.randrange(100000, 999999))")"
56+
TEMP_VERSION="spark-$(python3 -S -c "import random; print(random.randrange(100000, 999999))")"
5757

5858
function reset_version {
5959
# Delete the temporary POMs that we wrote to the local Maven repo:

0 commit comments

Comments
 (0)