From 33a2549a04630d8dcd61917c0d176cab03cb5d53 Mon Sep 17 00:00:00 2001 From: Juan Altmayer Pizzorno Date: Mon, 29 Apr 2024 10:26:17 -0400 Subject: [PATCH] - punting on figuring out "bad bind opcode 0x00" issue on GitHub's MacOS 14 systems; will use MacOS 13 for binary builds and macos-latest for Python 3.12+ (where our distribution is pure Python); --- .github/workflows/tests.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c35bb91..491a702 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,11 +25,19 @@ jobs: python: 3.8 - os: macos-13 python: 3.9 + - os: macos-13 + python: 3.10 + - os: macos-13 + python: 3.11 exclude: - - os: macos-latest + - os: macos-latest # Python 3.8 unavailable on macos-14 python: 3.8 - - os: macos-latest + - os: macos-latest # Python 3.9 unavailable on macos-14 python: 3.9 + - os: macos-latest # "ImportError: dlopen(.../probe.cpython-311-darwin.so, 0x002): bad bind opcode 0x00" + python: 3.10 + - os: macos-latest # "ImportError: dlopen(.../probe.cpython-311-darwin.so, 0x002): bad bind opcode 0x00" + python: 3.11 steps: - uses: actions/checkout@v3 @@ -39,13 +47,10 @@ jobs: python-version: ${{ matrix.python }} allow-prereleases: true - - name: install dependencies + - name: install prereqs and SlipCover run: | - python3 -m pip install -U pip - python3 -m pip install -U wheel setuptools pytest build - python3 -m build - python3 -m pip install dist/*.whl -# python3 -m pip -vvv install --no-use-pep517 . + python3 -m pip install wheel setuptools pytest + python3 -m pip install --no-use-pep517 . - name: install Unix dependencies if: matrix.os != 'windows-latest' @@ -89,7 +94,7 @@ jobs: container: ${{ matrix.container }} strategy: matrix: - python_version: ['3.8', '3.9', '3.10', '3.11'] + python_version: ['3.8', '3.9', '3.10', '3.11', '3.12'] include: - os: ubuntu-latest container: quay.io/pypa/manylinux2014_x86_64 # https://github.com/pypa/manylinux