(self, versions)
return None
Select the best compatible version among an iterable of options.
Select the best compatible version among an iterable of options.
Select the best compatible version among an iterable of options .
def select(self, versions):
        """Select the best compatible version among an iterable of options."""
        options = list(self.filter(versions))
        if options:
            return max(options)
        return None
def select ( self , versions ) : options = list ( self . filter ( versions ) ) if options : return max ( options ) return None