From b5f0b59fcd3e6fede006e48aebd2595ffa35d441 Mon Sep 17 00:00:00 2001 From: mayeut Date: Mon, 5 Apr 2021 11:13:07 +0200 Subject: [PATCH] fix: pin cryptography to a version working on manylinux1 cryptography>=3.4 is only usable on manylinux2010+ systems because of the lack of a decent rust compiler on older systems. Pin version of cryptography to 3.3.x on linux i686/x86_64. --- requirements-dev.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index d9da24be6..c599b3b7e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -12,3 +12,8 @@ twine virtualenv>=15.0.3 wheel wheeltools + +# need to pin cryptography for manylinux1 builds +# cryptography only provides manylinux2010 wheels since 3.4.0 +# because of the lack of a decent rust compiler on manylinux1 +cryptography~=3.3.2 ; sys_platform=="linux" and platform_machine in "i386, i486, i586, i686, x86_64"