try to be compatible with more pyyaml versions (#10206)
try to be compatible with more pyyaml versions (#10206)


iree-org/iree,google/iree,google/iree,google/iree,google/iree,iree-org/iree,iree-org/iree,google/iree,iree-org/iree,iree-org/iree,iree-org/iree,google/iree,iree-org/iree,google/iree