Skip to content

Commit aeab1d2

Browse files
mayeutjcfr
authored andcommitted
fix: pin cryptography to a version working on manylinux1 for i686
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 080d24e commit aeab1d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

requirements-dev.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ wheeltools
1616
# need to pin cryptography for manylinux1 builds
1717
# cryptography only provides manylinux2010 wheels since 3.4.0
1818
# because of the lack of a decent rust compiler on manylinux1
19-
cryptography~=3.3.2 ; sys_platform=="linux" and platform_machine in "i386, i486, i586, i686, x86_64"
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)