From 018ae0ed95a5ff1cdb787fccf2c7e957580ab968 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 25 Aug 2020 15:45:59 +0200 Subject: [PATCH] The PIP version is not pinned to 19.0.2 any more (#10542) Fixes #10516 --- Dockerfile | 10 ---------- Dockerfile.ci | 7 ------- IMAGES.rst | 4 ---- 3 files changed, 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14c3e674bb8c0..7fc4815db5e5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,6 @@ ARG AIRFLOW_HOME=/opt/airflow ARG AIRFLOW_UID="50000" ARG AIRFLOW_GID="50000" -ARG PIP_VERSION="19.0.2" ARG CASS_DRIVER_BUILD_CONCURRENCY="8" ARG PYTHON_BASE_IMAGE="python:3.6-slim-buster" @@ -146,11 +145,6 @@ RUN KEY="A4A9406876FCBD3C456770C88C718D3B5072E1F5" \ && apt-get autoremove -yqq --purge \ && apt-get clean && rm -rf /var/lib/apt/lists/* -ARG PIP_VERSION -ENV PIP_VERSION=${PIP_VERSION} - -RUN pip install --upgrade pip==${PIP_VERSION} - ARG AIRFLOW_REPO=apache/airflow ENV AIRFLOW_REPO=${AIRFLOW_REPO} @@ -328,10 +322,6 @@ RUN KEY="A4A9406876FCBD3C456770C88C718D3B5072E1F5" \ && apt-get autoremove -yqq --purge \ && apt-get clean && rm -rf /var/lib/apt/lists/* -ARG PIP_VERSION -ENV PIP_VERSION=${PIP_VERSION} -RUN pip install --upgrade pip==${PIP_VERSION} - ENV AIRFLOW_UID=${AIRFLOW_UID} ENV AIRFLOW_GID=${AIRFLOW_GID} diff --git a/Dockerfile.ci b/Dockerfile.ci index c421a0431e4d9..f886fedfe5f9b 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -166,13 +166,6 @@ ARG PIP_NO_CACHE_DIR="true" ENV PIP_NO_CACHE_DIR=${PIP_NO_CACHE_DIR} RUN echo "Pip no cache dir: ${PIP_NO_CACHE_DIR}" -# PIP version used to install dependencies -ARG PIP_VERSION="19.0.2" -ENV PIP_VERSION=${PIP_VERSION} -RUN echo "Pip version: ${PIP_VERSION}" - -RUN pip install --upgrade pip==${PIP_VERSION} - ARG HOME=/root ENV HOME=${HOME} diff --git a/IMAGES.rst b/IMAGES.rst index 435c3f0bae4f7..56eb2fade9c46 100644 --- a/IMAGES.rst +++ b/IMAGES.rst @@ -276,8 +276,6 @@ The following build arguments (``--build-arg`` in docker build command) can be u | ``PIP_NO_CACHE_DIR`` | ``true`` | if true, then no pip cache will be | | | | stored | +------------------------------------------+------------------------------------------+------------------------------------------+ -| ``PIP_VERSION`` | ``19.0.2`` | version of PIP to use | -+------------------------------------------+------------------------------------------+------------------------------------------+ | ``HOME`` | ``/root`` | Home directory of the root user (CI | | | | image has root user as default) | +------------------------------------------+------------------------------------------+------------------------------------------+ @@ -420,8 +418,6 @@ The following build arguments (``--build-arg`` in docker build command) can be u +------------------------------------------+------------------------------------------+------------------------------------------+ | ``AIRFLOW_USER_HOME_DIR`` | ``/home/airflow`` | Home directory of the Airflow user | +------------------------------------------+------------------------------------------+------------------------------------------+ -| ``PIP_VERSION`` | ``19.0.2`` | version of PIP to use | -+------------------------------------------+------------------------------------------+------------------------------------------+ | ``CASS_DRIVER_BUILD_CONCURRENCY`` | ``8`` | Number of processors to use for | | | | cassandra PIP install (speeds up | | | | installing in case cassandra extra is |