Skip to content

Commit 4624469

Browse files
committed
Merge branch 'main' of github.com:atksh/python_prtree
2 parents 09c55ba + 1d7f507 commit 4624469

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

.github/workflows/cibuildwheel.yml

+16-17
Original file line numberDiff line numberDiff line change
@@ -163,53 +163,52 @@ jobs:
163163
macosx_deployment_target: 10.14
164164
arch: x86_64
165165

166-
# MacOS arm
166+
# MacOS arm64
167167
- os: macos-14
168168
python: 38
169-
platform_id: macosx_arm
169+
platform_id: macosx_arm64
170170
macosx_deployment_target: 11.7
171-
arch: arm
171+
arch: arm64
172172
- os: macos-14
173173
python: 39
174-
platform_id: macosx_arm
174+
platform_id: macosx_arm64
175175
macosx_deployment_target: 11.7
176-
arch: arm
176+
arch: arm64
177177
- os: macos-14
178178
python: 310
179-
platform_id: macosx_arm
179+
platform_id: macosx_arm64
180180
macosx_deployment_target: 11.7
181-
arch: arm
181+
arch: arm64
182182
- os: macos-14
183183
python: 311
184-
platform_id: macosx_arm
184+
platform_id: macosx_arm64
185185
macosx_deployment_target: 11.7
186-
arch: arm
186+
arch: arm64
187187
- os: macos-14
188188
python: 312
189-
platform_id: macosx_arm
189+
platform_id: macosx_arm64
190190
macosx_deployment_target: 11.7
191-
arch: arm
191+
arch: arm64
192192

193193

194194
steps:
195195
- uses: actions/checkout@v2
196196
with:
197197
submodules: recursive
198-
- uses: actions/setup-python@v2
198+
- uses: actions/setup-python@v5
199199
name: Install Python
200200
with:
201-
python-version: 3.9
201+
python-version: '3.10'
202202
- name: Set up QEMU
203203
if: runner.os == 'Linux'
204204
uses: docker/setup-qemu-action@v1
205205
with:
206206
platforms: all
207207
- name: Build wheels
208-
uses: pypa/cibuildwheel@v2.4.0
208+
uses: pypa/cibuildwheel@v2.17.0
209209
env:
210210
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}
211211
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
212-
CIBW_TEST_SKIP: "*-macosx_arm"
213212
CIBW_BEFORE_BUILD: pip install pybind11
214213
CIBW_TEST_COMMAND: pytest {project}/tests -vv
215214
CIBW_TEST_REQUIRES: pytest numpy
@@ -227,10 +226,10 @@ jobs:
227226
- uses: actions/checkout@v2
228227
with:
229228
submodules: recursive
230-
- uses: actions/setup-python@v2
229+
- uses: actions/setup-python@v5
231230
name: Install Python
232231
with:
233-
python-version: 3.9
232+
python-version: '3.10'
234233
- name: Build sdist
235234
run: python setup.py sdist
236235
- uses: actions/upload-artifact@v2

requirements.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
numpy>=1.16,<2.0
2-
pybind11; platform_machine != "x86_64" and platform_machine != "amd64" and platform_machine != "AMD64" and sys_platform == 'darwin' # for m1 mac
3-
cmake; platform_machine != "x86_64" and platform_machine != "amd64" and platform_machine != "AMD64" and sys_platform == 'darwin' # for m1 mac
1+
numpy>=1.16,<2.0

0 commit comments

Comments
 (0)