From e6199124845292cf2c359216e03d90fbf2dea0e3 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Wed, 31 Oct 2018 15:21:42 +0000 Subject: [PATCH] Add PyJWT as a requirement A subsequent patch will be using this library to create JWS tokens. Here, we are requiring a minimum version of 1.6.1 since that version includes an exception exposed from PyJWT that we need in keystone: https://github.com/jpadilla/pyjwt/commit/9d980786c9080ad99ae221ea5b77397434c3c50c bp json-web-tokens Change-Id: I6b4b565fc7160fffe5e445673ccea9b3bba584d6 --- lower-constraints.txt | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/lower-constraints.txt b/lower-constraints.txt index f5e6e4641e..8168619a1c 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -49,6 +49,7 @@ pycodestyle==2.0.0 python-ldap===3.0.0 pymongo===3.0.2 pysaml2==4.5.0 +PyJWT==1.6.1 python-keystoneclient==3.8.0 python-memcached===1.56 pytz==2013.6 diff --git a/requirements.txt b/requirements.txt index 4c43b556a4..e3de1c6dfe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -35,6 +35,7 @@ oslo.upgradecheck>=0.1.0 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0 oauthlib>=0.6.2 # BSD pysaml2>=4.5.0 +PyJWT>=1.6.1 # MIT dogpile.cache>=0.6.2 # BSD jsonschema<3.0.0,>=2.6.0 # MIT pycadf!=2.0.0,>=1.1.0 # Apache-2.0