self.version should be a LooseVersion instance