With the previous commit, we also checked that PyQt was >= 5.7.1, but we want to support PyQt 5.7.0. Instead, we now check the individual components by hand. Also, the previous check accidentally allowed PyQt >= 5.2.0 instead of 5.7.0.