Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 Upgrading pip version #3957

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ push-version: tag-version
python3 -m venv $@
## upgrading tools to latest version in $(shell python3 --version)
$@/bin/pip3 --quiet install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools
@$@/bin/pip3 list --verbose
Expand Down
2 changes: 1 addition & 1 deletion ci/helpers/ensure_python_pip.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -o pipefail # don't hide errors within pipes
IFS=$'\n\t'

# Pin pip version to a compatible release https://www.python.org/dev/peps/pep-0440/#compatible-release
PIP_VERSION=22.0
PIP_VERSION=23.0

echo "INFO:" "$(python --version)" "@" "$(command -v python)"

Expand Down
2 changes: 1 addition & 1 deletion packages/postgres-database/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion packages/postgres-database/scripts/erd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update \


RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion packages/service-integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip install --no-cache-dir --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion requirements/tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apt-get update \

# SEE bug with pip==22.1 https://github.com/jazzband/pip-tools/issues/1617
RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion scripts/erd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update \


RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion scripts/openapi/oas_resolver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /src

# update pip
RUN pip install --no-cache-dir --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion scripts/pydeps-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN mkdir -p ${HOME_DIR}
COPY .pydeps ${HOME_DIR}/.pydeps

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/api-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip install --no-cache-dir --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/autoscaling/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ RUN python -m venv "${VIRTUAL_ENV}"

RUN --mount=type=cache,mode=0777,target=/root/.cache/pip \
pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/catalog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip install --no-cache-dir --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/dask-sidecar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ RUN --mount=type=cache,id=basecache,target=/var/cache/apt,mode=0755,sharing=loc
RUN python -m venv "${VIRTUAL_ENV}"
RUN --mount=type=cache,mode=0777,target=/root/.cache/pip \
pip install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/datcore-adapter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/director-v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/dynamic-sidecar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RUN python -m venv "${VIRTUAL_ENV}" \

RUN --mount=type=cache,mode=0777,target=/root/.cache/pip \
pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/invitations/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/migration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/storage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down
2 changes: 1 addition & 1 deletion services/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ RUN apt-get update \
RUN python -m venv "${VIRTUAL_ENV}"

RUN pip --no-cache-dir install --upgrade \
pip~=22.0 \
pip~=23.0 \
wheel \
setuptools

Expand Down