Skip to content

Commit 7f6d4ac

Browse files
committed
fix: Fix version issues for Linux
1 parent 55f0c06 commit 7f6d4ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-wheel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ jobs:
6666
C2PA_LIBS_PLATFORM=\"${{ format('{0}', inputs.architecture == 'aarch64' && 'aarch64-unknown-linux-gnu' || 'x86_64-unknown-linux-gnu') }}\" /opt/python/cp310-cp310/bin/python scripts/download_artifacts.py $C2PA_VERSION &&
6767
for PYBIN in /opt/python/cp3{10,11}-*/bin; do
6868
\${PYBIN}/pip install --upgrade pip wheel &&
69-
\${PYBIN}/pip install toml &&
69+
\${PYBIN}/pip install toml==0.10.2 &&
70+
\${PYBIN}/pip install setuptools==0.68.0 &&
7071
CFLAGS=\"-I/opt/python/cp310-cp310/include/python3.10\" LDFLAGS=\"-L/opt/python/cp310-cp310/lib\" \${PYBIN}/python setup.py bdist_wheel --plat-name $PLATFORM_TAG
7172
done &&
7273
rm -f /io/dist/*-linux_*.whl

0 commit comments

Comments
 (0)