But there were also people who criticized black female actors playing white male roles from the book, and that's not a valid critique if the gender and skin color isn't a necessary part of the role.
Besides, Asimov's book tend to have neither female characters nor people of color.
I think Foundation admits people of other races exist by book 5, in passing. And there are like two (maybe?) notable female characters in the entire book series.