1212 package-source :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
16- - uses : actions/setup-python@v2
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
1717 with :
1818 python-version : " 3.9"
1919 - name : Prepare C files to include
2525 - name : Build source package
2626 run : python -m build --sdist
2727 - name : Upload source package
28- uses : actions/upload-artifact@v2
28+ uses : actions/upload-artifact@v4
2929 with :
30- name : dist
30+ name : dist-source
3131 path : dist/
3232
3333 package-wheel :
@@ -49,17 +49,17 @@ jobs:
4949 - os : windows-latest
5050 arch : amd64
5151 steps :
52- - uses : actions/checkout@v2
53- - uses : actions/setup-python@v2
52+ - uses : actions/checkout@v4
53+ - uses : actions/setup-python@v5
5454 with :
5555 python-version : " 3.9"
5656 - name : Set up QEMU
5757 if : ${{ matrix.arch == 'aarch64' }}
58- uses : docker/setup-qemu-action@v1
58+ uses : docker/setup-qemu-action@v3
5959 - name : Build wheels
6060 env :
6161 CIBW_ARCHS_LINUX : ${{matrix.arch}}
62- CIBW_BUILD : cp38-* cp39-* cp310-* cp311-* cp312-*
62+ CIBW_BUILD : cp39-* cp310-* cp311-* cp312-* cp313 -*
6363 CIBW_SKIP : ' *-musllinux*'
6464 CIBW_BEFORE_BUILD_LINUX : pip install -r requirements-cython.txt && yum install -y zlib-devel
6565 # On windows and mac we should have z library preinstalled
7171 cibuildwheel --output-dir dist
7272 shell : bash
7373 - name : Upload wheels
74- uses : actions/upload-artifact@v2
74+ uses : actions/upload-artifact@v4
7575 with :
76- name : dist
76+ name : dist-${{ matrix.os }}-${{ matrix.arch }}
7777 path : dist/
7878
7979 test-wheels-windows :
@@ -96,14 +96,14 @@ jobs:
9696 aiokafka_whl : dist/aiokafka-*-cp313-cp313-win_amd64.whl
9797
9898 steps :
99- - uses : actions/checkout@v2
99+ - uses : actions/checkout@v4
100100 - name : Download distributions
101- uses : actions/download-artifact@v2
101+ uses : actions/download-artifact@v4
102102 with :
103- name : dist
103+ name : dist-windows-latest-amd64
104104 path : dist/
105105 - name : Set up Python
106- uses : actions/setup-python@v2
106+ uses : actions/setup-python@v5
107107 with :
108108 python-version : ${{ matrix.python }}
109109
@@ -141,14 +141,14 @@ jobs:
141141 aiokafka_whl : dist/aiokafka-*-cp313-cp313-macosx_*_x86_64.whl
142142
143143 steps :
144- - uses : actions/checkout@v2
144+ - uses : actions/checkout@v4
145145 - name : Download distributions
146- uses : actions/download-artifact@v2
146+ uses : actions/download-artifact@v4
147147 with :
148- name : dist
148+ name : dist-macos-13-x86_64
149149 path : dist/
150150 - name : Set up Python
151- uses : actions/setup-python@v2
151+ uses : actions/setup-python@v5
152152 with :
153153 python-version : ${{ matrix.python }}
154154
@@ -184,14 +184,14 @@ jobs:
184184 aiokafka_whl : dist/aiokafka-*-cp313-cp313-macosx_*_arm64.whl
185185
186186 steps :
187- - uses : actions/checkout@v2
187+ - uses : actions/checkout@v4
188188 - name : Download distributions
189- uses : actions/download-artifact@v2
189+ uses : actions/download-artifact@v4
190190 with :
191- name : dist
191+ name : dist-macos-latest-arm64
192192 path : dist/
193193 - name : Set up Python
194- uses : actions/setup-python@v2
194+ uses : actions/setup-python@v5
195195 with :
196196 python-version : ${{ matrix.python }}
197197
@@ -227,14 +227,14 @@ jobs:
227227 aiokafka_whl : dist/aiokafka-*-cp313-cp313-manylinux*_x86_64.whl
228228
229229 steps :
230- - uses : actions/checkout@v2
230+ - uses : actions/checkout@v4
231231 - name : Download distributions
232- uses : actions/download-artifact@v2
232+ uses : actions/download-artifact@v4
233233 with :
234- name : dist
234+ name : dist-ubuntu-latest-x86_64
235235 path : dist/
236236 - name : Set up Python
237- uses : actions/setup-python@v2
237+ uses : actions/setup-python@v5
238238 with :
239239 python-version : ${{ matrix.python }}
240240
@@ -264,8 +264,6 @@ jobs:
264264 strategy :
265265 matrix :
266266 include :
267- - pyver : cp38-cp38
268- aiokafka_whl : dist/aiokafka-*-cp38-cp38-manylinux*_aarch64.whl
269267 - pyver : cp39-cp39
270268 aiokafka_whl : dist/aiokafka-*-cp39-cp39-manylinux*_aarch64.whl
271269 - pyver : cp310-cp310
@@ -274,16 +272,18 @@ jobs:
274272 aiokafka_whl : dist/aiokafka-*-cp311-cp311-manylinux*_aarch64.whl
275273 - pyver : cp312-cp312
276274 aiokafka_whl : dist/aiokafka-*-cp312-cp312-manylinux*_aarch64.whl
275+ - pyver : cp313-cp313
276+ aiokafka_whl : dist/aiokafka-*-cp313-cp313-manylinux*_aarch64.whl
277277
278278 steps :
279- - uses : actions/checkout@v2
279+ - uses : actions/checkout@v4
280280 - name : Set up QEMU
281281 id : qemu
282- uses : docker/setup-qemu-action@v1
282+ uses : docker/setup-qemu-action@v3
283283 - name : Download distributions
284- uses : actions/download-artifact@v2
284+ uses : actions/download-artifact@v4
285285 with :
286- name : dist
286+ name : dist-ubuntu-latest-aarch64
287287 path : dist/
288288 - name : Test Wheel
289289 run : |
@@ -320,11 +320,12 @@ jobs:
320320 https://pypi.org/project/aiokafka/${{ github.ref_name }}
321321
322322 steps :
323- - uses : actions/checkout@v2
323+ - uses : actions/checkout@v4
324324 - name : Download distributions
325- uses : actions/download-artifact@v2
325+ uses : actions/download-artifact@v4
326326 with :
327- name : dist
328327 path : dist/
328+ pattern : dist-*
329+ merge-multiple : true
329330 - name : Publish to PyPI
330331 uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments