Skip to content

Derive deserialization for tool receipt requirements - #22885

Merged
woodruffw merged 1 commit into
codex/derive-module-namefrom
codex/derive-tool-requirement
Oct 23, 2026
Merged

woodruffw merged 1 commit into
codex/derive-module-namefrom
codex/derive-tool-requirement

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Select the requirement format from its TOML representation. Tables use uv's requirement schema and strings use the PEP 508 parser for legacy receipts.

In 18 paired runs on arm64 macOS, a receipt with eight structured requirements took 5.3% less time to parse and a receipt with one legacy requirement took 5.8% less. The tool_list_deprecated test covers valid and malformed legacy receipts.

With the workspace-reference, module-name, and receipt migrations together, the stripped macOS uv executable grew by 16,528 bytes and its machine-code section grew by 704 bytes. Both builds used the release profile without PGO.

@woodruffw
woodruffw added this pull request to stack #22850 October 23, 2026 17:27
@woodruffw
woodruffw removed this pull request from stack #22850 October 23, 2026 17:40
@woodruffw
woodruffw added this pull request to stack #22888 October 23, 2026 17:40
@woodruffw
woodruffw marked this pull request as ready for review October 23, 2026 17:46
@woodruffw
woodruffw force-pushed the codex/derive-tool-requirement branch from df868e7 to 80d7d39 Compare October 23, 2026 19:01
@woodruffw
woodruffw merged commit c559c3b into main Oct 23, 2026
233 of 235 checks passed
@woodruffw
woodruffw deleted the codex/derive-tool-requirement branch October 23, 2026 20:04
hbjydev pushed a commit to hbjydev/phoebe that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [uv](https://github.com/astral-sh/uv) | tools | patch | `0.13.5` → `0.13.6` |

---

### Release Notes

<details>
<summary>astral-sh/uv (uv)</summary>

### [`v0.13.6`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0136)

[Compare Source](astral-sh/uv@0.13.5...0.13.6)

Released on 2026-10-26.

##### Enhancements

- Accept an empty `UV_RUN_RECURSION_DEPTH` as zero and report invalid values consistently ([#&#8203;22814](astral-sh/uv#22814))
- Explain how to add project metadata when `uv init` finds a `pyproject.toml` without a `[project]` table ([#&#8203;22916](astral-sh/uv#22916))

##### Python

- Add CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, and 3.15.2 ([#&#8203;22938](astral-sh/uv#22938))

##### Preview features

- Detect NVIDIA GPU capabilities when selecting compatible wheel variants with `wheel-variants` ([#&#8203;22690](astral-sh/uv#22690))
- Nest each module's owners in an object in `uv workspace metadata` output ([#&#8203;22638](astral-sh/uv#22638))
- Report the unsupported properties required by an incompatible wheel variant ([#&#8203;22719](astral-sh/uv#22719))

##### Performance

- Reduce peak memory use when resolving large workspaces ([#&#8203;22860](astral-sh/uv#22860), [#&#8203;22863](astral-sh/uv#22863), [#&#8203;22864](astral-sh/uv#22864), [#&#8203;22866](astral-sh/uv#22866), [#&#8203;22870](astral-sh/uv#22870))
- Reduce peak memory use when locking or upgrading large projects ([#&#8203;22833](astral-sh/uv#22833), [#&#8203;22834](astral-sh/uv#22834))
- Speed up redirected output from `uv export` and `uv pip compile` ([#&#8203;22840](astral-sh/uv#22840))
- Reuse cached or active environments when running PEP 723 scripts without dependencies ([#&#8203;21458](astral-sh/uv#21458))
- Reduce parsing overhead for build dependency and build backend settings ([#&#8203;22848](astral-sh/uv#22848), [#&#8203;22871](astral-sh/uv#22871), [#&#8203;22879](astral-sh/uv#22879), [#&#8203;22884](astral-sh/uv#22884))
- Reduce parsing overhead for project sources and workspace references ([#&#8203;22880](astral-sh/uv#22880), [#&#8203;22883](astral-sh/uv#22883))
- Reduce parsing overhead for cache, exclusion, cutoff, and preview settings ([#&#8203;22876](astral-sh/uv#22876), [#&#8203;22877](astral-sh/uv#22877), [#&#8203;22878](astral-sh/uv#22878), [#&#8203;22887](astral-sh/uv#22887))
- Reduce PyPI metadata parsing overhead ([#&#8203;22874](astral-sh/uv#22874), [#&#8203;22875](astral-sh/uv#22875))
- Speed up parsing tool receipt requirements ([#&#8203;22885](astral-sh/uv#22885))

##### Bug fixes

- Prevent `uv run --active --script` and `uv sync --active --script` from deleting non-virtual-environment directories ([#&#8203;21464](astral-sh/uv#21464))
- Use `AMD64` for `platform_machine` when resolving for x86-64 Windows ([#&#8203;22935](astral-sh/uv#22935))
- Preserve free-threaded and other non-default variants in `uv python upgrade` ([#&#8203;22836](astral-sh/uv#22836))
- Allow `uv init --no-package` and `uv init --script` when `UV_INIT_BUILD_BACKEND` is set ([#&#8203;22907](astral-sh/uv#22907))
- Prevent panics when rendering containment markers with local versions ([#&#8203;22815](astral-sh/uv#22815))

##### Documentation

- Update the Docker guide and reproduction examples to use uv 0.13.5 ([#&#8203;22867](astral-sh/uv#22867))

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/London)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODEuNyIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/1017
luketainton pushed a commit to luketainton/luke_rsu that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ghcr.io/astral-sh/uv](https://github.com/astral-sh/uv) | stage | patch | `0.13.5` → `0.13.6` |

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

### [`v0.13.6`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0136)

[Compare Source](astral-sh/uv@0.13.5...0.13.6)

Released on 2026-10-26.

##### Enhancements

- Accept an empty `UV_RUN_RECURSION_DEPTH` as zero and report invalid values consistently ([#&#8203;22814](astral-sh/uv#22814))
- Explain how to add project metadata when `uv init` finds a `pyproject.toml` without a `[project]` table ([#&#8203;22916](astral-sh/uv#22916))

##### Python

- Add CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, and 3.15.2 ([#&#8203;22938](astral-sh/uv#22938))

##### Preview features

- Detect NVIDIA GPU capabilities when selecting compatible wheel variants with `wheel-variants` ([#&#8203;22690](astral-sh/uv#22690))
- Nest each module's owners in an object in `uv workspace metadata` output ([#&#8203;22638](astral-sh/uv#22638))
- Report the unsupported properties required by an incompatible wheel variant ([#&#8203;22719](astral-sh/uv#22719))

##### Performance

- Reduce peak memory use when resolving large workspaces ([#&#8203;22860](astral-sh/uv#22860), [#&#8203;22863](astral-sh/uv#22863), [#&#8203;22864](astral-sh/uv#22864), [#&#8203;22866](astral-sh/uv#22866), [#&#8203;22870](astral-sh/uv#22870))
- Reduce peak memory use when locking or upgrading large projects ([#&#8203;22833](astral-sh/uv#22833), [#&#8203;22834](astral-sh/uv#22834))
- Speed up redirected output from `uv export` and `uv pip compile` ([#&#8203;22840](astral-sh/uv#22840))
- Reuse cached or active environments when running PEP 723 scripts without dependencies ([#&#8203;21458](astral-sh/uv#21458))
- Reduce parsing overhead for build dependency and build backend settings ([#&#8203;22848](astral-sh/uv#22848), [#&#8203;22871](astral-sh/uv#22871), [#&#8203;22879](astral-sh/uv#22879), [#&#8203;22884](astral-sh/uv#22884))
- Reduce parsing overhead for project sources and workspace references ([#&#8203;22880](astral-sh/uv#22880), [#&#8203;22883](astral-sh/uv#22883))
- Reduce parsing overhead for cache, exclusion, cutoff, and preview settings ([#&#8203;22876](astral-sh/uv#22876), [#&#8203;22877](astral-sh/uv#22877), [#&#8203;22878](astral-sh/uv#22878), [#&#8203;22887](astral-sh/uv#22887))
- Reduce PyPI metadata parsing overhead ([#&#8203;22874](astral-sh/uv#22874), [#&#8203;22875](astral-sh/uv#22875))
- Speed up parsing tool receipt requirements ([#&#8203;22885](astral-sh/uv#22885))

##### Bug fixes

- Prevent `uv run --active --script` and `uv sync --active --script` from deleting non-virtual-environment directories ([#&#8203;21464](astral-sh/uv#21464))
- Use `AMD64` for `platform_machine` when resolving for x86-64 Windows ([#&#8203;22935](astral-sh/uv#22935))
- Preserve free-threaded and other non-default variants in `uv python upgrade` ([#&#8203;22836](astral-sh/uv#22836))
- Allow `uv init --no-package` and `uv init --script` when `UV_INIT_BUILD_BACKEND` is set ([#&#8203;22907](astral-sh/uv#22907))
- Prevent panics when rendering containment markers with local versions ([#&#8203;22815](astral-sh/uv#22815))

##### Documentation

- Update the Docker guide and reproduction examples to use uv 0.13.5 ([#&#8203;22867](astral-sh/uv#22867))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODYuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/rsu/pulls/62
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
luketainton pushed a commit to luketainton/repos_labmcp that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ghcr.io/astral-sh/uv](https://github.com/astral-sh/uv) | final | patch | `0.13.5` → `0.13.6` |

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

### [`v0.13.6`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0136)

[Compare Source](astral-sh/uv@0.13.5...0.13.6)

Released on 2026-10-26.

##### Enhancements

- Accept an empty `UV_RUN_RECURSION_DEPTH` as zero and report invalid values consistently ([#&#8203;22814](astral-sh/uv#22814))
- Explain how to add project metadata when `uv init` finds a `pyproject.toml` without a `[project]` table ([#&#8203;22916](astral-sh/uv#22916))

##### Python

- Add CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, and 3.15.2 ([#&#8203;22938](astral-sh/uv#22938))

##### Preview features

- Detect NVIDIA GPU capabilities when selecting compatible wheel variants with `wheel-variants` ([#&#8203;22690](astral-sh/uv#22690))
- Nest each module's owners in an object in `uv workspace metadata` output ([#&#8203;22638](astral-sh/uv#22638))
- Report the unsupported properties required by an incompatible wheel variant ([#&#8203;22719](astral-sh/uv#22719))

##### Performance

- Reduce peak memory use when resolving large workspaces ([#&#8203;22860](astral-sh/uv#22860), [#&#8203;22863](astral-sh/uv#22863), [#&#8203;22864](astral-sh/uv#22864), [#&#8203;22866](astral-sh/uv#22866), [#&#8203;22870](astral-sh/uv#22870))
- Reduce peak memory use when locking or upgrading large projects ([#&#8203;22833](astral-sh/uv#22833), [#&#8203;22834](astral-sh/uv#22834))
- Speed up redirected output from `uv export` and `uv pip compile` ([#&#8203;22840](astral-sh/uv#22840))
- Reuse cached or active environments when running PEP 723 scripts without dependencies ([#&#8203;21458](astral-sh/uv#21458))
- Reduce parsing overhead for build dependency and build backend settings ([#&#8203;22848](astral-sh/uv#22848), [#&#8203;22871](astral-sh/uv#22871), [#&#8203;22879](astral-sh/uv#22879), [#&#8203;22884](astral-sh/uv#22884))
- Reduce parsing overhead for project sources and workspace references ([#&#8203;22880](astral-sh/uv#22880), [#&#8203;22883](astral-sh/uv#22883))
- Reduce parsing overhead for cache, exclusion, cutoff, and preview settings ([#&#8203;22876](astral-sh/uv#22876), [#&#8203;22877](astral-sh/uv#22877), [#&#8203;22878](astral-sh/uv#22878), [#&#8203;22887](astral-sh/uv#22887))
- Reduce PyPI metadata parsing overhead ([#&#8203;22874](astral-sh/uv#22874), [#&#8203;22875](astral-sh/uv#22875))
- Speed up parsing tool receipt requirements ([#&#8203;22885](astral-sh/uv#22885))

##### Bug fixes

- Prevent `uv run --active --script` and `uv sync --active --script` from deleting non-virtual-environment directories ([#&#8203;21464](astral-sh/uv#21464))
- Use `AMD64` for `platform_machine` when resolving for x86-64 Windows ([#&#8203;22935](astral-sh/uv#22935))
- Preserve free-threaded and other non-default variants in `uv python upgrade` ([#&#8203;22836](astral-sh/uv#22836))
- Allow `uv init --no-package` and `uv init --script` when `UV_INIT_BUILD_BACKEND` is set ([#&#8203;22907](astral-sh/uv#22907))
- Prevent panics when rendering containment markers with local versions ([#&#8203;22815](astral-sh/uv#22815))

##### Documentation

- Update the Docker guide and reproduction examples to use uv 0.13.5 ([#&#8203;22867](astral-sh/uv#22867))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODYuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/labmcp/pulls/83
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>

This branch was previously deployed

1 inactive deployment
automations — 80d7d398 Deployed Oct 23, 2026 by woodruffw via review / security review #52421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants