This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 2b3eae0281a4 [MINOR][PYTHON] Add `scipy-stubs` to dev/requirements.txt
2b3eae0281a4 is described below
commit 2b3eae0281a402c42325a4e0f602625e0f1a7977
Author: Joren Hammudoglu <[email protected]>
AuthorDate: Fri Jul 4 09:28:55 2025 +0900
[MINOR][PYTHON] Add `scipy-stubs` to dev/requirements.txt
### What changes were proposed in this pull request?
This adds [scipy-stubs](https://github.com/scipy/scipy-stubs) to the list
of optional Python requirements.
### Why are the changes needed?
For the same reason as pandas-stubs is already an optional requirement: To
improve static typing support and IDE features (autocompletion, inline
documentation, etc).
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No need; there's no runtime impact :)
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #51366 from jorenham/scipy-stubs.
Authored-by: Joren Hammudoglu <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
dev/requirements.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/requirements.txt b/dev/requirements.txt
index dbc517688ced..9ad445612d46 100644
--- a/dev/requirements.txt
+++ b/dev/requirements.txt
@@ -27,6 +27,7 @@ pytest-mypy-plugins==1.9.3
flake8==3.9.0
# See SPARK-38680.
pandas-stubs<1.2.0.54
+scipy-stubs; python_version>='3.10'
types-PyYAML
# Documentation (SQL)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]