From 10860cdc5d739d693b17b1981b9b9ad4451daf72 Mon Sep 17 00:00:00 2001 From: Muhammad Talha Date: Tue, 6 Jun 2023 18:08:48 +0500 Subject: [PATCH] Fix pyOpenSSL dependency version in setup.py Older versions of pyOpenSSL do not work with latest versions of cryptography, so we need to provide an upper bound while setting version limits. --- pyopenssl-19.1.0/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopenssl-19.1.0/setup.py b/pyopenssl-19.1.0/setup.py index 3e76199..4a3f349 100755 --- a/pyopenssl-19.1.0/setup.py +++ b/pyopenssl-19.1.0/setup.py @@ -94,7 +94,7 @@ def find_meta(meta): package_dir={"": "src"}, install_requires=[ # Fix cryptographyMinimum in tox.ini when changing this! - "cryptography>=2.8", + "cryptography>=2.8,<=3.4.8", "six>=1.5.2" ], extras_require={