From 20adbdb6c3b33d7429af457223aa7a5f18485f4b Mon Sep 17 00:00:00 2001 From: Marc Culler Date: Tue, 3 Sep 2024 13:50:22 -0600 Subject: [PATCH] try to get cython installed. --- .github/workflows/linux.yml | 6 +++--- .github/workflows/macos.yml | 4 ++-- .github/workflows/windows.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e3bb669..5085447 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -20,15 +20,15 @@ jobs: - name: Install cibuildwheel run: | - python3 -m pip install cibuildwheel + python3.10 -m pip install cibuildwheel - name: Build wheels run: | - python3 -m cibuildwheel --output-dir wheelhouse + python3.10 -m cibuildwheel --output-dir wheelhouse env: CIBW_BUILD: cp39-manylinux_x86-64 cp310-manylinux_x86_64 cp311-manylinux_x86-64 cp312-manylinux_x86_64 CIBW_BEFORE_BUILD: | - pip3 install cython>=3.0.0 + python -m pip install Cython>=3.0.0 CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel} CIBW_TEST_COMMAND: python -m cypari.test diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 504a99a..62397ff 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -19,7 +19,7 @@ jobs: python-version: 3.12 - name: Install cibuildwheel run: | - python -m pip install cibuildwheel + python3.12 -m pip install cibuildwheel - name: Build wheels run: | @@ -28,7 +28,7 @@ jobs: CIBW_BUILD: cp312-* cp311-* cp310-* cp39-* CIBW_ARCHS_MACOS: "x86_64 arm64 universal2" CIBW_BEFORE_BUILD: | - pip install cython>=3.0.0 + python -m pip install Cython>=3.0.0 CIBW_TEST_COMMAND: python -m cypari.test - uses: actions/upload-artifact@v2 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 37cc822..f160bab 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,7 +39,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel + python3.12 -m pip install cibuildwheel - name: Build gmp and pari run: | @@ -47,12 +47,12 @@ jobs: - name: Build many wheels run: | - python -m cibuildwheel --output-dir wheelhouse + python3.12 -m cibuildwheel --output-dir wheelhouse env: CIBW_ARCHS: AMD64 CIBW_BUILD: cp312-* cp311-* cp310-* cp39-* CIBW_BEFORE_BUILD: | - pip install cython + python -m pip install Cython>=3.0.0 CIBW_TEST_COMMAND: python -m cypari.test - uses: actions/upload-artifact@v3