This is an automated email from the ASF dual-hosted git repository.
gaogaotiantian pushed a commit to branch branch-4.x
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.x by this push:
new 442d56d8ac3a [SPARK-58229][PYTHON] Make graphviz requirement to match
the documentation
442d56d8ac3a is described below
commit 442d56d8ac3ababebc5a477281fa71b0701b20ed
Author: Tian Gao <[email protected]>
AuthorDate: Tue Jul 21 11:54:06 2026 -0700
[SPARK-58229][PYTHON] Make graphviz requirement to match the documentation
### What changes were proposed in this pull request?
Use `graphviz>=0.20` instead of `graphviz==0.20.3`.
### Why are the changes needed?
In our
[documentation](https://spark.apache.org/docs/latest/api/python/getting_started/install.html#spark-connect)
we claim to support `graphviz>=0.20`, we should make the basic dependency
match that claim.
This will make it not conflict with our minimum CI test where it actually
tests against the minimum supported version `0.20.0`.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #57386 from gaogaotiantian/change-graphviz-dep.
Authored-by: Tian Gao <[email protected]>
Signed-off-by: Tian Gao <[email protected]>
(cherry picked from commit c57c13391e240e0c5286fbcea88d45f01e32aba9)
Signed-off-by: Tian Gao <[email protected]>
---
dev/requirements.txt | 2 +-
pyproject.toml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/requirements.txt b/dev/requirements.txt
index 9ea67609025c..a5ac9f06a668 100644
--- a/dev/requirements.txt
+++ b/dev/requirements.txt
@@ -68,7 +68,7 @@ googleapis-common-protos-stubs==2.2.0
grpc-stubs==1.24.11
# Debug for Spark and Spark Connect
-graphviz==0.20.3
+graphviz>=0.20
flameprof==0.4
viztracer
debugpy
diff --git a/pyproject.toml b/pyproject.toml
index bb176f26e32e..b8340aad0f14 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -88,7 +88,7 @@ connect = [
"grpcio-status>=1.76.0",
"googleapis-common-protos>=1.71.0",
"zstandard>=0.25.0",
- "graphviz==0.20.3",
+ "graphviz>=0.20",
]
sql = [
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]