This is an automated email from the ASF dual-hosted git repository. xtsong pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/flink-agents.git
commit f951042371cbffd7125062909ef8dbbfaa2f0e16 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 d3fd0f11..5a7a2941 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,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: 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.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: 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: @@ -165,7 +165,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 @@ -257,7 +257,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 75af0e9c..92c21203 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 ensurepip --default-pip
