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

Fix numpy ABI compatible and Use CIBuildWheel and github action to build python wheels automatically #67

Merged
merged 29 commits into from
Jun 27, 2022
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
136b4fa
use oldest-supported-numpy; adjust cypthon install requirement setup
Jun 24, 2022
d12468d
add cibuildwheel in github action
Jun 24, 2022
b335840
change the numpy range to 1.14.5, according to the oldest_support_num…
Jun 24, 2022
1cac0a5
change numpy version in setup.py
Jun 24, 2022
865b1f6
test override numpy version for python 3.7
Jun 24, 2022
33173d1
update matrix os variables
Jun 24, 2022
10b3eae
remove unnecessary setup requirement in setup.py
Jun 24, 2022
de1dc82
fix typo?
Jun 24, 2022
36d0ce7
add 3.6
Jun 24, 2022
847c48b
workaround for error in windows os: CCompiler_spawn() got an unexpect…
Jun 24, 2022
aefe5fd
skip pypy 3.7 macos, due to error would build wheel with unsupported …
Jun 24, 2022
e18e9cb
add pytest after build
Jun 24, 2022
6e5d82e
add pytest folder
Jun 24, 2022
d72c34c
add CIBW archs
Jun 24, 2022
bb9341d
indicate tests folder explicitly
Jun 24, 2022
4f598df
fix test in CIBW
Jun 24, 2022
94ae67c
skip pypy37 for mac linux and window
Jun 25, 2022
a145cc1
also skip other pypy for mac linux and window
Jun 25, 2022
a5d8e01
skip all pypy for mac linux and window
Jun 25, 2022
5d98bcf
test cibuildwheel 2.6.1, since 2.7 gives standard_init_linux.go:228:…
Jun 26, 2022
68979af
try use python -m to see if can workaroudn the aarch64 error
Jun 26, 2022
e3cb27c
use different pytest command
Jun 26, 2022
8b55b62
skip linux aarch64
Jun 26, 2022
0a80738
change version name to 0.3.2rc3
Jun 26, 2022
99c1dbb
fix musllinux No lapack/blas resources found
Jun 26, 2022
ef0508f
skip musllinux
Jun 26, 2022
003a2fe
add pypi into release destination
Jun 27, 2022
e05cd62
update version and update release strategy
Jun 27, 2022
c7a15e5
update version and readme
Jun 27, 2022
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
Prev Previous commit
Next Next commit
use different pytest command
  • Loading branch information
Zhe Sun committed Jun 26, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e3cb27cc93168e8b9c8c4d297dc6f29db7c87184
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -22,12 +22,15 @@ jobs:
- platform: linux
os: ubuntu-latest
archs: "x86_64 aarch64"
test_cmd: python -m pytest -ra --capture=no --showlocals {package}/tests
- platform: macos
os: macos-latest
archs: "x86_64 arm64"
test_cmd: pytest -ra --capture=no --showlocals {package}/tests
- platform: windows
os: windows-latest
archs: AMD64
test_cmd: pytest -ra --capture=no --showlocals {package}/tests

runs-on: ${{ matrix.os }}

@@ -36,8 +39,7 @@ jobs:
CIBW_SKIP: pp3*
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_TEST_REQUIRES: pytest pandas
CIBW_TEST_COMMAND: >
python -m pytest -ra --capture=no --showlocals {package}/tests
CIBW_TEST_COMMAND: ${{ matrix.test_cmd }}

steps:
- uses: actions/checkout@v3