Split crypto + pyopenssl reqs for armv7 builds

Since including rust in the builder stage of the image didn't address
the issues with building the cryptography library on armv7, that
architecture will just use the last supported version of the affected
libraries. May want to revisit this later.
pull/962/head
Ben Busby 1 year ago
parent 0c65eb9616
commit 74f7975e62
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1

@ -5,9 +5,7 @@ RUN apk --update add \
libxml2-dev \
libxslt-dev \
openssl-dev \
libffi-dev \
rust \
cargo
libffi-dev
COPY requirements.txt .

@ -6,7 +6,8 @@ certifi==2022.12.7
cffi==1.15.1
chardet==5.1.0
click==8.1.3
cryptography==39.0.1
cryptography==3.3.2; platform_machine == 'armv7l'
cryptography==39.0.1; platform_machine != 'armv7l'
cssutils==2.6.0
defusedxml==0.7.1
Flask==2.2.3
@ -19,7 +20,8 @@ packaging==23.0
pluggy==1.0.0
pycodestyle==2.10.0
pycparser==2.21
pyOpenSSL==23.0.0
pyOpenSSL==19.1.0; platform_machine == 'armv7l'
pyOpenSSL==23.0.0; platform_machine != 'armv7l'
pyparsing==3.0.9
PySocks==1.7.1
pytest==7.2.1

Loading…
Cancel
Save