I really thought it was the accepted fact and a starting point of all the discussions on this subject, that the issue is the pool of candidate.
Myself I recently tried to hire a developer and that’s a reality that there is nearly no female candidates. And I‘m not restricting it to CS degree.
I don’t understand how it’s not obvious that what can be done at the hiring process is completely marginal. There is no politics here.
The politics is how much we try to aim for 50% candidates (education, training...)