Cap keyring in py27 environments

launchpadlib has an uncapped dependency on keyring and
keyring dropped support for py27 in 19.0.0 so we need to
cap keyring when running py27 unit tests.

Alternatively we could just drop support for py27...

Change-Id: I056c3ba264078d62d1ff0aebd2843be1c0062b1d
This commit is contained in:
Matt Riedemann 2019-05-08 11:27:49 -04:00
parent 904c3ca3cb
commit e4ac5bfe5e
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ lockfile
Babel>=0.9.6
lazr.restfulclient>=0.14.2 # LGPL
httplib2>=0.12.0 # MIT License
# NOTE(mriedem): launchpadlib has an uncapped dependency on keyring which
# dropped support for python2.7 in version 19.0.0 so for py27 environments we
# have to explicitly install a capped version of keyring first.
keyring<19.0.0;python_version=='2.7'
launchpadlib>=1.10.6 # LGPL
Jinja2
requests