In this case is just better to use = (required version)  rather than ~> (similar version).