Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 39 additions & 39 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ ignore = [
"python/pyspark/sql/tests/df_golden/scripts/**/*.py" = ["F821"]

[dependency-groups]
_py4j = ["py4j>=0.10.9.9"]
internal_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"]
internal_numpy = ["numpy>=1.23.2"]
internal_pandas = ["pandas>=2.2.0,<3.0.0"]
internal_protobuf = ["protobuf==6.33.5"]
internal_pyarrow = ["pyarrow>=18.0.0"]

_pyspark_devtool = [
internal_pyspark_devtool = [
# Optional tools that are used by pyspark directly.
"memory-profiler>=0.61.0",
"flameprof==0.4",
Expand All @@ -80,10 +80,10 @@ _pyspark_devtool = [
]

connect = [
{include-group = "_py4j"},
{include-group = "_pandas"},
{include-group = "_protobuf"},
{include-group = "_pyarrow"},
{include-group = "internal_py4j"},
{include-group = "internal_pandas"},
{include-group = "internal_protobuf"},
{include-group = "internal_pyarrow"},
"grpcio>=1.76.0",
"grpcio-status>=1.76.0",
"googleapis-common-protos>=1.71.0",
Expand All @@ -92,15 +92,15 @@ connect = [
]

sql = [
{include-group = "_py4j"},
{include-group = "_pandas"},
{include-group = "_pyarrow"},
{include-group = "internal_py4j"},
{include-group = "internal_pandas"},
{include-group = "internal_pyarrow"},
]

pandas_on_spark = [
{include-group = "_py4j"},
{include-group = "_pandas"},
{include-group = "_pyarrow"},
{include-group = "internal_py4j"},
{include-group = "internal_pandas"},
{include-group = "internal_pyarrow"},
]

pandas_on_spark_extra = [
Expand All @@ -111,13 +111,13 @@ pandas_on_spark_extra = [
]

ml = [
{include-group = "_py4j"},
{include-group = "_numpy"},
{include-group = "internal_py4j"},
{include-group = "internal_numpy"},
]

mllib = [
{include-group = "_py4j"},
{include-group = "_numpy"},
{include-group = "internal_py4j"},
{include-group = "internal_numpy"},
]

ml_extra_base = [
Expand Down Expand Up @@ -145,7 +145,7 @@ pipelines = [
"pyyaml>=3.11",
]

_lint = [
internal_lint = [
"ruff==0.14.8",
"mypy==1.19.1",
"pytest",
Expand All @@ -159,7 +159,7 @@ _lint = [
"types-PyYAML"
]

_test = [
internal_test = [
# Dependency for running tests
"unittest-xml-reporting",
# Coverage tool
Expand All @@ -175,7 +175,7 @@ _test = [
"hypothesis>=6,<7",
]

_docs = [
internal_docs = [
"sphinx==8.2.3",
"sphinx-plotly-directive",
"sphinx-copybutton",
Expand All @@ -188,7 +188,7 @@ _docs = [
"mkdocs",
]

_devtools = [
internal_devtools = [
# Devtools that are used by pyspark developers.
"debugpy",
"viztracer",
Expand All @@ -198,11 +198,11 @@ _devtools = [
]

dev = [
{include-group = "_pyspark_devtool"},
{include-group = "_lint"},
{include-group = "_test"},
{include-group = "_docs"},
{include-group = "_devtools"},
{include-group = "internal_pyspark_devtool"},
{include-group = "internal_lint"},
{include-group = "internal_test"},
{include-group = "internal_docs"},
{include-group = "internal_devtools"},
{include-group = "sql"},
{include-group = "connect"},
{include-group = "ml"},
Expand All @@ -213,7 +213,7 @@ dev = [
{include-group = "pipelines"},
]

_ci_connect = [
internal_ci_connect = [
{include-group = "connect"},
"grpcio==1.76.0",
"grpcio-status==1.76.0",
Expand All @@ -223,24 +223,24 @@ _ci_connect = [
]

ci_connect_standard = [
{include-group = "_ci_connect"},
{include-group = "internal_ci_connect"},
"graphviz==0.20.3",
]

ci_connect_minimum = [
{include-group = "_ci_connect"},
{include-group = "internal_ci_connect"},
"graphviz==0.20",
]

ci_classic_standard = [
{include-group = "_pyspark_devtool"},
{include-group = "internal_pyspark_devtool"},
{include-group = "sql"},
{include-group = "pandas_on_spark"},
{include-group = "pandas_on_spark_extra"},
{include-group = "ml"},
# torch should be installed with ml_torch group
{include-group = "ml_extra_base"},
{include-group = "_test"},
{include-group = "internal_test"},
"pyarrow>=23.0.0",
"pandas==2.3.3",
]
Expand All @@ -260,20 +260,20 @@ ci_classic_minimum = [
]

ci_lint = [
{include-group = "_lint"},
{include-group = "internal_lint"},
{include-group = "ml_extra_base"},
{include-group = "pandas_on_spark_extra"},
{include-group = "_ci_connect"},
{include-group = "internal_ci_connect"},
"pyarrow>=23.0.0",
"pandas==2.3.3",
"pandas-stubs==2.3.3.260113",
"ipython"
]

ci_docs = [
{include-group = "_docs"},
{include-group = "_ci_connect"},
{include-group = "_numpy"},
{include-group = "internal_docs"},
{include-group = "internal_ci_connect"},
{include-group = "internal_numpy"},
# These are required for sphinx to introspect the code
"pyarrow>=23.0.0",
"pandas==2.3.3",
Expand Down