From 0f2d385a5a463bf5f8e23f1302e8329e6480b3c1 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 5396e240bb..362cea3661 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