From 3d213c3b8e9ed510f1a107d58195976a56decb32 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 1 Nov 2023 06:04:21 -0500 Subject: [PATCH] WIP --- .github/workflows/python.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index da54e590..803ba6d4 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -60,8 +60,10 @@ jobs: curl -Lfo "$pkg" \ "https://www.python.org/ftp/python/${{ matrix.upstream-python }}/python-${{ matrix.upstream-python }}-macos11.pkg" sudo installer -pkg "$pkg" -target / + export PATH="/usr/local/bin:$PATH" python -V pip -V + echo "PATH=$PATH" >> $GITHUB_ENV - name: Install Python tools run: | python -m pip install --upgrade pip @@ -89,12 +91,16 @@ jobs: auditwheel repair --only-plat -w dist old/*whl ;; macos-*) - if [ ! -e dist/*universal2* ]; then - echo "Wheel is not universal:" - ls dist - exit 1 - fi - ;; + case "${{ matrix.python-version }}" in + 3.8) ;; # no universal support + *) + if [ ! -e dist/*universal2* ]; then + echo "Wheel is not universal:" + ls dist + exit 1 + fi + ;; + esac esac basename=openslide-python-wheels-$GITHUB_RUN_NUMBER-$(echo $GITHUB_SHA | cut -c-10) mkdir -p "artifacts/${basename}"