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 3119a98b217b [SPARK-58340][PYTHON] Add missing package to
pyproject.toml for lint
3119a98b217b is described below
commit 3119a98b217b94a3872c340346baa6fd17884684
Author: Tian Gao <[email protected]>
AuthorDate: Mon Jul 27 11:53:19 2026 -0700
[SPARK-58340][PYTHON] Add missing package to pyproject.toml for lint
### What changes were proposed in this pull request?
Add `pytest` and `types-protobuf` to `pyproject.toml`.
### Why are the changes needed?
These two packages are used in lint CI. They are also needed if you want to
run the full `lint-python` script. We should just put it into `pyproject.toml`
to keep consistency.
### 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 #57515 from gaogaotiantian/add-required-package-to-lint.
Authored-by: Tian Gao <[email protected]>
Signed-off-by: Tian Gao <[email protected]>
(cherry picked from commit 5ce51a624421acceec378e0170da24a8fc2a96eb)
Signed-off-by: Tian Gao <[email protected]>
---
pyproject.toml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 01fdcfc63de1..8ef23247ceba 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -148,12 +148,14 @@ pipelines = [
_lint = [
"ruff==0.14.8",
"mypy==1.19.1",
+ "pytest",
"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-protobuf==6.32.1.20260221",
"types-PyYAML"
]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]