You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2025/03/20 05:06:59 UTC

(spark) branch master updated: [SPARK-51433][PYTHON][FOLLOWUP] Fix pyspark-client package file name

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

wenchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ffb8009a3d6 [SPARK-51433][PYTHON][FOLLOWUP] Fix pyspark-client package file name
3ffb8009a3d6 is described below

commit 3ffb8009a3d660f25b4d003d0e702d60e8527ab6
Author: Takuya Ueshin <ue...@databricks.com>
AuthorDate: Thu Mar 20 13:06:44 2025 +0800

    [SPARK-51433][PYTHON][FOLLOWUP] Fix pyspark-client package file name
    
    ### What changes were proposed in this pull request?
    
    Fixes `pyspark-client` package file name.
    
    ### Why are the changes needed?
    
    The file name seems to be typoed.
    
    ### Does this PR introduce _any_ user-facing change?
    
    Yes, it uses a proper package name.
    
    ### How was this patch tested?
    
    Manually.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #50331 from ueshin/issues/SPARK-51433/pyspark_client.
    
    Authored-by: Takuya Ueshin <ue...@databricks.com>
    Signed-off-by: Wenchen Fan <we...@databricks.com>
---
 dev/create-release/release-build.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh
index 0d309bdc94db..8d7206604155 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"
-  TWINE_USERNAME=spark-upload TWINE_PASSWORD="$PYPI_PASSWORD" twine upload \
+  svn update "pyspark_client-$RELEASE_VERSION.tar.gz"
+  svn update "pyspark_client-$RELEASE_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-$RELEASE_VERSION.tar.gz" \
+    "pyspark_client-$RELEASE_VERSION.tar.gz.asc"
   cd ..
   rm -rf svn-spark
   echo "PySpark uploaded"
@@ -337,7 +337,7 @@ if [[ "$1" == "package" ]]; then
         --detach-sig $PYTHON_CONNECT_DIST_NAME
       shasum -a 512 $PYTHON_CONNECT_DIST_NAME > $PYTHON_CONNECT_DIST_NAME.sha512
 
-      PYTHON_CLIENT_DIST_NAME=pyspark-client-$PYSPARK_VERSION.tar.gz
+      PYTHON_CLIENT_DIST_NAME=pyspark_client-$PYSPARK_VERSION.tar.gz
       cp spark-$SPARK_VERSION-bin-$NAME/python/dist/$PYTHON_CLIENT_DIST_NAME .
 
       echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --armour \


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org