Skip to content

Commit 0830575

Browse files
YikunHyukjinKwon
authored andcommitted
[SPARK-40356][INFRA][PS] Upgrade pandas to 1.4.4 (infra and docs)
### What changes were proposed in this pull request? Upgrade pandas to 1.4.4 in infra and doc gen ### Why are the changes needed? https://pandas.pydata.org/docs/whatsnew/v1.4.4.html Especially, fix bugs which mentioned in #36353: - Fixed regression in DataFrame.fillna() not working on a DataFrame with a MultiIndex (GH47649) - Fixed regression in DataFrame.eval() creating a copy when updating inplace (GH47449) ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Closes #37810 from Yikun/pandas-1.4.4. Authored-by: Yikun Jiang <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 871152b commit 0830575

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/infra/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN $APT_INSTALL software-properties-common git libxml2-dev pkg-config curl wget
3232
RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
3333

3434
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9
35-
RUN python3.9 -m pip install numpy pyarrow 'pandas<=1.4.3' scipy unittest-xml-reporting plotly>=4.8 sklearn 'mlflow>=1.0' coverage matplotlib
35+
RUN python3.9 -m pip install numpy pyarrow 'pandas<=1.4.4' scipy unittest-xml-reporting plotly>=4.8 sklearn 'mlflow>=1.0' coverage matplotlib
3636

3737
RUN add-apt-repository ppa:pypy/ppa
3838
RUN apt update
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/local/pypy/pypy3.7 && \
4545
ln -sf /usr/local/pypy/pypy3.7/bin/pypy /usr/local/bin/pypy3
4646

4747
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | pypy3
48-
RUN pypy3 -m pip install numpy 'pandas<=1.4.3' scipy coverage matplotlib
48+
RUN pypy3 -m pip install numpy 'pandas<=1.4.4' scipy coverage matplotlib
4949

5050
RUN $APT_INSTALL gnupg ca-certificates pandoc
5151
RUN echo 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/' >> /etc/apt/sources.list

python/pyspark/pandas/supported_api_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def generate_supported_api(output_rst_file_path: str) -> None:
9898
9999
Write supported APIs documentation.
100100
"""
101-
pandas_latest_version = "1.4.3"
101+
pandas_latest_version = "1.4.4"
102102
if LooseVersion(pd.__version__) != LooseVersion(pandas_latest_version):
103103
msg = (
104104
"Warning: Latest version of pandas (%s) is required to generate the documentation; "

0 commit comments

Comments
 (0)