From 1a97db7a7a2357c85295ede8caa822c557adb86d Mon Sep 17 00:00:00 2001 From: Sylvain <35365065+sanderegg@users.noreply.github.com> Date: Fri, 28 Jun 2024 14:08:48 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8FMaintenance:=20upgrade=20uv?= =?UTF-8?q?=20to=200.2=20in=20Dockerfiles=20(#6008)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/postgres-database/docker/Dockerfile | 2 +- packages/service-integration/Dockerfile | 2 +- requirements/tools/Dockerfile | 2 +- scripts/mypy/Dockerfile | 2 +- services/agent/Dockerfile | 2 +- services/api-server/Dockerfile | 2 +- services/autoscaling/Dockerfile | 2 +- services/catalog/Dockerfile | 2 +- services/clusters-keeper/Dockerfile | 2 +- services/dask-sidecar/Dockerfile | 2 +- services/datcore-adapter/Dockerfile | 2 +- services/director-v2/Dockerfile | 2 +- services/dynamic-scheduler/Dockerfile | 2 +- services/dynamic-sidecar/Dockerfile | 2 +- services/efs-guardian/Dockerfile | 2 +- services/invitations/Dockerfile | 2 +- services/migration/Dockerfile | 2 +- services/osparc-gateway-server/Dockerfile | 2 +- services/payments/Dockerfile | 2 +- services/resource-usage-tracker/Dockerfile | 2 +- services/storage/Dockerfile | 2 +- services/web/Dockerfile | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/postgres-database/docker/Dockerfile b/packages/postgres-database/docker/Dockerfile index 9ef018fdc89..c310ad5c53f 100644 --- a/packages/postgres-database/docker/Dockerfile +++ b/packages/postgres-database/docker/Dockerfile @@ -24,7 +24,7 @@ RUN apt-get update \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed packages may be moved to production image easily by copying the venv RUN uv venv "${VIRTUAL_ENV}" diff --git a/packages/service-integration/Dockerfile b/packages/service-integration/Dockerfile index 0a45be3b4c4..7812c48b66c 100644 --- a/packages/service-integration/Dockerfile +++ b/packages/service-integration/Dockerfile @@ -57,7 +57,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/requirements/tools/Dockerfile b/requirements/tools/Dockerfile index 64669258193..8d01e09395c 100644 --- a/requirements/tools/Dockerfile +++ b/requirements/tools/Dockerfile @@ -26,7 +26,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 RUN uv venv "${VIRTUAL_ENV}" diff --git a/scripts/mypy/Dockerfile b/scripts/mypy/Dockerfile index 930ebf7110b..df2e8397f4f 100644 --- a/scripts/mypy/Dockerfile +++ b/scripts/mypy/Dockerfile @@ -16,7 +16,7 @@ ENV PATH="${VIRTUAL_ENV}/bin:$PATH" # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 RUN \ --mount=type=cache,mode=0755,target=/root/.cache/uv \ diff --git a/services/agent/Dockerfile b/services/agent/Dockerfile index 5d997b24cac..17a597cbdb9 100644 --- a/services/agent/Dockerfile +++ b/services/agent/Dockerfile @@ -75,7 +75,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/api-server/Dockerfile b/services/api-server/Dockerfile index 6468a4fb18a..ccc7b6f89c7 100644 --- a/services/api-server/Dockerfile +++ b/services/api-server/Dockerfile @@ -71,7 +71,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/autoscaling/Dockerfile b/services/autoscaling/Dockerfile index 903e27fdc28..719a7a697aa 100644 --- a/services/autoscaling/Dockerfile +++ b/services/autoscaling/Dockerfile @@ -91,7 +91,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/catalog/Dockerfile b/services/catalog/Dockerfile index ed5270c29b3..63c537aece1 100644 --- a/services/catalog/Dockerfile +++ b/services/catalog/Dockerfile @@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/clusters-keeper/Dockerfile b/services/clusters-keeper/Dockerfile index 8a9fbc27f53..13283e38aca 100644 --- a/services/clusters-keeper/Dockerfile +++ b/services/clusters-keeper/Dockerfile @@ -91,7 +91,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/dask-sidecar/Dockerfile b/services/dask-sidecar/Dockerfile index 3400eaa414e..335819505be 100644 --- a/services/dask-sidecar/Dockerfile +++ b/services/dask-sidecar/Dockerfile @@ -82,7 +82,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed packages may be moved to production image easily by copying the venv RUN uv venv "${VIRTUAL_ENV}" diff --git a/services/datcore-adapter/Dockerfile b/services/datcore-adapter/Dockerfile index f6c693651d0..40394e44d21 100644 --- a/services/datcore-adapter/Dockerfile +++ b/services/datcore-adapter/Dockerfile @@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/director-v2/Dockerfile b/services/director-v2/Dockerfile index 1b74d8031ef..f87fc623868 100644 --- a/services/director-v2/Dockerfile +++ b/services/director-v2/Dockerfile @@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/dynamic-scheduler/Dockerfile b/services/dynamic-scheduler/Dockerfile index f250232d1df..b0bc9e9846b 100644 --- a/services/dynamic-scheduler/Dockerfile +++ b/services/dynamic-scheduler/Dockerfile @@ -71,7 +71,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/dynamic-sidecar/Dockerfile b/services/dynamic-sidecar/Dockerfile index 0a6e223040f..2c2229fe4ad 100644 --- a/services/dynamic-sidecar/Dockerfile +++ b/services/dynamic-sidecar/Dockerfile @@ -102,7 +102,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/efs-guardian/Dockerfile b/services/efs-guardian/Dockerfile index 4ab1ab6e8fa..129abe9457a 100644 --- a/services/efs-guardian/Dockerfile +++ b/services/efs-guardian/Dockerfile @@ -91,7 +91,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/invitations/Dockerfile b/services/invitations/Dockerfile index 5e96ede97e0..d9673f0c1ae 100644 --- a/services/invitations/Dockerfile +++ b/services/invitations/Dockerfile @@ -71,7 +71,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/migration/Dockerfile b/services/migration/Dockerfile index c40a4fd1dff..05f0bb3ce19 100644 --- a/services/migration/Dockerfile +++ b/services/migration/Dockerfile @@ -45,7 +45,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed packages may be moved to production image easily by copying the venv RUN uv venv "${VIRTUAL_ENV}" diff --git a/services/osparc-gateway-server/Dockerfile b/services/osparc-gateway-server/Dockerfile index f5e9ff32d93..c80ccd9a5bf 100644 --- a/services/osparc-gateway-server/Dockerfile +++ b/services/osparc-gateway-server/Dockerfile @@ -74,7 +74,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed packages may be moved to production image easily by copying the venv RUN uv venv "${VIRTUAL_ENV}" diff --git a/services/payments/Dockerfile b/services/payments/Dockerfile index e4ba13fe8f0..c29f0ca9fe6 100644 --- a/services/payments/Dockerfile +++ b/services/payments/Dockerfile @@ -71,7 +71,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/resource-usage-tracker/Dockerfile b/services/resource-usage-tracker/Dockerfile index 459025da7f6..34d81cf8801 100644 --- a/services/resource-usage-tracker/Dockerfile +++ b/services/resource-usage-tracker/Dockerfile @@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/storage/Dockerfile b/services/storage/Dockerfile index b2e26143008..02974a9485b 100644 --- a/services/storage/Dockerfile +++ b/services/storage/Dockerfile @@ -80,7 +80,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed # packages may be moved to production image easily by copying the venv diff --git a/services/web/Dockerfile b/services/web/Dockerfile index 9cefb777a8c..ecb19b9afde 100644 --- a/services/web/Dockerfile +++ b/services/web/Dockerfile @@ -82,7 +82,7 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ # NOTE: install https://github.com/astral-sh/uv ultra-fast rust-based pip replacement RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ - pip install uv~=0.1 + pip install uv~=0.2 # NOTE: python virtualenv is used here such that installed