diff --git a/Dockerfile b/Dockerfile index 13277d7279..38981e234d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ ARG DOCKER_IMAGE # 4. Create a non-root user 'flytekit' and set appropriate permissions for directories. RUN apt-get update && apt-get install build-essential -y \ && pip install uv \ - && uv pip install --system --no-cache-dir -U flytekit==$VERSION \ + && uv pip install --system --no-cache-dir --pre -U flytekit==$VERSION \ kubernetes \ && apt-get clean autoclean \ && apt-get autoremove --yes \ diff --git a/Dockerfile.connector b/Dockerfile.connector index bed0fa0160..d48c3efc0a 100644 --- a/Dockerfile.connector +++ b/Dockerfile.connector @@ -8,7 +8,7 @@ ARG VERSION RUN apt-get update && apt-get install build-essential -y \ && pip install uv -RUN uv pip install --system --no-cache-dir -U flytekit[connector]==$VERSION \ +RUN uv pip install --system --no-cache-dir -U --pre flytekit[connector]==$VERSION \ flytekitplugins-airflow==$VERSION \ flytekitplugins-bigquery==$VERSION \ flytekitplugins-k8sdataservice==$VERSION \ @@ -26,6 +26,6 @@ CMD ["pyflyte", "serve", "connector", "--port", "8000"] FROM connector-slim AS connector-all ARG VERSION -RUN uv pip install --system --no-cache-dir -U \ +RUN uv pip install --system --pre --no-cache-dir -U \ flytekitplugins-mmcloud==$VERSION \ flytekitplugins-spark==$VERSION diff --git a/Dockerfile.dev b/Dockerfile.dev index 1a839104e4..d96fa3cd67 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -35,7 +35,7 @@ COPY . /flytekit # Use a future version of SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL such that uv resolution works. RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEKIT=$PSEUDO_VERSION \ SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL=3.0.0dev0 \ - uv pip install --system --no-cache-dir -U \ + uv pip install --system --no-cache-dir --pre -U \ "git+https://github.com/flyteorg/flyte.git@master#subdirectory=flyteidl" \ -e /flytekit \ -e /flytekit/plugins/flytekit-deck-standard \ diff --git a/plugins/flytekit-flyteinteractive/Dockerfile b/plugins/flytekit-flyteinteractive/Dockerfile index e9a4105228..eba3aad035 100644 --- a/plugins/flytekit-flyteinteractive/Dockerfile +++ b/plugins/flytekit-flyteinteractive/Dockerfile @@ -23,7 +23,7 @@ RUN apt-get update \ && wget --no-check-certificate https://open-vsx.org/api/ms-python/python/2023.20.0/file/ms-python.python-2023.20.0.vsix -P /tmp/code-server \ && wget --no-check-certificate https://open-vsx.org/api/ms-toolsai/jupyter/2023.9.100/file/ms-toolsai.jupyter-2023.9.100.vsix -P /tmp/code-server \ && pip install --no-cache-dir uv \ - && uv pip install --system --no-cache-dir -U flytekitplugins-flyteinteractive==$VERSION flytekit==$VERSION \ + && uv pip install --system --pre --no-cache-dir -U flytekitplugins-flyteinteractive==$VERSION flytekit==$VERSION \ && apt-get clean autoclean \ && apt-get autoremove --yes \ && rm -rf /var/lib/{apt,dpkg,cache,log}/ \ diff --git a/plugins/flytekit-openai/Dockerfile.batch b/plugins/flytekit-openai/Dockerfile.batch index 39191e9f26..19e9baf8f4 100644 --- a/plugins/flytekit-openai/Dockerfile.batch +++ b/plugins/flytekit-openai/Dockerfile.batch @@ -9,7 +9,7 @@ ENV PYTHONPATH /root ARG VERSION RUN pip install uv --no-cache-dir \ - && uv pip install --system --no-cache-dir -U flytekitplugins-openai==$VERSION \ + && uv pip install --system --pre --no-cache-dir -U flytekitplugins-openai==$VERSION \ flytekit==$VERSION RUN useradd -u 1000 flytekit diff --git a/plugins/flytekit-spark/Dockerfile b/plugins/flytekit-spark/Dockerfile index 06891d2679..d86e44c6a4 100644 --- a/plugins/flytekit-spark/Dockerfile +++ b/plugins/flytekit-spark/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y wget ARG VERSION RUN pip install uv --no-cache-dir \ - && uv pip install --system --no-cache-dir -U flytekitplugins-spark==$VERSION flytekit==$VERSION + && uv pip install --system --no-cache-dir --pre -U flytekitplugins-spark==$VERSION flytekit==$VERSION RUN wget https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.4.0/hadoop-aws-3.4.0.jar -P /opt/spark/jars && \ wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.262/aws-java-sdk-bundle-1.12.262.jar -P /opt/spark/jars && \ diff --git a/plugins/flytekit-sqlalchemy/Dockerfile b/plugins/flytekit-sqlalchemy/Dockerfile index c255bd6f61..99dc217e97 100644 --- a/plugins/flytekit-sqlalchemy/Dockerfile +++ b/plugins/flytekit-sqlalchemy/Dockerfile @@ -9,7 +9,7 @@ ENV PYTHONPATH /root ARG VERSION RUN pip install uv --no-cache-dir \ - && uv pip install --system --no-cache-dir -U \ + && uv pip install --system --pre --no-cache-dir -U \ sqlalchemy \ psycopg2-binary \ pymysql \