From d80ef70b7dbff9ba5bd0cb0cf7cf1d734a405566 Mon Sep 17 00:00:00 2001 From: mattgd Date: Thu, 23 Jan 2025 17:33:24 -0500 Subject: [PATCH 1/2] Adjust version pinning to allow for more crypto versions. --- requirements.txt | 5 +++-- setup.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3f403687..b16ded41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ httpx~=0.28.1 pydantic~=2.10.4 -PyJWT==2.9.0 # Pinned because of Python 3.8 incompatibility in future versions -cryptography~=44.0.0 +PyJWT>=2.9.0, <2.10 ; python_version == "3.8" +PyJWT>=2.10.0; python_version > "3.8" +cryptography>=42.0.4, <45 diff --git a/setup.py b/setup.py index 103be545..56f86568 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,6 @@ def read_requirements(filename): install_requires=read_requirements("requirements.txt"), extras_require={ "dev": read_requirements("requirements-dev.txt"), - ":python_version<'3.4'": ["enum34"], }, classifiers=[ "Development Status :: 5 - Production/Stable", From b7d21aaad01ce74920fd017c9d7898c22eca105d Mon Sep 17 00:00:00 2001 From: mattgd Date: Thu, 23 Jan 2025 17:40:40 -0500 Subject: [PATCH 2/2] Update version min. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b16ded41..1aa3a2e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ httpx~=0.28.1 pydantic~=2.10.4 PyJWT>=2.9.0, <2.10 ; python_version == "3.8" PyJWT>=2.10.0; python_version > "3.8" -cryptography>=42.0.4, <45 +cryptography>=42.0.8, <45