Skip to content

Commit 66de16d

Browse files
Arkueidclaude
andcommitted
fix: pin setuptools<82 to avoid PEP 639 metadata fields
setuptools 82.x converts license to license-expression / license-file fields that are not yet supported by PyPI or twine 6.x. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 0c6d720 commit 66de16d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/build-linux-arm-manylinux.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
PYBIN="/opt/python/cp3${ver}-cp3${ver}/bin"
3838
[ -x "$PYBIN/python" ] || continue
3939
echo "=== Building with $PYBIN/python ==="
40-
"$PYBIN/pip" install wheel setuptools
40+
"$PYBIN/pip" install "setuptools<82" wheel
4141
"$PYBIN/python" setup.py bdist_wheel
4242
done
4343

‎.github/workflows/build-linux-manylinux.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
PYBIN="/opt/python/cp3${ver}-cp3${ver}/bin"
4141
[ -x "$PYBIN/python" ] || continue
4242
echo "=== Building with $PYBIN/python ==="
43-
"$PYBIN/pip" install wheel setuptools
43+
"$PYBIN/pip" install "setuptools<82" wheel
4444
"$PYBIN/python" setup.py bdist_wheel
4545
done
4646

‎docs/manylinux.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ docker exec ml bash -c '
3333
PYBIN="/opt/python/cp3${ver}-cp3${ver}/bin"
3434
[ -x "$PYBIN/python" ] || continue
3535
echo "=== $PYBIN/python ==="
36-
"$PYBIN/pip" install wheel setuptools
36+
"$PYBIN/pip" install "setuptools<82" wheel
3737
"$PYBIN/python" setup.py bdist_wheel
3838
done
3939

0 commit comments

Comments
 (0)