Skip to content

Commit

Permalink
aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Nov 30, 2024
1 parent 6385d48 commit 0345de6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
--out dist
-i python${{ matrix.python-version }}
--manifest-path Cargo.toml
--metadata-directory .
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -70,6 +71,7 @@ jobs:
--out dist
-i python${{ matrix.python-version }}
--manifest-path Cargo.toml
--metadata-directory .
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
--out dist
-i python${{ matrix.python-version }}
--manifest-path Cargo.toml
--metadata-directory .
sccache: 'true'
- name: Install built wheel
if: matrix.target == 'x86_64'
Expand Down Expand Up @@ -290,6 +293,32 @@ jobs:
rm -rf dist/*/
echo "Final dist directory contents:"
ls -la dist/
# Debug wheel metadata
echo "Checking wheel metadata:"
for wheel in dist/*.whl; do
echo "=== Metadata for $wheel ==="
unzip -p "$wheel" "*.dist-info/METADATA" || echo "No METADATA found in $wheel"
echo "=== End metadata for $wheel ==="
done
# Install tools for metadata verification
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install wheel inspection tools
run: |
python -m pip install --upgrade pip
pip install wheel twine check-wheel-contents
- name: Verify wheels
run: |
echo "=== Checking wheels with twine ==="
twine check dist/*
echo "=== Checking wheel contents ==="
check-wheel-contents dist/*.whl
- name: Check if version exists
run: |
Expand Down

0 comments on commit 0345de6

Please sign in to comment.