This is an automated email from the ASF dual-hosted git repository.

szehon-ho pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new a7223c5b26a7 [SPARK-48710][3.5][PYTHON][DOC][FOLLOWUP] Document the 
NumPy upper bound in the installation guide
a7223c5b26a7 is described below

commit a7223c5b26a7935bd3c7f106f7d3b2f26da520f7
Author: Hua Shi <[email protected]>
AuthorDate: Tue Nov 10 11:59:23 2026 -0800

    [SPARK-48710][3.5][PYTHON][DOC][FOLLOWUP] Document the NumPy upper bound in 
the installation guide
    
    ### What changes were proposed in this pull request?
    
    Update the `numpy` row of the dependency table in 
`python/docs/source/getting_started/install.rst` from `>=1.15` to `>=1.15,<2`.
    
    ### Why are the changes needed?
    
    
[`python/setup.py`](https://github.com/apache/spark/blob/branch-3.5/python/setup.py#L316-L337)
 already requires `numpy>=1.15,<2` since SPARK-48710 (#47175), but the 
installation guide still lists `numpy >=1.15`. This makes the guide consistent 
with `setup.py`.
    
    ### Does this PR introduce _any_ user-facing change?
    
    Yes, documentation only.
    
    ### How was this patch tested?
    
    Parsed the dependency table with docutils and confirmed the `numpy` row 
renders as `>=1.15,<2`. The documentation build in CI covers the full Sphinx 
build.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Opus 5.5
    
    Closes #59973 from huashi-st/SPARK-48710-followup-numpy-doc.
    
    Authored-by: Hua Shi <[email protected]>
    Signed-off-by: Szehon Ho <[email protected]>
---
 python/docs/source/getting_started/install.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/docs/source/getting_started/install.rst 
b/python/docs/source/getting_started/install.rst
index 81b5289fb7e3..1ae8df1417f6 100644
--- a/python/docs/source/getting_started/install.rst
+++ b/python/docs/source/getting_started/install.rst
@@ -158,7 +158,7 @@ Package                    Supported version Note
 `py4j`                     >=0.10.9.7,<0.10.9.10     Required
 `pandas`                   >=1.0.5                   Required for pandas API 
on Spark and Spark Connect; Optional for Spark SQL
 `pyarrow`                  >=4.0.0,<13.0.0           Required for pandas API 
on Spark and Spark Connect; Optional for Spark SQL
-`numpy`                    >=1.15                    Required for pandas API 
on Spark and MLLib DataFrame-based API; Optional for Spark SQL
+`numpy`                    >=1.15,<2                 Required for pandas API 
on Spark and MLLib DataFrame-based API; Optional for Spark SQL
 `grpcio`                   >=1.48,<1.57              Required for Spark Connect
 `grpcio-status`            >=1.48,<1.57              Required for Spark Connect
 `googleapis-common-protos` ==1.56.4                  Required for Spark Connect


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to