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.
main
Ben Busby 2023-02-21 14:28:15 -07:00
parent 0c65eb9616
commit 74f7975e62
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -6,7 +6,8 @@ certifi==2022.12.7
cffi==1.15.1 cffi==1.15.1
chardet==5.1.0 chardet==5.1.0
click==8.1.3 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 cssutils==2.6.0
defusedxml==0.7.1 defusedxml==0.7.1
Flask==2.2.3 Flask==2.2.3
@ -19,7 +20,8 @@ packaging==23.0
pluggy==1.0.0 pluggy==1.0.0
pycodestyle==2.10.0 pycodestyle==2.10.0
pycparser==2.21 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 pyparsing==3.0.9
PySocks==1.7.1 PySocks==1.7.1
pytest==7.2.1 pytest==7.2.1