nchammas commented on code in PR #57093:
URL: https://github.com/apache/spark/pull/57093#discussion_r3579558971


##########
pyproject.toml:
##########
@@ -68,3 +68,133 @@ 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.3",
+]
+
+sql = [
+    {include-group = "_py4j"},
+    {include-group = "_pandas"},
+    {include-group = "_pyarrow"},
+]
+
+pandas_on_spark = [
+    {include-group = "_py4j"},
+    {include-group = "_pandas"},
+    {include-group = "_pyarrow"},
+]
+
+pandas_on_spark_extra = [
+    "plotly<6.0.0",
+    "matplotlib",
+    "mlflow>=2.3.1",
+]
+
+ml = [
+    {include-group = "_py4j"},
+    {include-group = "_numpy"},
+]
+
+mllib = [
+    {include-group = "_py4j"},
+    {include-group = "_numpy"},
+]
+
+ml_extra = [
+    "scipy>=1.8.0",
+    "scikit-learn",
+    "torch",
+    "torchvision",
+    "torcheval",
+    "deepspeed; sys_platform != 'darwin'",
+]
+
+pipelines = [
+    {include-group = "connect"},
+    "pyyaml>=3.11",
+]
+
+_lint = [
+    "ruff==0.14.8",
+    "mypy==1.19.1",
+    "pytest-mypy-plugins==3.2.0",
+    "mypy-protobuf==3.3.0",
+    "googleapis-common-protos-stubs==2.2.0",
+    "grpc-stubs==1.24.11",
+    "pandas-stubs>=2.2.0",
+    "scipy-stubs",
+    "types-PyYAML"
+]
+
+_test = [
+    # Dependency for running tests
+    "unittest-xml-reporting",
+    # 3rd party libraries that unittests use.
+    "openpyxl",
+    "tabulate",
+    "testcontainers[kafka]>=3.7.0",
+    "kafka-python-ng>=2.0.2",
+]
+
+_docs = [
+    "sphinx==8.2.3",
+    "sphinx-plotly-directive",
+    "sphinx-copybutton",
+    "docutils",
+    "markupsafe",
+    "pydata_sphinx_theme>=0.13",
+    "ipython",
+    "nbsphinx",
+    "numpydoc",
+    "jinja2",
+]

Review Comment:
   We need `mkdocs` here, no?
   
   
https://github.com/apache/spark/blob/0fea5ee6d6f43dfe252561d429cb1dd9e45935f7/dev/requirements.txt#L39-L40
   
   
https://github.com/apache/spark/blob/efd9ef99bd7930b7910dcfe77adba52e8c3b652c/sql/create-docs.sh#L20-L22



-- 
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]

Reply via email to