From cb744516d3c7c4c6d1268f58ce80842ec160feba Mon Sep 17 00:00:00 2001 From: jcschaff Date: Fri, 14 Jun 2024 17:44:01 -0400 Subject: [PATCH] add back python 3.10 and remove windows from wheels builds --- .github/workflows/pip.yml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 6e8861c3..7387d151 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -17,13 +17,14 @@ jobs: strategy: fail-fast: false matrix: - platform: [windows-latest, macos-13, macos-14, ubuntu-latest] - python-version: ["3.9","3.11","3.12"] - exclude: - - platform: windows-latest - python-version: "3.9" - - platform: windows-latest - python-version: "3.12" + #platform: [ windows-latest, macos-13, macos-14, ubuntu-latest ] + platform: [ macos-13, macos-14, ubuntu-latest ] + python-version: ["3.9","3.10","3.11","3.12"] +# exclude: +# - platform: windows-latest +# python-version: "3.9" +# - platform: windows-latest +# python-version: "3.12" steps: - uses: actions/checkout@v4 @@ -139,6 +140,18 @@ jobs: pip install dist/*.whl if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.9' + - name: Build and install manylinux for python 3.10 + run: | + docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 \ + /bin/bash -c \ + "yum install -y boost-devel hdf5-devel ninja-build && \ + /opt/python/cp310-cp310/bin/pip wheel /io/ -w /io/dist && \ + auditwheel repair /io/dist/*.whl -w /io/dist/" + echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name" + sudo rm -rf dist/*-linux_x86_64.whl + pip install dist/*.whl + if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.10' + - name: Build and install manylinux for python 3.11 run: | docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 \