From 31a97b52f3cf862efd943db4874ba919543c9061 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 6 Oct 2023 20:01:32 -0400 Subject: [PATCH] BLD: Remove development dependencies from sdists Also, backport #26699. --- .github/workflows/cibuildwheel.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 83eac197d4ba..3fa922f404fb 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -64,6 +64,9 @@ jobs: run: | python -m build --sdist python ci/export_sdist_name.py + env: + # Prevent including development runtime dependencies in metadata. + CIBUILDWHEEL: 1 - name: Check README rendering for PyPI run: twine check dist/* @@ -87,7 +90,7 @@ jobs: 'CI: Run cibuildwheel') ) needs: build_sdist - name: Build wheels on ${{ matrix.os }} + name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }} runs-on: ${{ matrix.os }} env: CIBW_BEFORE_BUILD: >-