Skip to content

Commit 879b198

Browse files
committed
Bump pydantic to 2.12.5 for CPython 3.14 wheels
The pinned pydantic==2.11.7 resolves pydantic-core 2.33.2, which has no prebuilt wheel for CPython 3.14. The Home Assistant add-on image moved to Alpine/Python 3.14 and installs our packages from pyproject (not the lockfile), so pip fell back to compiling pydantic-core from Rust source and failed for lack of a toolchain. pydantic 2.12.5 pulls pydantic-core 2.41.5, which ships cp314-cp314 musllinux wheels for x86_64/aarch64/armv7l, so no source build is needed. Tests and strict mypy pass on the new versions.
1 parent bbea700 commit 879b198

2 files changed

Lines changed: 97 additions & 65 deletions

File tree

packages/core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [{name = "Jorge Lima", email = "jorgefilipemlima@gmail.com"}]
1010
readme = "README.md"
1111
requires-python = ">=3.11"
1212
dependencies = [
13-
"pydantic==2.11.7",
13+
"pydantic==2.12.5",
1414
"pydantic-settings==2.10.1",
1515
"structlog==25.4.0",
1616
"httpx==0.28.1",

0 commit comments

Comments
 (0)