Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See if can upgarde pypy on CI #58

Merged
merged 4 commits into from
Jun 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ 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:
# Failures due to lack of numpy wheels
# 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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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())"
Expand Down
2 changes: 2 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down