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

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

commit ff7a7710b71117359a80134c040b77041eaddfb1
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
    
    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`.
    
    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
    
    No.
    
    Manual review.
    
    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 287e65400861..81b5289fb7e3 100644
--- a/python/docs/source/getting_started/install.rst
+++ b/python/docs/source/getting_started/install.rst
@@ -155,7 +155,7 @@ Dependencies
 ========================== ========================= 
======================================================================================
 Package                    Supported version Note
 ========================== ========================= 
======================================================================================
-`py4j`                     >=0.10.9.7                Required
+`py4j`                     >=0.10.9.7,<0.10.9.10     Required
 `pandas`                   >=1.0.5                   Required for pandas API 
on Spark and Spark Connect; Optional for Spark SQL
 `pyarrow`                  >=4.0.0,<13.0.0           Required for pandas API 
on Spark and Spark Connect; Optional for Spark SQL
 `numpy`                    >=1.15                    Required for pandas API 
on Spark and MLLib DataFrame-based API; Optional for Spark SQL


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

Reply via email to