File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ jobs:
3030 - name : Get submodules
3131 run : git submodule update --init --recursive
3232 - name : Build wheels
33- uses : pypa/cibuildwheel@v2.23.3
33+ uses : pypa/cibuildwheel@v4.2.1
3434 env :
3535 CIBW_ARCHS : ${{ matrix.cibw_archs }}
3636 CIBW_SKIP : " pp*"
37+ CIBW_ENABLE : " pypy pypy-eol"
3738 - uses : actions/upload-artifact@v4.6.2
3839 with :
3940 name : wheels
Original file line number Diff line number Diff line change 1919 name : Install Python
2020
2121 - name : Install cibuildwheel
22- run : python -m pip install cibuildwheel==2.23.3
22+ run : python -m pip install cibuildwheel==4.2.1
2323
2424 - name : Get submodules
2525 run : git submodule update --init --recursive
@@ -30,13 +30,15 @@ jobs:
3030 python -m cibuildwheel --output-dir wheels
3131 env :
3232 CIBW_SKIP : " cp27-* pp27-*" # skip Python 2.7 wheels
33+ CIBW_ENABLE : " pypy pypy-eol"
3334
3435 - name : Build wheels for mac and manylinux
3536 if : " !startsWith(matrix.os, 'windows')"
3637 run : |
3738 python -m cibuildwheel --output-dir wheels
3839 env :
39- CIBW_ARCHS_MACOS : " auto x86_64 universal2 arm64"
40+ CIBW_ARCHS_MACOS : " auto auto32 x86_64 universal2 arm64"
41+ CIBW_ENABLE : " pypy pypy-eol"
4042
4143 - uses : actions/upload-artifact@v4.6.2
4244 name : Upload wheels
Original file line number Diff line number Diff line change 1717 name : Install Python
1818
1919 - name : Install cibuildwheel
20- run : python -m pip install cibuildwheel==2.23.3
20+ run : python -m pip install cibuildwheel==4.2.1
2121
2222 - name : Get submodules
2323 run : git submodule update --init --recursive
@@ -28,10 +28,12 @@ jobs:
2828 python -m cibuildwheel --output-dir wheels
2929 env :
3030 CIBW_SKIP : " cp27-* pp27-*" # skip Python 2.7 wheels
31+ CIBW_ENABLE : " pypy pypy-eol"
3132
3233 - name : Build wheels for mac and manylinux
3334 if : " !startsWith(matrix.os, 'windows')"
3435 run : |
3536 python -m cibuildwheel --output-dir wheels
3637 env :
37- CIBW_ARCHS_MACOS : " auto x86_64 universal2 arm64"
38+ CIBW_ARCHS_MACOS : " auto auto32 x86_64 universal2 arm64"
39+ CIBW_ENABLE : " pypy pypy-eol"
Original file line number Diff line number Diff line change @@ -182,6 +182,9 @@ def run(self):
182182 building_for_openbsd = 'openbsd' in self .plat_name # need testing
183183
184184 if building_for_linux :
185+ # glibc/musl only declare memmem() when _GNU_SOURCE is set; GCC 14
186+ # treats the missing prototype as an error.
187+ module .define_macros .append (('_GNU_SOURCE' , '1' ))
185188 module .define_macros .append (('USE_LINUX_PROC' , '1' ))
186189 elif building_for_windows :
187190 module .define_macros .append (('USE_WINDOWS_PROC' , '1' ))
You can’t perform that action at this time.
0 commit comments