Who the hell is saying that? I certainly haven't been. Women and men are different, and women by and large do not like to code. Why should we force women to do something they clearly don't enjoy doing? To try and balance out a meaningless diversity pie chart?
If you want an example of real sexism, this part of your post is. It is also incorrect in my experience, some of the best programmers I know are female.
In regard to you point about targeting one particular gender group as being sexist, unfortunately society divides us at a very young age and you need to appeal to kids interests to get them involved. I'm sure there is equally as many (probably more) male targeted programming courses.