8000 BLD: Shrink sdist/wheel sizes by lithomas1 · Pull Request #54052 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BLD: Shrink sdist/wheel sizes #54052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 31, 2023
Prev Previous commit
Next Next commit
try building from sdist again
  • Loading branch information
lithomas1 authored Jul 30, 2023
commit 63c7dabdc4ce3a49f8e03839c210e17a16909528
25 changes: 6 additions & 19 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,34 +104,21 @@ jobs:
with:
fetch-depth: 0

# - name: Download sdist
# uses: actions/download-artifact@v3
# with:
# name: sdist
# path: ./dist

# We need to build wheels from the sdist since the sdist
# removes unnecessary files from the release

- name: Build sdist
run: |
python -m pip install build
python -m build --sdist

- name: Output sdist name
id: save-sdist-path
shell: bash -el {0}
run: echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV"
- name: Download sdist
uses: actions/download-artifact@v3
with:
name: sdist
path: ./dist

- name: Build wheels
uses: pypa/cibuildwheel@v2.14.1
# TODO: Build wheels from sdist again
# There's some sort of weird race condition?
# within Github that makes the sdist be missing files
#with:
# package-dir: ./dist/${{ needs.build_sdist.outputs.sdist_file }}
with:
package-dir: ./dist/${{ env.sdist_name }}
< 49E5 /td> package-dir: ./dist/${{ needs.build_sdist.outputs.sdist_file }}
env:
CIBW_PRERELEASE_PYTHONS: True
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
Expand Down
0