Skip to content

Commit 311562a

Browse files
authored
Fix build/test of manylinux 2010 (#231)
1 parent 98308a9 commit 311562a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
if [[ "${{ matrix.manylinux-version }}" == "manylinux_2_28_x86_64" ]]; then
125125
dnf install libjpeg-devel -y
126126
else
127-
yum -y install libjpeg-devel
127+
yum -y install libjpeg-devel libffi-devel
128128
fi
129129
130130
cd /work
@@ -134,6 +134,9 @@ jobs:
134134
python setup.py build_ext --inplace
135135
136136
echo "Starting tests"
137+
if [[ "${{ matrix.manylinux-version }}" == "manylinux2010_x86_64" ]]; then
138+
python -m pip install cryptography==37
139+
fi
137140
python -m pip install -r requirements_tests.txt
138141
PYTEST_SECRETS_KEY=${{ secrets.PYTEST_SECRETS_KEY }} TEST_CI=1 TEST_NO_UI=1 python -m pytest tests/ -n2 -v
139142

0 commit comments

Comments
 (0)