Yes it will only allow 4.0.x, like your version constraint.