Closed gotmax23 closed 10 months ago
In Pydantic v2, pydantic.HttpUrl is no longer a subclass of str, so it's necessary to coerce it into a str for functions that expect that.
pydantic.HttpUrl
str
Relates: https://github.com/ansible-community/antsibull-core/pull/119
This can be merged anytime. The changes here are compatible with both pydantic v1 and pydantic v2.
Restarting synchronize and CI.
Thanks!
In Pydantic v2,
pydantic.HttpUrl
is no longer a subclass ofstr
, so it's necessary to coerce it into a str for functions that expect that.Relates: https://github.com/ansible-community/antsibull-core/pull/119
This can be merged anytime. The changes here are compatible with both pydantic v1 and pydantic v2.