Skip to content

Derive deserialization for PyPI core metadata - #22874

Merged
woodruffw merged 1 commit into
codex/derive-deserialize-untaggedfrom
codex/derive-core-metadata
Oct 23, 2026
Merged

woodruffw merged 1 commit into
codex/derive-deserialize-untaggedfrom
codex/derive-core-metadata

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Dispatch the Simple API core-metadata field to a boolean or a hash map. Hash validation and metadata alias precedence still use their existing decoders.

The pypi_core_metadata_precedence test passes, including both orders of the legacy and current metadata fields. The derived and handwritten implementations returned the same values and error positions on eight JSON inputs for CoreMetadata.

@woodruffw
woodruffw added this pull request to stack #22850 October 23, 2026 16:22
@woodruffw
woodruffw force-pushed the codex/derive-core-metadata branch from 9c870db to 42490c7 Compare October 23, 2026 16:26
@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:43
@woodruffw
woodruffw merged commit d952be6 into main Oct 23, 2026
131 of 132 checks passed
@woodruffw
woodruffw deleted the codex/derive-core-metadata 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 — 65809d91 Deployed Oct 23, 2026 by woodruffw via review / security review #52430
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

⌂ 换网址