Repository navigation
Replace PyYAML with astral-yaml in the build and CI scripts - #1453
Merged
Merged
Conversation
Member
Author
|
It arguably hardly matters here, but astral-yaml is ~96x faster:
|
jjhelmus
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated notes
Use
astral-yamlto load the build configuration and CI matrices. Its YAML 1.2 loader rejects duplicate keys, including the repeatedneeds_toolchainentry fixed in #1452. The JSON Schema checks are unchanged.Remove
types-pyyamlsinceastral-yamlships type stubs. MkDocs still depends on PyYAML. The Linux wheels forastral-yaml0.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.pyand the CI unit tests passed locally.