5151 - name : Build wheels
5252 env :
5353 CIBW_ARCHS_LINUX : ${{matrix.arch}}
54- CIBW_BUILD : cp36-* cp37-* cp38-* cp39-*
54+ CIBW_BUILD : cp37-* cp38-* cp39-* cp310 -*
5555 CIBW_SKIP : ' *-musllinux*'
5656 CIBW_BEFORE_BUILD_LINUX : pip install -r requirements-cython.txt && yum install -y zlib-devel
5757 # On windows and mac we should have z library preinstalled
@@ -74,19 +74,14 @@ jobs:
7474
7575 strategy :
7676 matrix :
77- python : [3.6, 3.7, 3.8, 3.9]
77+ # 3.10 is excluded because docker's dependency on pywin32==227
78+ python : ["3.7", "3.8", "3.9"]
7879 include :
79- - python : 3.6
80- snappy_whl : tools/python_snappy-0.5.4-cp36-cp36m-win_amd64.whl
81- aiokafka_whl : dist/aiokafka-*-cp36-cp36m-win_amd64.whl
82- - python : 3.7
83- snappy_whl : tools/python_snappy-0.5.4-cp37-cp37m-win_amd64.whl
80+ - python : " 3.7"
8481 aiokafka_whl : dist/aiokafka-*-cp37-cp37m-win_amd64.whl
85- - python : 3.8
86- snappy_whl : tools/python_snappy-0.5.4-cp38-cp38-win_amd64.whl
82+ - python : " 3.8"
8783 aiokafka_whl : dist/aiokafka-*-cp38-cp38-win_amd64.whl
88- - python : 3.9
89- snappy_whl : tools/python_snappy-0.5.4-cp39-cp39-win_amd64.whl
84+ - python : " 3.9"
9085 aiokafka_whl : dist/aiokafka-*-cp39-cp39-win_amd64.whl
9186
9287 steps :
10499 - name : Install python dependencies
105100 run : |
106101 pip install --upgrade pip setuptools wheel
107- pip install ${{ matrix.snappy_whl }}
108102 pip install -r requirements-win-test.txt
109103 pip install ${{ matrix.aiokafka_whl }}
110104 shell : bash
@@ -122,16 +116,16 @@ jobs:
122116
123117 strategy :
124118 matrix :
125- python : [3.6, 3.7, 3.8, 3.9 ]
119+ python : ["3.7", "3.8", "3.9", "3.10" ]
126120 include :
127- - python : 3.6
128- aiokafka_whl : dist/aiokafka-*-cp36-cp36m-macosx_10_9_x86_64.whl
129- - python : 3.7
121+ - python : " 3.7"
130122 aiokafka_whl : dist/aiokafka-*-cp37-cp37m-macosx_10_9_x86_64.whl
131- - python : 3.8
123+ - python : " 3.8"
132124 aiokafka_whl : dist/aiokafka-*-cp38-cp38-macosx_10_9_x86_64.whl
133- - python : 3.9
125+ - python : " 3.9"
134126 aiokafka_whl : dist/aiokafka-*-cp39-cp39-macosx_10_9_x86_64.whl
127+ - python : " 3.10"
128+ aiokafka_whl : dist/aiokafka-*-cp310-cp310-macosx_10_9_x86_64.whl
135129
136130 steps :
137131 - uses : actions/checkout@v2
@@ -166,16 +160,16 @@ jobs:
166160
167161 strategy :
168162 matrix :
169- python : [3.6, 3.7, 3.8.5, 3.9 ]
163+ python : ["3.7", "3.8", "3.9", "3.10" ]
170164 include :
171- - python : 3.6
172- aiokafka_whl : dist/aiokafka-*-cp36-cp36m-manylinux*_x86_64.whl
173- - python : 3.7
165+ - python : " 3.7"
174166 aiokafka_whl : dist/aiokafka-*-cp37-cp37m-manylinux*_x86_64.whl
175- - python : 3.8.5
167+ - python : " 3.8"
176168 aiokafka_whl : dist/aiokafka-*-cp38-cp38-manylinux*_x86_64.whl
177- - python : 3.9
169+ - python : " 3.9"
178170 aiokafka_whl : dist/aiokafka-*-cp39-cp39-manylinux*_x86_64.whl
171+ - python : " 3.10"
172+ aiokafka_whl : dist/aiokafka-*-cp310-cp310-manylinux*_x86_64.whl
179173
180174 steps :
181175 - uses : actions/checkout@v2
@@ -200,8 +194,6 @@ jobs:
200194 pip install ${{ matrix.aiokafka_whl }}
201195
202196 - name : Run Unit Tests
203- # FIXME 3.8.6 and 3.9.0 have broken `wait_for`
204- if : ${{ matrix.python != '3.9' }}
205197 run : |
206198 # Remove source code to be sure we use wheel code
207199 rm -rf aiokafka
@@ -217,14 +209,14 @@ jobs:
217209 strategy :
218210 matrix :
219211 include :
220- - pyver : cp36-cp36m
221- aiokafka_whl : dist/aiokafka-*-cp36-cp36m-manylinux*_aarch64.whl
222212 - pyver : cp37-cp37m
223213 aiokafka_whl : dist/aiokafka-*-cp37-cp37m-manylinux*_aarch64.whl
224214 - pyver : cp38-cp38
225215 aiokafka_whl : dist/aiokafka-*-cp38-cp38-manylinux*_aarch64.whl
226216 - pyver : cp39-cp39
227217 aiokafka_whl : dist/aiokafka-*-cp39-cp39-manylinux*_aarch64.whl
218+ - pyver : cp310-cp310
219+ aiokafka_whl : dist/aiokafka-*-cp310-cp310-manylinux*_aarch64.whl
228220
229221 steps :
230222 - uses : actions/checkout@v2
0 commit comments