-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-47481][INFRA][3.4] Pin matplotlib<3.3.0 to fix Python linter failure
#45608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-47481][INFRA][3.4] Pin matplotlib<3.3.0 to fix Python linter failure
#45608
Conversation
|
@dongjoon-hyun Although there are still I am still continuing to research this issue. |
matplotlib<3.3.0
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you, @panbingkun , of course.
matplotlib<3.3.0 to fix Python linter failure
… failure ### What changes were proposed in this pull request? The pr aims to fix `python linter issue` on branch-3.4 through pinning `matplotlib<3.3.0` ### Why are the changes needed? - Through this PR #45600, we found that the version of `matplotlib` in our Docker image was `3.8.2`, which clearly did not meet the original requirements for `branch-3.4`. https://github.com/panbingkun/spark/actions/runs/8354370179/job/22869580038 <img width="1072" alt="image" src="https://github.com/apache/spark/assets/15246973/dd425bfb-ce5f-4a99-a487-a462d6ebbbb9"> https://github.com/apache/spark/blob/branch-3.4/dev/requirements.txt#L12 <img width="973" alt="image" src="https://github.com/apache/spark/assets/15246973/70485648-b886-4218-bb21-c41a85d5eecf"> - Fix as follows: <img width="989" alt="image" src="https://github.com/apache/spark/assets/15246973/db31d8fb-0b6c-4925-95e1-0ca0247bb9f5"> ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #45608 from panbingkun/branch_3.4_pin_matplotlib. Authored-by: panbingkun <panbingkun@baidu.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
|
Merged to branch-3.4. |
What changes were proposed in this pull request?
The pr aims to fix
python linter issueon branch-3.4 through pinningmatplotlib<3.3.0Why are the changes needed?
Through this PR [Don't Review] Only for list python packages for branch-3.4 #45600, we found that the version of


matplotlibin our Docker image was3.8.2, which clearly did not meet the original requirements forbranch-3.4.https://github.com/panbingkun/spark/actions/runs/8354370179/job/22869580038
https://github.com/apache/spark/blob/branch-3.4/dev/requirements.txt#L12
Fix as follows:
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.