From fd1429196381afc2461d7d3650cf58e41c82e902 Mon Sep 17 00:00:00 2001 From: Ben Jeffery Date: Wed, 10 Jul 2024 11:45:27 +0100 Subject: [PATCH] Fix wheel building --- .github/workflows/docker/buildwheel.sh | 1 + .github/workflows/wheels.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/docker/buildwheel.sh b/.github/workflows/docker/buildwheel.sh index b81bd13..0187f47 100644 --- a/.github/workflows/docker/buildwheel.sh +++ b/.github/workflows/docker/buildwheel.sh @@ -11,6 +11,7 @@ echo "arch=$ARCH" for V in "${PYTHON_VERSIONS[@]}"; do PYBIN=/opt/python/$V/bin rm -rf build/ # Avoid lib build by narrow Python is used by wide python + $PYBIN/python pip install build $PYBIN/python -m build --wheel done diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f0380eb..f5ad3d5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -27,6 +27,7 @@ jobs: - name: Build sdist shell: bash run: | + python -m pip install build python -m build --sdist - name: Upload sdist