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