mirror of
https://github.com/openai/codex.git
synced 2026-10-23 18:08:45 +00:00
Bump uv to 0.13.5 in CI and release workflows (#56248)
## What changed Update `astral-sh/setup-uv` to `v10.3.2` and pin `uv` to `0.13.5` across the affected build, test, and release workflows. Refresh the checksum used for DotSlash publishing. Install `uv` in the Python SDK wheel test from a hash-pinned requirements file, requiring a binary distribution and hash verification. GitOrigin-RevId: 05295f6468f4897ca08672ccf9dc4e9b7d717fa8
This commit is contained in:
committed by
copyberry
parent
c227654800
commit
8eaf5fd115
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Verify Python runtime wheels are available on PyPI
|
||||
env:
|
||||
|
||||
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Verify Python runtime wheels are available on PyPI
|
||||
env:
|
||||
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Verify Python SDK is available on PyPI
|
||||
env:
|
||||
|
||||
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Verify Python runtime wheels are available on PyPI
|
||||
env:
|
||||
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Verify Python SDK is available on PyPI
|
||||
env:
|
||||
|
||||
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Test downstream Python release resolution
|
||||
run: python3 -m unittest discover -s .github/scripts -p 'test_resolve_python_cli_release.py'
|
||||
|
||||
@@ -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: ${{ matrix.target }}-app-server
|
||||
|
||||
@@ -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/dist
|
||||
python -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.2
|
||||
with:
|
||||
version: "0.11.3"
|
||||
version: "0.13.5"
|
||||
|
||||
- name: Test Python SDK against the same CLI
|
||||
working-directory: sdk/python
|
||||
|
||||
Reference in New Issue
Block a user