Skip to content

Commit dcc6ddc

Browse files
committed
Remove unneeded sdist verification
At this point in the pipeline, if the pyx file is not present in the sdist, the pipeline should have failed before at the cibuildwheel step.
1 parent a7d3e33 commit dcc6ddc

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -230,26 +230,6 @@ jobs:
230230
python -m twine check dist/*.tar.gz
231231
python -m twine check dist/*.whl
232232
233-
- name: Verify sdist content
234-
run: |
235-
mkdir -p /tmp/sdist_test
236-
237-
# Find and extract basemap sdist
238-
BASEMAP_SDIST=$(ls dist/basemap-*.tar.gz 2>/dev/null || ls dist/*basemap*.tar.gz 2>/dev/null | head -1)
239-
tar -xvf "$BASEMAP_SDIST" -C /tmp/sdist_test
240-
241-
# Verify contents
242-
echo "Files in extracted sdist:"
243-
find /tmp/sdist_test -type f | grep -v "__pycache__" | sort
244-
245-
# Check for critical files
246-
if [ -f "$(find /tmp/sdist_test -name "_geoslib.pyx")" ]; then
247-
echo "✓ Source files verified in sdist"
248-
else
249-
echo "✗ Missing critical source files in sdist"
250-
exit 1
251-
fi
252-
253233
upload:
254234
name: Upload packages
255235
needs: [build_data, build_sdist, build_wheels, check]

0 commit comments

Comments
 (0)