[SPARK-57218][PYTHON] Pin pandas and pandas stub version for lint image#56289
Closed
gaogaotiantian wants to merge 1 commit into
Closed
[SPARK-57218][PYTHON] Pin pandas and pandas stub version for lint image#56289gaogaotiantian wants to merge 1 commit into
gaogaotiantian wants to merge 1 commit into
Conversation
HyukjinKwon
approved these changes
Jun 3, 2026
gaogaotiantian
added a commit
that referenced
this pull request
Jun 3, 2026
### What changes were proposed in this pull request? Pin pandas and pandas-stub image for lint image. ### Why are the changes needed? CI is failing, but we don't support pandas 3 now. We pin pandas version on our docker image to match the dev env. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? mypy passed locally. Pending CI. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #56289 from gaogaotiantian/pin-pandas-version-lint. Authored-by: Tian Gao <gaogaotiantian@hotmail.com> Signed-off-by: Tian Gao <gaogaotiantian@hotmail.com> (cherry picked from commit af55029) Signed-off-by: Tian Gao <gaogaotiantian@hotmail.com>
gaogaotiantian
added a commit
that referenced
this pull request
Jun 3, 2026
### What changes were proposed in this pull request? Pin pandas and pandas-stub image for lint image. ### Why are the changes needed? CI is failing, but we don't support pandas 3 now. We pin pandas version on our docker image to match the dev env. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? mypy passed locally. Pending CI. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #56289 from gaogaotiantian/pin-pandas-version-lint. Authored-by: Tian Gao <gaogaotiantian@hotmail.com> Signed-off-by: Tian Gao <gaogaotiantian@hotmail.com> (cherry picked from commit af55029) Signed-off-by: Tian Gao <gaogaotiantian@hotmail.com>
Contributor
Author
|
Merged to master, branch-4.x, branch-4.2. (versions below 4.1 already has pinned stub). @LuciferYang and @sarutak I merged this fast to fix the blocking CI failure. Thank you for noticing this and your fix proposal. Let me know if you think we should do something different. |
Contributor
|
Thank you @gaogaotiantian , do we only need to pin these dependencies in lint image? |
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Pin pandas and pandas-stub image for lint image.
Why are the changes needed?
CI is failing, but we don't support pandas 3 now. We pin pandas version on our docker image to match the dev env.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
mypy passed locally. Pending CI.
Was this patch authored or co-authored using generative AI tooling?
No.