Skip to content

Commit

Permalink
Fix wheel builds (#212)
Browse files Browse the repository at this point in the history
This commit fixes the wheel builds. The jobs hadn't been updated in a
while and have become stale. The github actions x86 (linux, mac, and
windows) were still trying to build 35 wheel even though python 3.5
support was been dropped in #196. Then the docker image used for the
manylinux2010 build needed to be updated because the pinned version in
cibuildwheel is failing yum because of the centos 6 eol, which has been
fixed on the latest docker image.
  • Loading branch information
mtreinish authored Dec 3, 2020
1 parent 6782e55 commit d289260
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ jobs:
CIBW_BEFORE_ALL_LINUX: "yum install -y wget && {package}/tools/install_rust.sh"
CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin"'
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.9
CIBW_SKIP: cp27-* cp34-* pp* *win32
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux2010_x86_64:latest
CIBW_MANYLINUX_I686_IMAGE: quay.io/pypa/manylinux2010_i686:latest
CIBW_SKIP: cp27-* cp34-* cp35-* pp* *win32
CIBW_BEFORE_BUILD: pip install -U setuptools-rust
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests

- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl
Expand Down Expand Up @@ -88,7 +91,7 @@ jobs:
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.9
CIBW_SKIP: cp27-* cp34-* pp* *amd64
CIBW_SKIP: cp27-* cp34-* cp35-* pp* *amd64
CIBW_BEFORE_BUILD: pip install -U setuptools-rust
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit d289260

Please sign in to comment.