Skip to content

Remove duplicate needs_toolchain key for aarch64-unknown-linux-musl - #1452

Merged
jjhelmus merged 1 commit into
mainfrom
ww/deduplicate-needs-toolchain
Nov 24, 2026
Merged

jjhelmus merged 1 commit into
mainfrom
ww/deduplicate-needs-toolchain

Conversation

@woodruffw

Copy link
Copy Markdown
Member
Automated notes

aarch64-unknown-linux-musl sets needs_toolchain to true twice. Remove the first entry so YAML parsers that enforce key uniqueness can read cpython-unix/targets.yml.

Verified that PyYAML loads identical settings for all 18 targets before and after the change, and that astral-yaml-serde 0.0.7 can read the file directly into uv's target configuration type.

@woodruffw
woodruffw marked this pull request as ready for review November 24, 2026 21:23
@jjhelmus
jjhelmus merged commit aab0616 into main Nov 24, 2026
22 checks passed
@jjhelmus
jjhelmus deleted the ww/deduplicate-needs-toolchain branch November 24, 2026 21:53
jjhelmus pushed a commit that referenced this pull request Nov 24, 2026
<details>
<summary>Automated notes</summary>

Use `astral-yaml` to load the build configuration and CI matrices. Its
YAML 1.2 loader rejects duplicate keys, including the repeated
`needs_toolchain` entry fixed in #1452. The JSON Schema checks are
unchanged.

Remove `types-pyyaml` since `astral-yaml` ships type stubs. MkDocs still
depends on PyYAML. The Linux wheels for `astral-yaml` 0.0.7 require
glibc 2.34 or newer on the build host.

Verified that both parsers produce identical data for all six
configuration files and that the new loader rejects the original
duplicate. The push and pull request matrices matched for Linux, macOS,
and Windows with a fixed Python hash seed. `check.py` and the CI unit
tests passed locally.

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants