This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-0-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit dad2192f9dc95caf07ab29150e2d87e82ab580e9 Author: Jarek Potiuk <[email protected]> AuthorDate: Fri Apr 18 14:00:27 2025 +0200 Fix dockerfile generation for PMC installation check (#49435) The dockerfile generated by check_files.py did not work with the new `uv` tooling approach - this one fixes it. (cherry picked from commit 973410752317c71e74c2001bff0c8846625f8e81) --- dev/check_files.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev/check_files.py b/dev/check_files.py index ebca9d6ff8c..042546a19eb 100644 --- a/dev/check_files.py +++ b/dev/check_files.py @@ -24,9 +24,8 @@ import rich_click as click from rich import print PROVIDERS_DOCKER = """\ -FROM ghcr.io/apache/airflow/main/ci/python3.10 -RUN rm -rf /opt/airflow/airflow/providers - +FROM ghcr.io/apache/airflow/main/ci/python3.9 +RUN cd airflow-core; uv sync --no-sources # Install providers {} @@ -206,7 +205,9 @@ def providers(ctx, path: str): files = os.listdir(os.path.join(path, "providers")) pips = [f"{name}=={version}" for name, version in get_packages()] missing_files = check_providers(files) - create_docker(PROVIDERS_DOCKER.format("RUN uv pip install --system " + " ".join(f"'{p}'" for p in pips))) + create_docker( + PROVIDERS_DOCKER.format("RUN uv pip install --pre --system " + " ".join(f"'{p}'" for p in pips)) + ) if missing_files: warn_of_missing_files(missing_files)
