Fix building wheels for Python 3.7 (#1933)

This commit is contained in:
Fangjun Kuang
2025-02-27 13:02:46 +08:00
committed by GitHub
parent 337d5f7a80
commit 815ebac8f9
6 changed files with 19 additions and 5 deletions

View File

@@ -110,6 +110,10 @@ jobs:
fi
python3 -m pip install $opts --upgrade pip
python3 -m pip install $opts wheel twine==5.0.0 setuptools
if [[ ${{ matrix.python-version }} == "cp37" ]]; then
python3 -m pip install $opts wheel twine setuptools
else
python3 -m pip install $opts wheel twine==5.0.0 setuptools
fi
twine upload ./wheelhouse/*.whl