Skip to content

Apache DataFusion SQL Query Engine

ARROW-7217: [CI][Python] Use correct python version in Github Actions

Krisztián Szűcsdded50e07882
diff --git a/ci/conda_env_python.yml b/ci/conda_env_python.yml
index 423a638f2a..252215c35f 100644
--- a/ci/conda_env_python.yml
+++ b/ci/conda_env_python.yml
@@ -26,4 +26,3 @@ pytest-lazy-fixture
pytz
setuptools
setuptools_scm=3.2.0
-pickle5
diff --git a/ci/docker/conda-cpp.dockerfile b/ci/docker/conda-cpp.dockerfile
index e45eed8234..2f459d5d30 100644
--- a/ci/docker/conda-cpp.dockerfile
+++ b/ci/docker/conda-cpp.dockerfile
@@ -20,8 +20,6 @@ FROM ${arch}/ubuntu:18.04
# arch is unset after the FROM statement, so need to define it again
ARG arch=amd64
-ARG conda=latest
-ARG minio=latest
ARG prefix=/opt/conda
# install build essentials
@@ -37,8 +35,8 @@ ENV PATH=${prefix}/bin:$PATH \
COPY ci/scripts/install_conda.sh \
ci/scripts/install_minio.sh \
/arrow/ci/scripts/
-RUN /arrow/ci/scripts/install_conda.sh ${arch} linux ${minio} ${prefix} && \
- /arrow/ci/scripts/install_minio.sh ${arch} linux ${conda} ${prefix}
+RUN /arrow/ci/scripts/install_conda.sh ${arch} linux latest ${prefix} && \
+ /arrow/ci/scripts/install_minio.sh ${arch} linux latest ${prefix}
# install the required conda packages
COPY ci/conda_env_cpp.yml \
diff --git a/ci/docker/conda-integration.dockerfile b/ci/docker/conda-integration.dockerfile
index 0105d32fb2..8684e2bee2 100644
--- a/ci/docker/conda-integration.dockerfile
+++ b/ci/docker/conda-integration.dockerfile
@@ -17,8 +17,7 @@
ARG org
ARG arch=amd64
-ARG conda=latest
-FROM ${org}/${arch}-conda-${conda}-cpp:latest
+FROM ${org}/${arch}-conda-cpp:latest
ARG arch=amd64
ARG maven=3.5
diff --git a/ci/docker/conda-python-dask.dockerfile b/ci/docker/conda-python-dask.dockerfile
index 91d38c231f..1a0a1aa816 100644
--- a/ci/docker/conda-python-dask.dockerfile
+++ b/ci/docker/conda-python-dask.dockerfile
@@ -17,9 +17,8 @@
ARG org
ARG arch=amd64
-ARG conda=latest
ARG python=3.6
-FROM ${org}/${arch}-conda-${conda}-python-${python}:latest
+FROM ${org}/${arch}-conda-python-${python}:latest
ARG dask=latest
RUN if [ "${dask}" = "master" ]; then \
diff --git a/ci/docker/conda-python-hdfs.dockerfile b/ci/docker/conda-python-hdfs.dockerfile
index 3852724400..702c378ed0 100644
--- a/ci/docker/conda-python-hdfs.dockerfile
+++ b/ci/docker/conda-python-hdfs.dockerfile
@@ -17,9 +17,8 @@
ARG org
ARG arch=amd64
-ARG conda=latest
ARG python=3.6
-FROM ${org}/${arch}-conda-${conda}-python-${python}:latest
+FROM ${org}/${arch}-conda-python-${python}:latest
ARG jdk=8
ARG maven=3.5
diff --git a/ci/docker/conda-python-pandas.dockerfile b/ci/docker/conda-python-pandas.dockerfile
index 879315bbcf..9ce6448110 100644
--- a/ci/docker/conda-python-pandas.dockerfile
+++ b/ci/docker/conda-python-pandas.dockerfile
@@ -17,9 +17,8 @@
ARG org
ARG arch=amd64
-ARG conda=latest
ARG python=3.6
-FROM ${org}/${arch}-conda-${conda}-python-${python}:latest
+FROM ${org}/${arch}-conda-python-${python}:latest
ARG pandas=latest
RUN if [ "${pandas}" = "master" ]; then \
diff --git a/ci/docker/conda-python-spark.dockerfile b/ci/docker/conda-python-spark.dockerfile
index 4b56904e5f..ede6006e41 100644
--- a/ci/docker/conda-python-spark.dockerfile
+++ b/ci/docker/conda-python-spark.dockerfile
@@ -17,9 +17,8 @@
ARG org
ARG arch=amd64
-ARG conda=latest
ARG python=3.6
-FROM ${org}/${arch}-conda-${conda}-python-${python}:latest
+FROM ${org}/${arch}-conda-python-${python}:latest
ARG jdk=8
ARG maven=3.5
diff --git a/ci/docker/conda-python-turbodbc.dockerfile b/ci/docker/conda-python-turbodbc.dockerfile
index 99ede79394..cd45087d74 100644
--- a/ci/docker/conda-python-turbodbc.dockerfile
+++ b/ci/docker/conda-python-turbodbc.dockerfile
@@ -17,9 +17,8 @@
ARG org
ARG arch=amd64
-ARG conda=latest
ARG python=3.6
-FROM ${org}/${arch}-conda-${conda}-python-${python}:latest
+FROM ${org}/${arch}-conda-python-${python}:latest
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update -y -q && \
diff --git a/ci/docker/conda-python.dockerfile b/ci/docker/conda-python.dockerfile
index 03735fef72..79b44a65fc 100644
--- a/ci/docker/conda-python.dockerfile
+++ b/ci/docker/conda-python.dockerfile
@@ -17,15 +17,14 @@
ARG org
ARG arch
-ARG conda
-FROM ${org}/${arch}-conda-${conda}-cpp:latest
+FROM ${org}/${arch}-conda-cpp:latest
# install python specific packages
ARG python=3.6
COPY ci/conda_env_python.yml /arrow/ci/
RUN conda install -q \
--file arrow/ci/conda_env_python.yml \
- python=$PYTHON_VERSION \
+ python=${python} \
tensorflow \
nomkl && \
conda clean --all
diff --git a/ci/docker/conda-r.dockerfile b/ci/docker/conda-r.dockerfile
index 9b1987876a..7695cd82a3 100644
--- a/ci/docker/conda-r.dockerfile
+++ b/ci/docker/conda-r.dockerfile
@@ -17,8 +17,7 @@
ARG org
ARG arch
-ARG conda
-FROM ${org}/${arch}-conda-${conda}-cpp:latest
+FROM ${org}/${arch}-conda-cpp:latest
# install R specific packages
ARG r=3.6.1
diff --git a/docker-compose.yml b/docker-compose.yml
index 9739a28fd1..c6811b78b7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -71,7 +71,6 @@ services:
- ${ORG}/${ARCH}-conda-cpp:latest
args:
arch: ${ARCH}
- conda: latest
prefix: /opt/conda
shm_size: &shm-size 2G
volumes: &conda-volumes
@@ -285,7 +284,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
python: ${PYTHON}
shm_size: *shm-size
volumes: *conda-volumes
@@ -424,7 +422,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
python: ${PYTHON}
pandas: ${PANDAS}
shm_size: *shm-size
@@ -451,7 +448,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
python: ${PYTHON}
dask: ${DASK}
shm_size: *shm-size
@@ -481,7 +477,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
python: ${PYTHON}
turbodbc: ${TURBODBC}
shm_size: *shm-size
@@ -544,7 +539,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
r: ${R}
shm_size: *shm-size
volumes: *conda-volumes
@@ -753,7 +747,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
jdk: ${JDK}
# conda-forge doesn't have 3.5.4 so pinning explicitly, but this should
# be set to ${MAVEN}
@@ -913,7 +906,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
python: ${PYTHON}
jdk: ${JDK}
# conda-forge doesn't have 3.5.4 so pinning explicitly, but this should
@@ -952,7 +944,6 @@ services:
args:
org: ${ORG}
arch: ${ARCH}
- conda: latest
python: ${PYTHON}
jdk: ${JDK}
# conda-forge doesn't have 3.5.4 so pinning explicitly, but this should