From daa51d766f0490cb07b57db4891ac45f652d45a2 Mon Sep 17 00:00:00 2001 From: Matthieu Huin Date: Wed, 23 Dec 2020 10:26:08 +0100 Subject: Bump pyjwt to 2.0.0 The release of pyjwt 2.0.0 changed the behavior of some functions, which caused errors. Fix the errors, use pyjwt 2.0.0's better handling of JWKS, and pin requirement to 2.X to avoid future potential API breaking changes. Change-Id: Ibef736e0f635dfaf4477cc2a90a22665da9f1959 --- requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'requirements.txt') diff --git a/requirements.txt b/requirements.txt index da3932b84..6dd38dd82 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,8 +24,7 @@ alembic cryptography>=1.6 cachecontrol cachetools -# PyJWT 2.0.0 has API breaking changes -pyjwt<2.0.0 +pyjwt>=2.0.0,<3.0 iso8601 psutil fb-re2>=1.0.6 -- cgit v1.2.1