From 9944c8acbe4f7f5bb9d5748387d8618fbfd20f6e 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 8e24162478..9f4914a39a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ setuptools>=21 click>=7.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