Skip to content

Commit 96d4eac

Browse files
authored
[pyspark] Add support for Spark Connect ML (#11970)
- Support Spark Connect - Drop support for old Spark 3.x.
1 parent 2eaa90a commit 96d4eac

10 files changed

Lines changed: 321 additions & 358 deletions

File tree

dmlc-core

ops/conda_env/aarch64_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- llvmlite
2727
- loky>=3.5.1
2828
- pyarrow
29-
- pyspark>=3.4.0
29+
- pyspark>=4.0.0
3030
- cloudpickle
3131
- pip:
3232
- awscli

ops/conda_env/linux_cpu_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ dependencies:
3838
- protobuf
3939
- cloudpickle
4040
- modin
41-
- pyspark>=3.4.0
41+
- pyspark>=4.0.0

ops/conda_env/python_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ dependencies:
2020
- pytest
2121
- hypothesis
2222
- hatchling
23-
- pyspark>=3.4.0
23+
- pyspark>=4.0.0

python-package/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pandas = ["pandas>=1.2"]
4646
scikit-learn = ["scikit-learn"]
4747
dask = ["dask", "pandas", "distributed"]
4848
plotting = ["graphviz", "matplotlib"]
49-
pyspark = ["pyspark>=3.4", "scikit-learn", "cloudpickle"]
49+
pyspark = ["pyspark>=4.0", "scikit-learn", "cloudpickle"]
5050

5151
[tool.hatch.build.targets.wheel.hooks.custom]
5252

python-package/pyproject.toml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pandas = ["pandas>=1.2"]
4545
scikit-learn = ["scikit-learn"]
4646
dask = ["dask", "pandas", "distributed"]
4747
plotting = ["graphviz", "matplotlib"]
48-
pyspark = ["pyspark>=3.4", "scikit-learn", "cloudpickle"]
48+
pyspark = ["pyspark>=4.0", "scikit-learn", "cloudpickle"]
4949

5050
[tool.hatch.build.targets.wheel.hooks.custom]
5151

0 commit comments

Comments
 (0)