Skip to content

Commit

Permalink
mod build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoli committed Aug 1, 2024
1 parent e7585f7 commit 7d45f08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,15 @@ jobs:
env:
CIBW_BUILD: "cp311-macosx_x86_64" # cp38-macosx_x86_64 cp311-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64"
CIBW_BEFORE_ALL: brew install libomp
CIBW_BEFORE_BUILD_MACOS: >
python -m pip install -U setuptools numpy cython
# CIBW_BEFORE_BUILD_MACOS: |
run: python -m cibuildwheel --platform macos --output-dir dist

- name: Build linux wheels
if: matrix.os == 'ubuntu-latest'
env:
CIBW_BUILD: "cp37-manylinux_x86_64" # cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 "
CIBW_BEFORE_BUILD_LINUX: >
python -m pip install -U setuptools numpy cython
# CIBW_BEFORE_BUILD_LINUX: >
# python -m pip install -U setuptools "numpy<2" cython

run: python -m cibuildwheel --platform linux --output-dir dist

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
numpy
setuptools
numpy<2
Cython
wheel
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"pyspark",
"distributed",
"dask",
"numpy<=1.24.6",
"numpy<2",
],
"pyspark": [
"pyspark",
Expand Down

0 comments on commit 7d45f08

Please sign in to comment.