From 393c65e8b58d3bc70b7079b2bd9405e4c2d123d7 Mon Sep 17 00:00:00 2001 From: Armin Berres <20811121+aberres@users.noreply.github.com> Date: Thu, 8 May 2025 14:55:33 +0200 Subject: [PATCH] Allow newer PyJWT versions Backported from the master branch (#3636). Co-authored-by: Armin Berres --- CHANGES | 1 + requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 8750128b05..62ae4c11aa 100644 --- a/CHANGES +++ b/CHANGES @@ -67,6 +67,7 @@ * Close Unix sockets if the connection attempt fails. This prevents `ResourceWarning`s. (#3314) * Close SSL sockets if the connection attempt fails, or if validations fail. (#3317) * Eliminate mutable default arguments in the `redis.commands.core.Script` class. (#3332) + * Allow newer versions of PyJWT as dependency. (#3630) * 4.1.3 (Feb 8, 2022) * Fix flushdb and flushall (#1926) diff --git a/requirements.txt b/requirements.txt index 9760e5bb13..491b574662 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ async-timeout>=4.0.3 -PyJWT~=2.9.0 \ No newline at end of file +PyJWT>=2.9.0 diff --git a/setup.py b/setup.py index 6c2dbb6cd2..5c3b8d911e 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ python_requires=">=3.8", install_requires=[ 'async-timeout>=4.0.3; python_full_version<"3.11.3"', - "PyJWT~=2.9.0", + "PyJWT>=2.9.0", ], classifiers=[ "Development Status :: 5 - Production/Stable",