python/pydantic_core: update to 2.27.0