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

xtsong pushed a commit to branch release-0.2
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


The following commit(s) were added to refs/heads/release-0.2 by this push:
     new 582dd40e [ci] Pin the version of uv.
582dd40e is described below

commit 582dd40e117e4360fbdd91e053df8391415d667d
Author: WenjinXie <[email protected]>
AuthorDate: Wed Mar 25 14:32:12 2026 +0800

    [ci] Pin the version of uv.
---
 .github/workflows/ci.yml | 12 ++++++------
 tools/build.sh           |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0889156e..5b64d1b3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,7 +43,7 @@ jobs:
           python-version: 3.11
       - name: Install uv
         run: |
-          curl -LsSf https://astral.sh/uv/install.sh | sh
+          curl -LsSf https://astral.sh/uv/0.11.0/install.sh | sh
           echo "$HOME/.local/bin" >> $GITHUB_PATH
       - name: Check code style
         run: ./tools/lint.sh -c
@@ -59,7 +59,7 @@ jobs:
           python-version: '3.12'
       - name: Install uv
         run: |
-          curl -LsSf https://astral.sh/uv/install.sh | sh
+          curl -LsSf https://astral.sh/uv/0.11.0/install.sh | sh
           echo "$HOME/.local/bin" >> $GITHUB_PATH
       - name: Run build-backend tests
         working-directory: python
@@ -90,7 +90,7 @@ jobs:
           python-version: '3.11'
       - name: Install uv
         run: |
-          curl -LsSf https://astral.sh/uv/install.sh | sh
+          curl -LsSf https://astral.sh/uv/0.11.0/install.sh | sh
           echo "$HOME/.local/bin" >> $GITHUB_PATH
       - name: Install Python dependencies for MCP tests
         run: |
@@ -126,7 +126,7 @@ jobs:
           python-version: ${{ matrix.python-version }}
       - name: Install uv
         run: |
-          curl -LsSf https://astral.sh/uv/install.sh | sh
+          curl -LsSf https://astral.sh/uv/0.11.0/install.sh | sh
           echo "$HOME/.local/bin" >> $GITHUB_PATH
       - name: Run Python Tests
         env:  
@@ -155,7 +155,7 @@ jobs:
           python-version: ${{ matrix.python-version }}
       - name: Install uv
         run: |
-          curl -LsSf https://astral.sh/uv/install.sh | sh
+          curl -LsSf https://astral.sh/uv/0.11.0/install.sh | sh
           echo "$HOME/.local/bin" >> $GITHUB_PATH
       - name: Install flink-agents
         run: bash tools/build.sh
@@ -247,7 +247,7 @@ jobs:
           python-version: ${{ matrix.python-version }}
       - name: Install uv
         run: |
-          curl -LsSf https://astral.sh/uv/install.sh | sh
+          curl -LsSf https://astral.sh/uv/0.11.0/install.sh | sh
           echo "$HOME/.local/bin" >> $GITHUB_PATH
       - name: Build flink-agents
         run: bash tools/build.sh
diff --git a/tools/build.sh b/tools/build.sh
index 0e17a8f3..c2464138 100755
--- a/tools/build.sh
+++ b/tools/build.sh
@@ -89,7 +89,7 @@ if $build_python; then
   # build python
   cd python
   rm -rf dist/  # Clean old build artifacts before building
-  pip install uv
+  pip install uv==0.11.0
   uv lock
   uv sync --extra dev
   uv run python -m build

Reply via email to