Lightweight coding agent that runs in your terminal
Rust
Bump uv to 0.13.5 in CI and release workflows (#56248)
Adam Perry @ OpenAI8eaf5fd115f0
diff --git a/.github/actions/build-codex-packages/action.yml b/.github/actions/build-codex-packages/action.ymlindex dea7cb623f..86d9fdeae8 100644--- a/.github/actions/build-codex-packages/action.yml+++ b/.github/actions/build-codex-packages/action.yml@@ -52,9 +52,9 @@ runs:python-version: "3.12"- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Install Linux build dependenciesif: ${{ runner.os == 'Linux' }}diff --git a/.github/actions/publish-dotslash/action.yml b/.github/actions/publish-dotslash/action.ymlindex 1ca3a1addc..75c5e59220 100644--- a/.github/actions/publish-dotslash/action.yml+++ b/.github/actions/publish-dotslash/action.yml@@ -21,10 +21,10 @@ runs:persist-credentials: false- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.12.13"- checksum: "745765a3b6e360ad76743599ae5c42e9278c7edf8bbff9fc76d05bf2623a04dd"+ version: "0.13.5"+ checksum: "f68d291c75783122dad58ab77def0e13f3233f358731db5d6d7e8715603b928f"github-token: ""enable-cache: falsediff --git a/.github/workflows/python-runtime-release.yml b/.github/workflows/python-runtime-release.ymlindex f7f0b4af23..95919cf47e 100644--- a/.github/workflows/python-runtime-release.yml+++ b/.github/workflows/python-runtime-release.yml@@ -51,9 +51,9 @@ jobs:skip-existing: true- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Verify Python runtime wheels are available on PyPIenv:diff --git a/.github/workflows/python-sdk-cli-release.yml b/.github/workflows/python-sdk-cli-release.ymlindex 2f7f6a7f19..3af4457744 100644--- a/.github/workflows/python-sdk-cli-release.yml+++ b/.github/workflows/python-sdk-cli-release.yml@@ -103,9 +103,9 @@ jobs:skip-existing: true- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Verify Python runtime wheels are available on PyPIenv:@@ -146,9 +146,9 @@ jobs:skip-existing: true- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Verify Python SDK is available on PyPIenv:diff --git a/.github/workflows/python-sdk-release.yml b/.github/workflows/python-sdk-release.ymlindex 0e01f23a84..bb1ee01ce3 100644--- a/.github/workflows/python-sdk-release.yml+++ b/.github/workflows/python-sdk-release.yml@@ -120,9 +120,9 @@ jobs:skip-existing: true- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Verify Python runtime wheels are available on PyPIenv:@@ -162,9 +162,9 @@ jobs:skip-existing: true- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Verify Python SDK is available on PyPIenv:diff --git a/.github/workflows/repo-checks.yml b/.github/workflows/repo-checks.ymlindex 4f05cd0604..163e5b0448 100644--- a/.github/workflows/repo-checks.yml+++ b/.github/workflows/repo-checks.yml@@ -27,9 +27,9 @@ jobs:run: python3 .github/scripts/verify_bazel_clippy_lints.py- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Test downstream Python release resolutionrun: python3 -m unittest discover -s .github/scripts -p 'test_resolve_python_cli_release.py'diff --git a/.github/workflows/rust-release-provisioned-macos.yml b/.github/workflows/rust-release-provisioned-macos.ymlindex bbed090187..9a1008d8e6 100644--- a/.github/workflows/rust-release-provisioned-macos.yml+++ b/.github/workflows/rust-release-provisioned-macos.yml@@ -180,9 +180,9 @@ jobs:bin codex-resources codex-path codex-package.json CodexCLI.app(cd verified && shasum -a 256 "codex-provisioned-package-$TARGET.tar.gz" > SHA256SUMS)- uses: ./.github/actions/setup-ci- - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ - uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: ${{ matrix.target }}-app-serverdiff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.ymlindex 3f91dd18fa..4cb081eb94 100644--- a/.github/workflows/sdk.yml+++ b/.github/workflows/sdk.yml@@ -28,7 +28,7 @@ jobs:python:3.12-slim \sh -euxc 'python -m venv /tmp/build- /tmp/build/bin/python -m pip install uv==0.11.3+ /tmp/build/bin/python -m pip install --only-binary=:all: --require-hashes -r tests/requirements-uv.txt/tmp/build/bin/uv build --wheel --out-dir /tmp/distpython -m venv /tmp/installed/tmp/build/bin/uv pip install --python /tmp/installed/bin/python /tmp/dist/*.whl@@ -136,9 +136,9 @@ jobs:run: pnpm -r --filter ./sdk/typescript run test- name: Install uv- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2with:- version: "0.11.3"+ version: "0.13.5"- name: Test Python SDK against the same CLIworking-directory: sdk/pythondiff --git a/sdk/python/tests/requirements-uv.txt b/sdk/python/tests/requirements-uv.txtnew file mode 100644index 0000000000..4f1003d9fd--- /dev/null+++ b/sdk/python/tests/requirements-uv.txt@@ -0,0 +1,3 @@+# Verify the Linux x86-64 wheel even if the test image's pip trusts a stale CA.+uv==0.13.5 \+ --hash=sha256:fa8d26e08e34c29c0c4e820cf3181757086d547240b4f4d31ff1d8bd810ca946