dongjoon-hyun commented on code in PR #57093:
URL: https://github.com/apache/spark/pull/57093#discussion_r3540535629
##########
pyproject.toml:
##########
@@ -68,3 +68,137 @@ line-length = 100
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = 'cloudpickle|error_classes.py'
+
+[dependency-groups]
+_py4j = ["py4j>=0.10.9.9"]
+
+_numpy = ["numpy>=1.23.2"]
+_pandas = ["pandas>=2.2.0,<3.0.0"]
+_protobuf = ["protobuf==6.33.5"]
+_pyarrow = ["pyarrow>=18.0.0"]
+
+_pyspark_devtool = [
+ # Optional tools that are used by pyspark directly.
+ "memory-profiler>=0.61.0",
+ "flameprof==0.4",
+ "psutil",
+ "pystack>=1.6.0; sys_platform=='linux'",
+]
+
+connect = [
+ {include-group = "_py4j"},
+ {include-group = "_pandas"},
+ {include-group = "_protobuf"},
+ {include-group = "_pyarrow"},
+ "grpcio>=1.76.0",
+ "grpcio-status>=1.76.0",
+ "googleapis-common-protos>=1.71.0",
+ "zstandard>=0.25.0",
+ "graphviz>=0.20",
Review Comment:
Ditto. If you want to change this, we should do it independently and
consistently.
https://github.com/apache/spark/blob/6b9d033cd415a9492731d64440ef1e122ae5e97d/dev/requirements.txt#L74
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]