Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Upgrade the minimum version of numpy to 2.0.0

Why are the changes needed?

Numpy 1.22 was released at 1 Jan, 2022, 2.0.0 was relased at 16 Jun, 2024, and the latest version is 2.4.0

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

@zhengruifeng
Copy link
Contributor Author

thanks @LuciferYang
merged to master

@zhengruifeng zhengruifeng deleted the bump_numpy_mini branch December 25, 2025 10:48
@zhengruifeng
Copy link
Contributor Author

sorry, it causes CI failure https://github.com/apache/spark/actions/runs/20503854751/job/58915302019

 > [4/4] RUN python3.10 -m pip install --force numpy==2.0.0 pyarrow==15.0.0 pandas==2.2.0 six==1.16.0 scipy scikit-learn coverage unittest-xml-reporting grpcio==1.76.0 grpcio-status==1.76.0 googleapis-common-protos==1.71.0 zstandard==0.25.0 graphviz==0.20 protobuf &&     python3.10 -m pip cache purge:
2.659     pyarrow 15.0.0 depends on numpy<2 and >=1.16.6
2.659 

let me revert it for now and double check the dependencies

zhengruifeng added a commit that referenced this pull request Dec 25, 2025
…to 2.0.0"

revert #53603 since it cause CI failure

https://github.com/apache/spark/actions/runs/20503854751/job/58915302019

Closes #53611 from zhengruifeng/revert_np.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
@zhengruifeng
Copy link
Contributor Author

It seems we have to upgrade the minimum versions of pyarrow and pandas first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants