Skip to content

fix: loosen pydantic version requirement for Home Assistant compatibility#80

Merged
eman merged 1 commit intomainfrom
fix/loosen-pydantic-requirement
Apr 13, 2026
Merged

fix: loosen pydantic version requirement for Home Assistant compatibility#80
eman merged 1 commit intomainfrom
fix/loosen-pydantic-requirement

Conversation

@eman
Copy link
Copy Markdown
Owner

@eman eman commented Apr 13, 2026

Summary

Changed pydantic>=2.12.5 to pydantic>=2.0.0 in setup.cfg.

Home Assistant ships with pydantic==2.12.2, which was being rejected by the overly strict lower bound. All pydantic APIs used in this library (BaseModel, ConfigDict, Field, BeforeValidator, WrapValidator, PrivateAttr, field_validator, ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, alias_generators.to_camel) have been available since pydantic v2.0.0.

…lity

Changed pydantic requirement from >=2.12.5 to >=2.0.0 to resolve
dependency conflicts with Home Assistant, which ships with pydantic==2.12.2.
@eman eman merged commit 6fac265 into main Apr 13, 2026
11 checks passed
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.

1 participant