From 4cab385e12b545d127653c067e160be25e59862b Mon Sep 17 00:00:00 2001 From: Dong Heng Date: Mon, 8 Nov 2021 15:42:59 +0800 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 a43c6d4a..6a979330 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,6 @@ setuptools 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