This is an automated email from the ASF dual-hosted git repository.
dongjoon 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 c9db27934bbb [SPARK-54015][PYTHON] Relax Py4J requirement to
py4j>=0.10.9.7,<0.10.9.10
c9db27934bbb is described below
commit c9db27934bbb7fa3eb081325509943250bea7454
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
### What changes were proposed in this pull request?
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.
### Why are the changes needed?
To make it easier for legacy users to migrate to higher versions of Spark.
### Does this PR introduce _any_ user-facing change?
Virtually no.
### How was this patch tested?
Manually.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52721 from HyukjinKwon/SPARK-54015.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
python/packaging/classic/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/packaging/classic/setup.py
b/python/packaging/classic/setup.py
index 6dbca924beb2..eac97af2e8c8 100755
--- a/python/packaging/classic/setup.py
+++ b/python/packaging/classic/setup.py
@@ -346,7 +346,7 @@ try:
license="Apache-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.9"],
+ install_requires=["py4j>=0.10.9.7,<0.10.9.10"],
extras_require={
"ml": ["numpy>=%s" % _minimum_numpy_version],
"mllib": ["numpy>=%s" % _minimum_numpy_version],
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]