File tree Expand file tree Collapse file tree 3 files changed +7
-16
lines changed
Expand file tree Collapse file tree 3 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -233,23 +233,10 @@ jobs:
233233 - uses : actions/checkout@v4
234234 with :
235235 fetch-depth : ${{ env.git-depth }}
236- - name : Set up QEMU
237- if : ${{ matrix.arch == 'aarch64' }}
238- uses : docker/setup-qemu-action@v3
239236 - name : Checkout submodules
240- run : |
241- git submodule update --init --recursive --depth 1
242- - name : Set up Python
243- uses : actions/setup-python@v5
244- with :
245- python-version : " 3.x"
246- - name : Install Python dependencies
247- run : |
248- python -m pip install --upgrade pip
249- pip install cibuildwheel==2.23.3
237+ run : git submodule update --init --recursive --depth 1
250238 - name : Build wheels
251- run : |
252- python -m cibuildwheel --output-dir wheelhouse
239+ uses : pypa/cibuildwheel@v3.0.0
253240 env :
254241 CIBW_BUILD : ${{ matrix.build }}
255242 CIBW_ARCHS_LINUX : ${{ matrix.arch }}
@@ -312,7 +299,7 @@ jobs:
312299 # Downloads SDL for the later step.
313300 run : python build_sdl.py
314301 - name : Build wheels
315- uses : pypa/cibuildwheel@v2.23.3
302+ uses : pypa/cibuildwheel@v3.0.0
316303 env :
317304 CIBW_BUILD : ${{ matrix.python }}
318305 CIBW_ARCHS_MACOS : x86_64 arm64 universal2
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ def walk_sources(directory: str) -> Iterator[str]:
199199 "-fPIC" ,
200200 "-Wno-deprecated-declarations" ,
201201 "-Wno-discarded-qualifiers" , # Ignore discarded restrict qualifiers.
202+ "-Wno-error=implicit-function-declaration" , # From zlib sources
202203 ],
203204}
204205
Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ filterwarnings = [
9999 " ignore:'import tcod as libtcodpy' is preferred." ,
100100]
101101
102+ [tool .cibuildwheel ] # https://cibuildwheel.pypa.io/en/stable/options/
103+ enable = [" pypy" ]
104+
102105[tool .mypy ]
103106files = [" ." ]
104107python_version = " 3.10"
You can’t perform that action at this time.
0 commit comments