Skip to content

[SPARK-52844][PYTHON] Update numpy to 1.22#51990

Closed
eschcam wants to merge 2 commits intoapache:masterfrom
Nordix:py-nump-update
Closed

[SPARK-52844][PYTHON] Update numpy to 1.22#51990
eschcam wants to merge 2 commits intoapache:masterfrom
Nordix:py-nump-update

Conversation

@eschcam
Copy link
Copy Markdown
Contributor

@eschcam eschcam commented Aug 12, 2025

What changes were proposed in this pull request?

Update numpy from 1.21 to 1.22

Why are the changes needed?

Numpy 1.21 contains CVE-2021-34141. Version 1.22 removes it

Does this PR introduce any user-facing change?

No

How was this patch tested?

Passed all CI tests

Was this patch authored or co-authored using generative AI tooling?

No

Copy link
Copy Markdown
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we fix the docs too? at python/docs/source/getting_started/install.rst and python/pyspark/sql/pandas/utils.py

Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM because NumPy 1.22 was also released on Dec 31, 2021.

@dongjoon-hyun
Copy link
Copy Markdown
Member

Merged to master for Apache Spark 4.1.0. Thank you, @eschcam and @HyukjinKwon .

@eschcam eschcam deleted the py-nump-update branch August 13, 2025 15:38
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.

3 participants