From f673d21e0c81f61c325053bba9e731861ce6132b Mon Sep 17 00:00:00 2001 From: David Irvine Date: Sat, 30 Nov 2024 19:15:23 +0000 Subject: [PATCH] aaa --- .github/workflows/python-publish.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 77e39a135..db589770d 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -328,12 +328,24 @@ jobs: - name: Install wheel inspection tools run: | python -m pip install --upgrade pip - pip install wheel twine check-wheel-contents + pip install --upgrade wheel twine check-wheel-contents build - name: Verify wheels run: | + echo "=== Checking wheel structure ===" + for wheel in dist/*.whl; do + echo "Inspecting $wheel" + python -m wheel unpack "$wheel" --dest /tmp/wheel-check + echo "Contents of .dist-info:" + ls -la /tmp/wheel-check/*/self_encryption*.dist-info/ + echo "METADATA contents:" + cat /tmp/wheel-check/*/self_encryption*.dist-info/METADATA + rm -rf /tmp/wheel-check/* + done + echo "=== Checking wheels with twine ===" - twine check dist/* + python -m twine check dist/* + echo "=== Checking wheel contents ===" check-wheel-contents dist/*.whl