From 31a1c007808a4205bdae691385d2627c561e69ed Mon Sep 17 00:00:00 2001 From: Edouard Benauw Date: Thu, 24 Dec 2020 05:09:32 +0100 Subject: [PATCH] Pin pyjwt version (#1797) * Pin pyjwt version Pyjwt version is not fixed, which can cause syntax error for user since the release of breaking changes from pyjwt (https://pypi.org/project/PyJWT/#history) * Update setup.py Fixes #1796 --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5c313a26..cac1930f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ requests>=2.14.0 -pyjwt +pyjwt<2.0 sphinx<3 sphinx-rtd-theme<0.6 Deprecated diff --git a/setup.py b/setup.py index 82366f23..da18741b 100755 --- a/setup.py +++ b/setup.py @@ -98,7 +98,7 @@ if __name__ == "__main__": "Topic :: Software Development", ], python_requires=">=3.6", - install_requires=["deprecated", "pyjwt", "requests>=2.14.0"], + install_requires=["deprecated", "pyjwt<2.0", "requests>=2.14.0"], extras_require={"integrations": ["cryptography"]}, tests_require=["cryptography", "httpretty>=1.0.3"], )