2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

Update Configure.check_waf_version

This commit is contained in:
Waf Project 2024-08-14 07:39:08 +08:00
parent ce2a9907d8
commit 6253670a5e

View File

@ -367,11 +367,11 @@ def cmd_to_list(self, cmd):
return cmd
@conf
def check_waf_version(self, mini='1.9.99', maxi='2.1.0', **kw):
def check_waf_version(self, mini='1.9.99', maxi='2.2.0', **kw):
"""
Raise a Configuration error if the Waf version does not strictly match the given bounds::
conf.check_waf_version(mini='1.9.99', maxi='2.1.0')
conf.check_waf_version(mini='1.9.99', maxi='2.2.0')
:type mini: number, tuple or string
:param mini: Minimum required version