From 7f79d45a87ef7d5701a73cc1be71586ee4a7637c Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Sun, 4 Jun 2023 14:40:15 -0600 Subject: [PATCH 1/4] Try this --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35ebe4ad..d120c69e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.6'] # 'pypy-3.7' + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.9'] # 'pypy-3.7' os: [windows-latest, ubuntu-latest, macos-latest] architecture: ['x86', 'x64'] exclude: @@ -21,13 +21,13 @@ jobs: # numpy.distutils.system_info.NotFoundError: No lapack/blas resources found. # even 32 bit pypy2 or pypy3 doesn't work - os: windows-latest - python-version: pypy-3.6 + python-version: pypy3.9 - os: windows-latest python-version: pypy-3.7 # pypy2 Failure building pandas wheels # pypy3 error: library mach has Fortran sources but no Fortran compiler found - os: macos-latest - python-version: pypy-3.6 + python-version: pypy3.9 - os: macos-latest python-version: pypy-3.7 # no python builds available on macos 32 bit From 430d478564e250f3279c682320ad2b35eea3a875 Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Sun, 4 Jun 2023 14:50:16 -0600 Subject: [PATCH 2/4] Try upgarde version of action --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d120c69e..c9cb4a7b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,9 +52,9 @@ jobs: - os: ubuntu-latest python-version: 3.6 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: ${{ matrix.architecture }} From aebfe55f445ff0afbbaf68ac22fe11f8dd6db483 Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Sun, 4 Jun 2023 15:07:06 -0600 Subject: [PATCH 3/4] Try this from scipy --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9cb4a7b..eab785e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,6 +84,13 @@ jobs: restore-keys: | ${{ runner.os }}-${{ runner.architecture }}-${{ runner.python-version }}pip- + - name: Install Ubuntu dependencies + if: startsWith(runner.os, 'Linux') + run: | + # Taken from scipy + sudo apt-get update + sudo apt-get install -y libopenblas-dev libatlas-base-dev liblapack-dev gfortran libgmp-dev libmpfr-dev libsuitesparse-dev ccache libmpc-dev + - name: Install dependencies run: | python -c "import platform; print(platform.platform()); print(platform.architecture())" From f3f3c7e82a6445ed7fcb0da1ccc513949200a83f Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Sun, 4 Jun 2023 15:48:19 -0600 Subject: [PATCH 4/4] Pypy working again (not pandas, so disabled those tests) --- conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conftest.py b/conftest.py index bd35eedb..d4cf932c 100644 --- a/conftest.py +++ b/conftest.py @@ -12,6 +12,8 @@ def pytest_ignore_collect(path): return True if 'conf.py' in path: return True + if 'is_pypy' and 'test_spa' in path: + return True if ver_tup < (3, 7) or ver_tup >= (3, 12) or is_pypy: # numba does not yet run under pypy if 'numba' in path: