build: bump pydantic 1.10.7 -> 1.10.24 (stay on V1)#245
Merged
Conversation
Upgrade pydantic to the latest 1.10.x release to move off the old 1.10.7 pin (CWE-1104, unmaintained component). Remains on the Pydantic V1 line on purpose: V1 emits JSON Schema draft-07, matching the checked-in schemas/*.json and the draft-07 CI validation contract. 1.10.24 also adds Python 3.12 support, which CI runs on. - pyproject.toml: pydantic==1.10.7 -> pydantic==1.10.24 - uv.lock: regenerated via uv lock No schema files regenerated; schemas/*.json unchanged.
ireneisdoomed
approved these changes
Jun 19, 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.
Summary
Bumps
pydanticoff the old1.10.7pin onto the latest1.10.xrelease, addressing an outdated-component finding (CWE-1104) from a recent security audit of this repo.pyproject.toml:pydantic==1.10.7→pydantic==1.10.24uv.lock: regenerated (onlypydanticchanges version; the rest of the diff is re-lock reformatting)Stays on the Pydantic V1 line on purpose. This repo's
schemas/*.jsonare JSON Schema draft-07, and CI validates them as such. Pydantic V1 emits draft-07; V2 emits draft 2020-12, which would change the output dialect and break the validation contract. A V2 migration is therefore a deliberate, separate decision. Bonus:1.10.7predated Python 3.12 support (which CI runs on);1.10.24adds it.Verification
uv syncresolves on Python 3.12 with no conflicts; a parsed lock diff confirms onlypydanticchanges (1.10.7 → 1.10.24).pydantic_models/import cleanly under 1.10.24.schemas/*.jsonpass draft-07 validation viacheck-jsonschema(the CI check) →ok -- validation done.schemas/*.jsonare unchanged.