# HG changeset patch
# User Paul Kehrer <paul.l.kehrer@gmail.com>
# Date 1596339454 18000
#      Sat Aug 01 22:37:34 2020 -0500
# Node ID 7e59fa181414cb3f1dece12def15c944110dd32e
# Parent  76855da7709f60e1933c42fc0f4d1f553312a349
more flailing with aarch64

diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml
--- a/.github/workflows/wheel-builder.yml
+++ b/.github/workflows/wheel-builder.yml
@@ -123,7 +123,6 @@
      strategy:
        matrix:
          PYTHON: ["cp35-cp35m"]
-       fail-fast: false
      steps:
      - uses: actions/checkout@v2
      - run: |
@@ -131,16 +130,18 @@
      - uses: docker://quay.io/pypa/manylinux2014_aarch64
        with:
         args: |
-              bash -c "/opt/python/${{ matrix.PYTHON }}/bin/pip install virtualenv;
+              bash -c "set -xe;
+              /opt/python/${{ matrix.PYTHON }}/bin/pip install virtualenv;
               /opt/python/${{ matrix.PYTHON }}/bin/python -m virtualenv .venv;
-              .venv/bin/pip install -U pip==10.0.1 # downgrade pip for reasons we can't remember but are definitely needed
               .venv/bin/pip install setuptools wheel cffi six;
+              .venv/bin/pip install -U pip==10.0.1; # downgrade pip for reasons we can't remember but are definitely needed
               REGEX='cp3([0-9])*';
               if [[ ${{ matrix.PYTHON }} =~ $REGEX ]]; then
                   PY_LIMITED_API=\"--build-option --py-limited-api=cp3${BASH_REMATCH[1]}\";
               fi;
               .venv/bin/pip wheel bcrypt --no-binary bcrypt --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API;
               auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/;
+              .venv/bin/pip install -U pip; # upgrade so it knows how to install a manylinux2014 wheel, sigh
               .venv/bin/pip install bcrypt --no-index -f wheelhouse/;
               .venv/bin/python -c \"import bcrypt; password = b'super secret password';hashed = bcrypt.hashpw(password, bcrypt.gensalt());bcrypt.checkpw(password, hashed)\";"
      - run: mkdir bcrypt-wheelhouse