parameters: (self, versions)
return_statement: return [v for v in versions if v]
docstring: Retrieves only compatible versions of this package from provided `versions` list
  
              Parameters
              ----------
              `versions`: list
                  List of versions to be checked. All versions that evaluate to True are returned
docstring_summary: Retrieves only compatible versions of this package from provided `versions` list
docstring_tokens: Retrieves only compatible versions of this package from provided versions list
function: def filter_versions(self, versions):
          """Retrieves only compatible versions of this package from provided `versions` list
  
              Parameters
              ----------
              `versions`: list
                  List of versions to be checked. All versions that evaluate to True are returned
          """
          # no need to convert PckgVer to string, it is done by get_install_string when printed
          return [v for v in versions if v]
function_tokens: def filter_versions ( self , versions ) : # no need to convert PckgVer to string, it is done by get_install_string when printed return [ v for v in versions if v ]