This is an automated email from the ASF dual-hosted git repository. utkarsharma pushed a commit to branch v2-9-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 9579204b8192dec9b76fa8857d4653d5c8222bec Author: Jarek Potiuk <[email protected]> AuthorDate: Fri Jun 7 19:44:21 2024 +0200 Fix openai 1.32 breaking openai tests (#40110) The new openai release adds new required parameter `parallel_tool_calls` and our mock did not have it. Bumping version and adding the parameter should solve the problem. It turned out also that uv==0.2.6 introduced a bug for lowest-direct resolution, so we need to limit it to 0.2.5. Details in https://github.com/astral-sh/uv/issues/4136 (cherry picked from commit 65dbf86f72ed7be779e7dadd8e8e57c1216c7c07) --- Dockerfile | 3 ++- Dockerfile.ci | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11534435f0..d1797f21f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,8 @@ ARG AIRFLOW_VERSION="2.9.0" ARG PYTHON_BASE_IMAGE="python:3.8-slim-bookworm" ARG AIRFLOW_PIP_VERSION=24.0 -ARG AIRFLOW_UV_VERSION=0.2.9 +# until https://github.com/astral-sh/uv/issues/4136 is solved we limit UV to version 0.2.5 +ARG AIRFLOW_UV_VERSION=0.2.5 ARG AIRFLOW_USE_UV="false" ARG UV_HTTP_TIMEOUT="300" ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow" diff --git a/Dockerfile.ci b/Dockerfile.ci index e85f29ce22..e561fc64a0 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1224,7 +1224,8 @@ ARG DEFAULT_CONSTRAINTS_BRANCH="constraints-main" ARG AIRFLOW_CI_BUILD_EPOCH="10" ARG AIRFLOW_PRE_CACHED_PIP_PACKAGES="true" ARG AIRFLOW_PIP_VERSION=24.0 -ARG AIRFLOW_UV_VERSION=0.2.9 +# until https://github.com/astral-sh/uv/issues/4136 is solved we limit UV to version 0.2.5 +ARG AIRFLOW_UV_VERSION=0.2.5 ARG AIRFLOW_USE_UV="true" # Setup PIP # By default PIP install run without cache to make image smaller @@ -1248,7 +1249,8 @@ ARG AIRFLOW_VERSION="" ARG ADDITIONAL_PIP_INSTALL_FLAGS="" ARG AIRFLOW_PIP_VERSION=24.0 -ARG AIRFLOW_UV_VERSION=0.2.9 +# until https://github.com/astral-sh/uv/issues/4136 is solved we limit UV to version 0.2.5 +ARG AIRFLOW_UV_VERSION=0.2.5 ARG AIRFLOW_USE_UV="true" ENV AIRFLOW_REPO=${AIRFLOW_REPO}\
