Skip to content

Commit 5afeb87

Browse files
authored
Merge pull request #656 from Kaggle/remove-pyarrow-pin
Remove pins for pandas, pyarrow & pytext-nlp
2 parents 80ec719 + 6b33012 commit 5afeb87

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

+5-7
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,9 @@ RUN pip install bcolz && \
393393
pip install notebook==5.5.0 && \
394394
pip install olefile && \
395395
pip install opencv-python && \
396-
# b/124184516: tsfresh is not yet compatible with pandas 0.24.0
397-
pip install pandas==0.23.4 && \
396+
# tsfresh doesn't work with pandas 0.24, requires >= 0.25: https://github.com/blue-yonder/tsfresh/blob/0ef9123d68e3544ef0217caf83f63f93ad837a61/requirements.txt#L3
397+
# b/145358669 remove --upgrade once we upgrade base image which will include pandas >= 0.25
398+
pip install --upgrade pandas && \
398399
pip install pandas_summary && \
399400
pip install pandocfilters && \
400401
pip install pexpect && \
@@ -419,9 +420,7 @@ RUN pip install bcolz && \
419420
pip install wcwidth && \
420421
pip install webencodings && \
421422
pip install widgetsnbextension && \
422-
# Latest version of pyarrow conflicts with pandas
423-
# https://github.com/pandas-dev/pandas/issues/23053
424-
pip install pyarrow==0.10.0 && \
423+
pip install pyarrow && \
425424
pip install feather-format && \
426425
pip install fastai && \
427426
pip install torchtext && \
@@ -472,8 +471,7 @@ RUN pip install flashtext && \
472471
pip install ggplot && \
473472
pip install cesium && \
474473
pip install rgf_python && \
475-
# b/124184516: latest version forces the use of incompatible pandas>0.24
476-
pip install pytext-nlp==0.1.2 && \
474+
pip install pytext-nlp && \
477475
pip install tsfresh && \
478476
pip install pymagnitude && \
479477
pip install pykalman && \

0 commit comments

Comments
 (0)