This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch branch-4.0 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.0 by this push: new 42de5e623eac [SPARK-52786][BUILD] Make pyspark-client package to upload with preview naming 42de5e623eac is described below commit 42de5e623eac22de2314cf26724a4a64229a8e39 Author: Hyukjin Kwon <gurwls...@apache.org> AuthorDate: Mon Jul 14 12:58:56 2025 +0900 [SPARK-52786][BUILD] Make pyspark-client package to upload with preview naming ### What changes were proposed in this pull request? This PR proposes to make pyspark-client package to upload with preview naming. ### Why are the changes needed? Otherwise, it can't upload preview releases: ``` + svn update pyspark_client-4.1.0-preview1.tar.gz Updating 'pyspark_client-4.1.0-preview1.tar.gz': At revision 78150. + svn update pyspark_client-4.1.0-preview1.tar.gz.asc Updating 'pyspark_client-4.1.0-preview1.tar.gz.asc': At revision 78150. + twine upload -u __token__ -p *** --repository-url https://upload.pypi.org/legacy/ pyspark_client-4.1.0-preview1.tar.gz pyspark_client-4.1.0-preview1.tar.gz.asc InvalidDistribution: Cannot find file (or expand pattern): 'pyspark_client-4.1.0-preview1.tar.gz' ``` ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #51469 from HyukjinKwon/SPARK-52786. Authored-by: Hyukjin Kwon <gurwls...@apache.org> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> (cherry picked from commit 1f965cdf0afc82a39ca1d6a9b5687bdbe2d15039) Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- dev/create-release/release-build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh index 7a2b9f93e660..93ec3684ccc4 100755 --- a/dev/create-release/release-build.sh +++ b/dev/create-release/release-build.sh @@ -137,12 +137,12 @@ if [[ "$1" == "finalize" ]]; then --repository-url https://upload.pypi.org/legacy/ \ "pyspark_connect-$PYSPARK_VERSION.tar.gz" \ "pyspark_connect-$PYSPARK_VERSION.tar.gz.asc" - svn update "pyspark_client-$RELEASE_VERSION.tar.gz" - svn update "pyspark_client-$RELEASE_VERSION.tar.gz.asc" + svn update "pyspark_client-$PYSPARK_VERSION.tar.gz" + svn update "pyspark_client-$PYSPARK_VERSION.tar.gz.asc" twine upload -u __token__ -p $PYPI_API_TOKEN \ --repository-url https://upload.pypi.org/legacy/ \ - "pyspark_client-$RELEASE_VERSION.tar.gz" \ - "pyspark_client-$RELEASE_VERSION.tar.gz.asc" + "pyspark_client-$PYSPARK_VERSION.tar.gz" \ + "pyspark_client-$PYSPARK_VERSION.tar.gz.asc" cd .. rm -rf svn-spark echo "PySpark uploaded" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org