Skip to content

Commit 3ad2822

Browse files
declan-scaleclaude
andcommitted
chore(release): keep uv.lock in sync with release versions
release-please bumps pyproject.toml and adk/pyproject.toml but never touched uv.lock, so the lock fell behind on every release. CI ran uv sync without --locked, so the drift was not caught. - Add toml extra-files entries so release-please sets the version of the agentex-client and agentex-sdk entries in uv.lock. - Refresh uv.lock to 0.28.5. - Run uv sync --locked in the CI lint and build jobs. The jsonpath filter matches both @.name and @.name.value because release-please 16.18.0 runs jsonpath over a tagged TOML tree where each value is wrapped as {start, end, value}. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018gtTYcnigSuJ6qquhhDzxg
1 parent 77e4b0b commit 3ad2822

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
version: '0.10.2'
3030

3131
- name: Install dependencies
32-
run: uv sync --all-packages --all-extras
32+
run: uv sync --locked --all-packages --all-extras
3333

3434
- name: Run lints
3535
run: ./scripts/lint
@@ -54,7 +54,7 @@ jobs:
5454
version: '0.10.2'
5555

5656
- name: Install dependencies
57-
run: uv sync --all-packages --all-extras
57+
run: uv sync --locked --all-packages --all-extras
5858

5959
- name: Run build
6060
# Both workspace members. --wheel is load-bearing: the heavy's cross-dir

‎release-please-config.json‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,23 @@
33
".": {
44
"component": "agentex-client",
55
"extra-files": [
6-
"src/agentex/_version.py"
6+
"src/agentex/_version.py",
7+
{
8+
"type": "toml",
9+
"path": "uv.lock",
10+
"jsonpath": "$.package[?(@.name=='agentex-client' || @.name.value=='agentex-client')].version"
11+
}
712
]
813
},
914
"adk": {
10-
"component": "agentex-sdk"
15+
"component": "agentex-sdk",
16+
"extra-files": [
17+
{
18+
"type": "toml",
19+
"path": "/uv.lock",
20+
"jsonpath": "$.package[?(@.name=='agentex-sdk' || @.name.value=='agentex-sdk')].version"
21+
}
22+
]
1123
}
1224
},
1325
"plugins": [

‎uv.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)