This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 85a5a61844b CI: Replace curl-based uv installation with pip install 
from PyPI (#62619)
85a5a61844b is described below

commit 85a5a61844b1420ea66f8694727da47a04a82172
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Feb 28 14:39:44 2026 +0100

    CI: Replace curl-based uv installation with pip install from PyPI (#62619)
    
    Co-authored-by: Claude Opus 4.6 <[email protected]>
---
 .github/actions/breeze/action.yml       | 2 +-
 .github/actions/install-prek/action.yml | 2 +-
 .github/workflows/basic-tests.yml       | 4 ++--
 .github/workflows/ci-amd-arm.yml        | 3 ++-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/actions/breeze/action.yml 
b/.github/actions/breeze/action.yml
index eb0085390bf..605e1737f31 100644
--- a/.github/actions/breeze/action.yml
+++ b/.github/actions/breeze/action.yml
@@ -38,7 +38,7 @@ runs:
         python-version: ${{ inputs.python-version }}
     - name: "Install uv"
       shell: bash
-      run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
+      run: pip install "uv==${UV_VERSION}"
       env:
         UV_VERSION: ${{ inputs.uv-version }}
     # NOTE! Installing Breeze without using cache is FASTER than when using 
cache - uv is so fast and has
diff --git a/.github/actions/install-prek/action.yml 
b/.github/actions/install-prek/action.yml
index 79ba6a1db16..3a1b4864b4b 100644
--- a/.github/actions/install-prek/action.yml
+++ b/.github/actions/install-prek/action.yml
@@ -39,7 +39,7 @@ runs:
   steps:
     - name: "Install uv"
       shell: bash
-      run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
+      run: pip install "uv==${UV_VERSION}"
       env:
         UV_VERSION: ${{ inputs.uv-version }}
     - name: Install prek
diff --git a/.github/workflows/basic-tests.yml 
b/.github/workflows/basic-tests.yml
index 7c6aef8ade8..47672b895dc 100644
--- a/.github/workflows/basic-tests.yml
+++ b/.github/workflows/basic-tests.yml
@@ -139,7 +139,7 @@ jobs:
           fetch-depth: 1
           persist-credentials: false
       - name: "Install uv"
-        run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
+        run: pip install "uv==${UV_VERSION}"
         env:
           UV_VERSION: ${{ inputs.uv-version }}
       - name: "Run shared ${{ matrix.shared-distribution }} tests"
@@ -427,7 +427,7 @@ jobs:
         with:
           persist-credentials: false
       - name: "Install uv"
-        run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
+        run: pip install "uv==${UV_VERSION}"
         env:
           UV_VERSION: ${{ inputs.uv-version }}
       - name: "Set up Airflow home directory"
diff --git a/.github/workflows/ci-amd-arm.yml b/.github/workflows/ci-amd-arm.yml
index 4bc632178a6..ca5229a8cc1 100644
--- a/.github/workflows/ci-amd-arm.yml
+++ b/.github/workflows/ci-amd-arm.yml
@@ -40,6 +40,7 @@ env:
   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
   GITHUB_USERNAME: ${{ github.actor }}
   SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
+  UV_VERSION: "0.10.7"  # Keep this comment to allow automatic replacement of 
uv version
   VERBOSE: "true"
 
 concurrency:
@@ -248,7 +249,7 @@ jobs:
         with:
           persist-credentials: false
       - name: "Install uv"
-        run: curl -LsSf https://astral.sh/uv/install.sh | sh
+        run: pip install "uv==${UV_VERSION}"
       - name: "Verify release calendar"
         run: uv run dev/verify_release_calendar.py
 

Reply via email to