gh-93259: Validate arg to Distribution.from_name
.
#94270
Merged
Distribution.from_name
.
#94270