Skip to content

Commit 7d1e761

Browse files
committed
fix: pin cryptography to a version working on manylinux1
cryptography>=3.4 is only usable on manylinux2010+ systems becaus of the lack of a decent rust compiler on older systems. Furthermore, on i686 system cryptography does not provide wheels at all. Given OpenSSL version in dockross, this restrict a bit more which version can be built from sources. Pin version of cryptography to 3.2.x on linux i686/x86_64.
1 parent 04aa700 commit 7d1e761

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

requirements-dev.txt

+8
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ twine
1212
virtualenv>=15.0.3
1313
wheel
1414
wheeltools
15+
16+
# need to pin cryptography for manylinux1 builds
17+
# cryptography only provides manylinux2010 wheels since 3.4.0
18+
# because of the lack of a decent rust compiler on manylinux1
19+
# Furthermore, the x86 has no wheels at all requiring to build
20+
# from source. Given OpenSSL version in the dockcross image, this
21+
# restrict cryptography version to 3.2.x
22+
cryptography~=3.2.1 ; sys_platform=="linux" and platform_machine in "i386, i486, i586, i686, x86_64"

0 commit comments

Comments
 (0)