I've read a couple of accounts of lady pilots who have done some amazing "saves" with a damaged or malfunctioning aircraft. Clearly merit based promotion is the key.
I'm proud to know a woman 747 Captain; the first for her airline. She is excellent, I've flown with her.