Require Python 3.6+; drop Python 3.5 from CI (#5715)

This commit is contained in:
Philip Hyunsu Cho
2020-05-27 16:19:30 -07:00
committed by GitHub
parent fdbb6ae856
commit 91c646392d
5 changed files with 2 additions and 22 deletions

View File

@@ -19,12 +19,6 @@ ENV PATH=/opt/python/bin:$PATH
ENV GOSU_VERSION 1.10
# Create new Conda environment with Python 3.5
RUN conda create -n py35 python=3.5 && \
source activate py35 && \
pip install numpy pytest scipy scikit-learn pandas matplotlib wheel kubernetes urllib3 graphviz && \
source deactivate
# Install Python packages in default env
RUN \
pip install pyyaml cpplint pylint astroid sphinx numpy scipy pandas matplotlib sh \

View File

@@ -65,14 +65,8 @@ case "$suite" in
./runtests.sh
;;
cpu-py35)
source activate py35
install_xgboost
pytest -v -s --fulltrace tests/python
;;
*)
echo "Usage: $0 {gpu|mgpu|cudf|cpu|cpu-py35}"
echo "Usage: $0 {gpu|mgpu|cudf|cpu}"
exit 1
;;
esac