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

dongjoon-hyun 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 e1592b4d4719 [SPARK-58033][PYTHON][DOC] Fix `py4j` version requirement 
in PySpark installation guide
e1592b4d4719 is described below

commit e1592b4d4719160d355e6f7a6b9d0489c77131ce
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Jul 8 09:07:08 2026 -0700

    [SPARK-58033][PYTHON][DOC] Fix `py4j` version requirement in PySpark 
installation guide
    
    ### What changes were proposed in this pull request?
    
    Fix the `py4j` version requirement in the PySpark installation guide from 
`>=0.10.9.9` to `>=0.10.9.7,<0.10.9.10`, matching 
`python/packaging/classic/setup.py`.
    
    ### Why are the changes needed?
    
    SPARK-54015 relaxed the requirement in `setup.py` at Apache Spark 4.1.0, 
4.0.2, and 3.5.8 but left the doc stale.
    - https://github.com/apache/spark/pull/52721
    
    
https://github.com/apache/spark/blob/155adf7047bf7c0014cf35cef0c454d671287af7/python/packaging/classic/setup.py#L360
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Fable 5
    
    Closes #57116 from dongjoon-hyun/dongjoon/upbeat-curran-8efaf1.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 7e8d59458943263ffd96474933afb8097af97bd9)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 python/docs/source/getting_started/install.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/docs/source/getting_started/install.rst 
b/python/docs/source/getting_started/install.rst
index aa75d83b7553..abaf4c36627d 100644
--- a/python/docs/source/getting_started/install.rst
+++ b/python/docs/source/getting_started/install.rst
@@ -192,7 +192,7 @@ PySpark requires the following dependencies.
 ========================== ========================= 
=============================
 Package                    Supported version         Note
 ========================== ========================= 
=============================
-`py4j`                     >=0.10.9.9                Required to interact with 
JVM
+`py4j`                     >=0.10.9.7,<0.10.9.10     Required to interact with 
JVM
 ========================== ========================= 
=============================
 
 Additional libraries that enhance functionality but are not included in the 
installation packages:


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

Reply via email to