Skip to content

Commit

Permalink
Remove numpy 2.0 workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
tammojan committed Aug 29, 2024
1 parent 5d23a26 commit b8cf533
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ jobs:
brew install casacore
- name: Make virtualenv
# XXX Use Homebrew's numpy to be safe for now, especially since
# PyPI is now on numpy 2.0, which complicates matters
run: python3 -m venv venv --system-site-packages
run: python3 -m venv venv

- name: Install Python dependencies
run: venv/bin/pip install --upgrade pip wheel delocate pytest
Expand All @@ -51,11 +49,9 @@ jobs:
run: cd tests && ../venv/bin/pytest

- name: Make binary wheel
# XXX Use Homebrew's numpy to be safe for now, especially since
# PyPI is now on numpy 2.0, which complicates matters
run: |
venv/bin/pip install --upgrade six scikit-build-core setuptools_scm
venv/bin/pip wheel -w dist --no-build-isolation .
venv/bin/pip wheel -w dist .
- name: Delocate binary wheel
run: venv/bin/delocate-wheel -v dist/*.whl
Expand Down

0 comments on commit b8cf533

Please sign in to comment.