@@ -12,10 +12,11 @@ jobs:
1212    name : Build source distribution 
1313    runs-on : ubuntu-latest 
1414    steps :
15-       - uses : actions/checkout@v3  
15+       - uses : actions/checkout@v4  
1616        with :
1717          submodules : ' true' 
18-       - uses : actions/setup-python@v4 
18+ 
19+       - uses : actions/setup-python@v5 
1920
2021      - name : Install dependencies 
2122        run : | 
4445        run : | 
4546          tools/seg_wrapper.sh pytest tests 
4647
47- uses : actions/upload-artifact@v3  
48+ uses : actions/upload-artifact@v4  
4849        with :
50+           name : artifact-sdist 
4951          path : dist/*.tar.gz 
5052
5153  build_wheels_windows :
@@ -56,21 +58,17 @@ jobs:
5658      fail-fast : false 
5759      matrix :
5860        arch : [auto32, auto64, ARM64] 
59-         python_tag : ["cp38 -*", "cp39 -*", "cp310 -*", "cp311 -*", "cp312 -*", "pp38 -*", "pp39 -*"] 
61+         python_tag : ["cp39 -*", "cp310 -*", "cp311 -*", "cp312 -*", "cp313 -*", "pp39 -*", "pp310 -*"] 
6062        exclude :
6163          #  PyPy only supports x86_64 on Windows
62-           - arch : auto32 
63-             python_tag : " pp38-*" 
6464          - arch : auto32 
6565            python_tag : " pp39-*" 
66- 
67-           #  ARM64 only supported only supported on cpython >= 3.9
68-           - arch : ARM64 
69-             python_tag : " pp38-*" 
66+           - arch : auto32 
67+             python_tag : " pp310-*" 
7068          - arch : ARM64 
7169            python_tag : " pp39-*" 
7270          - arch : ARM64 
73-             python_tag : " cp38 -*" 
71+             python_tag : " pp310 -*" 
7472
7573    env :
7674      CIBW_BUILD : ${{matrix.python_tag}} 
@@ -80,25 +78,26 @@ jobs:
8078      CIBW_BUILD_VERBOSITY : 3 
8179
8280    steps :
83-       - uses : actions/download-artifact@v3  
81+       - uses : actions/download-artifact@v4  
8482        with :
85-           name : artifact 
83+           name : artifact-sdist  
8684          path : dist 
8785
88-       - uses : actions/setup-python@v4  
86+       - uses : actions/setup-python@v5  
8987
9088      - name : Copy wheel 
9189        run : cp dist/*.tar.gz rapidfuzz.tar.gz 
9290
9391      - name : Build wheels 
94-         uses : pypa/cibuildwheel@v2.16.5  
92+         uses : pypa/cibuildwheel@v2.21.1  
9593        with :
9694          package-dir : rapidfuzz.tar.gz 
9795          output-dir : wheelhouse 
9896
9997      - name : Upload wheels 
100-         uses : actions/upload-artifact@v3  
98+         uses : actions/upload-artifact@v4  
10199        with :
100+           name : artifact-${{ github.job }}-${{ strategy.job-index }} 
102101          path : ./wheelhouse/*.whl 
103102
104103  build_wheels_macos :
@@ -109,17 +108,7 @@ jobs:
109108      fail-fast : false 
110109      matrix :
111110        arch : [x86_64, arm64, universal2] 
112-         python_tag : ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "pp38-*", "pp39-*"] 
113-         exclude :
114-           #  PyPy not supported on MacOS Arm
115-           - arch : arm64 
116-             python_tag : " pp38-*" 
117-           - arch : arm64 
118-             python_tag : " pp39-*" 
119-           - arch : universal2 
120-             python_tag : " pp38-*" 
121-           - arch : universal2 
122-             python_tag : " pp39-*" 
111+         python_tag : ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp39-*", "pp310-*"] 
123112    env :
124113      CIBW_BUILD : ${{matrix.python_tag}} 
125114      CIBW_ARCHS : ${{matrix.arch}} 
@@ -129,25 +118,26 @@ jobs:
129118      CIBW_BUILD_VERBOSITY : 3 
130119
131120    steps :
132-       - uses : actions/download-artifact@v3  
121+       - uses : actions/download-artifact@v4  
133122        with :
134-           name : artifact 
123+           name : artifact-sdist  
135124          path : dist 
136125
137-       - uses : actions/setup-python@v4  
126+       - uses : actions/setup-python@v5  
138127
139128      - name : Copy wheel 
140129        run : cp dist/*.tar.gz rapidfuzz.tar.gz 
141130
142131      - name : Build wheels 
143-         uses : pypa/cibuildwheel@v2.16.5  
132+         uses : pypa/cibuildwheel@v2.21.1  
144133        with :
145134          package-dir : rapidfuzz.tar.gz 
146135          output-dir : wheelhouse 
147136
148137      - name : Upload wheels 
149-         uses : actions/upload-artifact@v3  
138+         uses : actions/upload-artifact@v4  
150139        with :
140+           name : artifact-${{ github.job }}-${{ strategy.job-index }} 
151141          path : ./wheelhouse/*.whl 
152142
153143  build_wheels_linux :
@@ -158,17 +148,17 @@ jobs:
158148      fail-fast : false 
159149      matrix :
160150        arch : [auto, aarch64, ppc64le, s390x] 
161-         python_tag : ["cp38 -*", "cp39 -*", "cp310 -*", "cp311 -*", "cp312 -*", "pp38 -*", "pp39 -*"] 
151+         python_tag : ["cp39 -*", "cp310 -*", "cp311 -*", "cp312 -*", "cp313 -*", "pp39 -*", "pp310 -*"] 
162152        exclude :
163153          #  PyPy builds not supported on ppc64le / s390x
164-           - arch : ppc64le 
165-             python_tag : " pp38-*" 
166154          - arch : ppc64le 
167155            python_tag : " pp39-*" 
168-           - arch : s390x 
169-             python_tag : " pp38 -*" 
156+           - arch : ppc64le 
157+             python_tag : " pp310 -*" 
170158          - arch : s390x 
171159            python_tag : " pp39-*" 
160+           - arch : s390x 
161+             python_tag : " pp310-*" 
172162    env :
173163      CIBW_ARCHS_LINUX : ${{matrix.arch}} 
174164      CIBW_BUILD : ${{matrix.python_tag}} 
@@ -178,28 +168,29 @@ jobs:
178168      CIBW_BUILD_VERBOSITY : 3 
179169
180170    steps :
181-       - uses : actions/download-artifact@v3  
171+       - uses : actions/download-artifact@v4  
182172        with :
183-           name : artifact 
173+           name : artifact-sdist  
184174          path : dist 
185175
186-       - uses : actions/setup-python@v4 
187- 
188-       - uses : docker/setup-qemu-action@v2 
189-         name : Set up QEMU 
176+       - uses : actions/setup-python@v5 
190177
191178      - name : Copy wheel 
192179        run : cp dist/*.tar.gz rapidfuzz.tar.gz 
193180
181+       - uses : docker/setup-qemu-action@v3 
182+         name : Set up QEMU 
183+ 
194184      - name : Build wheel 
195-         uses : pypa/cibuildwheel@v2.16.5  
185+         uses : pypa/cibuildwheel@v2.21.1  
196186        with :
197187          package-dir : rapidfuzz.tar.gz 
198188          output-dir : wheelhouse 
199189
200190      - name : Upload wheels 
201-         uses : actions/upload-artifact@v3  
191+         uses : actions/upload-artifact@v4  
202192        with :
193+           name : artifact-${{ github.job }}-${{ strategy.job-index }} 
203194          path : ./wheelhouse/*.whl 
204195
205196  deploy-wheels :
@@ -211,9 +202,10 @@ jobs:
211202    permissions :
212203      id-token : write 
213204    steps :
214-       - uses : actions/download-artifact@v3  
205+       - uses : actions/download-artifact@v4  
215206        with :
216-           name : artifact 
217207          path : dist 
208+           pattern : artifact-* 
209+           merge-multiple : true 
218210
219-       - uses : pypa/gh-action-pypi-publish@v1.8.11 
211+       - uses : pypa/gh-action-pypi-publish@v1.8.11 
0 commit comments