Merge "uncap pysaml2"
This commit is contained in:
commit
a3b5001c81
@ -230,13 +230,7 @@ pyparsing>=2.1.0 # MIT
|
||||
pyroute2>=0.4.21;sys_platform!='win32' # Apache-2.0 (+ dual licensed GPL2)
|
||||
pysnmp>=4.2.3 # BSD
|
||||
pystache>=0.5.4 # MIT
|
||||
|
||||
# NOTE(dims): pysaml 4.0.3 uses pycryptodome instead of pycrypto, for mitaka
|
||||
# we cannot switch to pycryptodome as many projects are likely to break. So
|
||||
# we should block versions higher then 4.0.2. Also, once all projects and
|
||||
# dependencies like paramiko switch to pycryptodome, we should revisit this
|
||||
# and fully switch over to pycryptodome and stop using pycrypto
|
||||
pysaml2>=4.0.2,<4.0.3 # Apache-2.0
|
||||
pysaml2>=4.0.2,!=4.0.3,!=4.0.4,!=4.0.5,!=4.0.5rc1,!=4.1.0,!=4.2.0,!=4.3.0,!=4.4.0 # Apache-2.0
|
||||
|
||||
# OpenStack clients. None of these should have an upper bound
|
||||
# as that has implications for testing in the gate.
|
||||
|
@ -224,7 +224,8 @@ def check_reqs_bounds_policy(global_reqs):
|
||||
lower_bound = lower_bound.pop()
|
||||
for spec in _specifiers:
|
||||
if spec.operator == '!=':
|
||||
if not lower_bound.contains(spec.version):
|
||||
if not lower_bound.contains(spec.version,
|
||||
prereleases=True):
|
||||
yield('Requirement %s has a !=%s specifier '
|
||||
'that is not >=%s' % (req.package,
|
||||
spec.version,
|
||||
|
Loading…
x
Reference in New Issue
Block a user