Skip to content

Commit ed7fca1

Browse files
committed
Try again with old build wheels
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent bb31b78 commit ed7fca1

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,11 @@ jobs:
4141
os: # see scipy wheels.yml GH actions
4242
- [ubuntu-22.04, manylinux, x86_64]
4343
- [macos-11, macosx, x86_64]
44+
# - [macos-12, macosx_*, arm64]
4445
- [windows-2019, win, AMD64]
4546

47+
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]
4648
# python[0] is used to specify the python versions made by cibuildwheel
47-
python:
48-
[
49-
["cp39", "3.9"],
50-
["cp310", "3.10"],
51-
["cp311", "3.11"],
52-
["cp312", "3.12"],
53-
]
5449

5550
env:
5651
IS_32_BIT: ${{ matrix.os[2] == 'x86' }}
@@ -92,12 +87,6 @@ jobs:
9287
CIBW_ARCHS: ${{ matrix.os[2] }}
9388
CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS
9489

95-
CIBW_ENVIRONMENT_WINDOWS: >
96-
PKG_CONFIG_PATH=c:/opt/64/lib/pkgconfig
97-
PIP_PRE=1
98-
PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
99-
PIP_NO_BUILD_ISOLATION=false
100-
10190
- uses: actions/upload-artifact@v4
10291
with:
10392
path: ./wheelhouse/
@@ -111,14 +100,8 @@ jobs:
111100
# Ensure that a wheel builder finishes even if another fails
112101
fail-fast: false
113102
matrix:
103+
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]
114104
# python[0] is used to specify the python versions made by cibuildwheel
115-
python:
116-
[
117-
["cp39", "3.9"],
118-
["cp310", "3.10"],
119-
["cp311", "3.11"],
120-
["cp312", "3.12"],
121-
]
122105

123106
steps:
124107
- name: Checkout code
@@ -137,7 +120,7 @@ jobs:
137120
python spin setup-submodule
138121
139122
- name: Build wheels
140-
uses: pypa/cibuildwheel@v2.16.3
123+
uses: pypa/cibuildwheel@v2.16.4
141124
env:
142125
CIBW_BUILD: ${{ matrix.python[0] }}-macosx_arm64
143126
CIBW_ARCHS_MACOS: arm64

0 commit comments

Comments
 (0)