ansible-community / antsibull-build

Tooling for building various things related to ansible
GNU General Public License v3.0
60 stars 31 forks source link

Don't assume that pydantic.HttpUrl is a str subclass #564

Closed gotmax23 closed 10 months ago

gotmax23 commented 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.

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.

felixfontein commented 10 months ago

Restarting synchronize and CI.

gotmax23 commented 10 months ago

Thanks!