Skip to content

Commit

Permalink
add back python 3.10 and remove windows from wheels builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 14, 2024
1 parent 16660e3 commit cb74451
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit cb74451

Please sign in to comment.