From c0f81a8542c210765484e379fe7058b66ee24c16 Mon Sep 17 00:00:00 2001 From: Bakugo Date: Sun, 17 Dec 2023 06:34:53 +0000 Subject: [PATCH] Update cryptography requirement to >=39.0 (#6555) https://github.com/mitmproxy/mitmproxy/commit/0b5e310881f0116c9e8e2ca5b9da98e258de0a11 uses `load_pem_x509_certificates` which was introduced in cryptography 39.0 but the requirement wasn't updated. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6844a316f5..48551cc83e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "asgiref>=3.2.10,<3.8", "Brotli>=1.0,<1.2", "certifi>=2019.9.11", # no semver here - this should always be on the last release! - "cryptography>=38.0,<41.1", + "cryptography>=39.0,<41.1", "flask>=1.1.1,<3.1", "h11>=0.11,<0.15", "h2>=4.1,<5",