From 72e96a58f30b366353c64cab05f7bcad65c4ae8b Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Mon, 4 Oct 2021 12:10:42 +0200 Subject: [PATCH] Tools: Constrain the cryptography package for avoiding breaking changes The cryptography 35 release causes breaking changes. Some of certificates are rendered invalid and the package cannot be build without rust. See https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3500---2021-09-29 for more details. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 630349873c..b1070f97fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ setuptools>=21 click>=5.0 pyserial>=3.0 future>=0.15.2 -cryptography>=2.1.4 +cryptography>=2.1.4,<35 pyparsing>=2.0.3,<2.4.0 pyelftools>=0.22