From 8151f5c00dd60750b210e62f9eaad71ba7769780 Mon Sep 17 00:00:00 2001 From: Victor Lin Date: Mon, 15 Jun 2026 13:37:37 -0700 Subject: [PATCH] Temporarily pin cryptography <49.0.0 Reasoning in comment and linked issue. --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 51362ff3..26c3b8e2 100644 --- a/setup.py +++ b/setup.py @@ -122,6 +122,11 @@ def find_namespaced_packages(namespace): # https://github.com/fsspec/filesystem_spec/pull/1358 that causes the # error described in https://github.com/fsspec/s3fs/issues/790 "fsspec[s3] !=2023.9.1", + + # pyjwt[crypto] depends on cryptography. Our standalone build has issues + # with 49.0.0, so it is avoided here as a temporary fix. + # + "cryptography <49.0.0", ], extras_require = {