@@ -152,12 +152,14 @@ def validate_minimumversion(process, min_vers, ignore_min_vers_before, filename)
152152 """Ensure MinimumVersion is set appropriately for the processors used."""
153153
154154 # Warn if using a MinimumVersion greater than or equal to 2
155- if LooseVersion (min_vers ) >= LooseVersion ("2" ):
156- print (
157- "{}: WARNING: Choosing MinimumVersion {} limits the potential "
158- "audience for your AutoPkg recipe. Consider using MinimumVersion "
159- "1.4.1 if your processors support it." .format (filename , min_vers )
160- )
155+ # warn_on_vers = "2"
156+ # suggest_vers = "1.4.1"
157+ # if LooseVersion(min_vers) >= LooseVersion(warn_on_vers):
158+ # print(
159+ # "{}: WARNING: Choosing MinimumVersion {} limits the potential "
160+ # "audience for your AutoPkg recipe. Consider using MinimumVersion "
161+ # "{} if your processors support it.".format(filename, min_vers, suggest_vers)
162+ # )
161163
162164 # Processors for which a minimum version of AutoPkg is required.
163165 # Note: Because LooseVersion considers version 1.0 to be "less than" 1.0.0,
@@ -167,8 +169,8 @@ def validate_minimumversion(process, min_vers, ignore_min_vers_before, filename)
167169 "AppPkgCreator" : "1.0" ,
168170 "BrewCaskInfoProvider" : "0.2.5" ,
169171 "CodeSignatureVerifier" : "0.3.1" ,
170- "CURLDownloader" : "1.4 " ,
171- "CURLTextSearcher" : "1.4 " ,
172+ "CURLDownloader" : "0.5.1 " ,
173+ "CURLTextSearcher" : "0.5.1 " ,
172174 "DeprecationWarning" : "1.1" ,
173175 "EndOfCheckPhase" : "0.1.0" ,
174176 "FileFinder" : "0.2.3" ,
@@ -194,9 +196,7 @@ def validate_minimumversion(process, min_vers, ignore_min_vers_before, filename)
194196 "StopProcessingIf" : "0.1.0" ,
195197 "Symlinker" : "0.1.0" ,
196198 "Unarchiver" : "0.1.0" ,
197- "URLDownloader" : "1.4" ,
198- "URLGetter" : "1.4" ,
199- "URLTextSearcher" : "1.4" ,
199+ "URLTextSearcher" : "0.2.9" ,
200200 "Versioner" : "0.1.0" ,
201201 }
202202
@@ -238,7 +238,7 @@ def validate_no_superclass_procs(process, filename):
238238 """Warn if any superclass processors (which are used by other processors
239239 rather than called in recipes) are used."""
240240
241- # Processors that have been deprecated .
241+ # Processors that are superclasses and shouldn't be referenced directly .
242242 superclass_procs = ("URLGetter" ,)
243243
244244 passed = True
0 commit comments