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

gurwls223 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 ab65f6941841 [SPARK-54015][PYTHON] Relax Py4J requirement to 
py4j>=0.10.9.7,<0.10.9.10
ab65f6941841 is described below

commit ab65f6941841482851de0a6d58bcc08e8f7924ab
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Fri Oct 24 07:48:24 2025 -0700

    [SPARK-54015][PYTHON] Relax Py4J requirement to py4j>=0.10.9.7,<0.10.9.10
    
    Py4J py4j>=0.10.9.7,<0.10.9.10 is JVM compatible so we can actually use 
older versions as well (I released those Py4J versions). To make it easier to 
migrate to higher versions of Spark, this PR proposes the range.
    
    To make it easier for legacy users to migrate to higher versions of Spark.
    
    Virtually no.
    
    Manually.
    
    No.
    
    Closes #52721 from HyukjinKwon/SPARK-54015.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 python/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/setup.py b/python/setup.py
index ddd961d0412b..16ae358caec6 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -305,7 +305,7 @@ try:
         license="http://www.apache.org/licenses/LICENSE-2.0";,
         # Don't forget to update python/docs/source/getting_started/install.rst
         # if you're updating the versions or dependencies.
-        install_requires=["py4j==0.10.9.7"],
+        install_requires=["py4j>=0.10.9.7,<0.10.9.10"],
         extras_require={
             "ml": ["numpy>=1.15,<2"],
             "mllib": ["numpy>=1.15,<2"],


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

Reply via email to