Skip to content

Commit af55029

Browse files
[SPARK-57218][PYTHON] Pin pandas and pandas stub version for lint image
### 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>
1 parent 576070a commit af55029

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dev/spark-test-image/lint/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ RUN python3.12 -m pip install \
9595
'mypy==1.19.1' \
9696
'numpy==2.4.1' \
9797
'numpydoc' \
98-
'pandas' \
99-
'pandas-stubs' \
98+
'pandas==2.3.3' \
99+
'pandas-stubs==2.3.3.260113' \
100100
'plotly>=4.8' \
101101
'pyarrow>=23.0.0' \
102102
'pytest-mypy-plugins==1.9.3' \

0 commit comments

Comments
 (0)