@@ -147,23 +147,23 @@ jobs:
147147 run : python3 -m poetry build --format=sdist
148148 if : startsWith(matrix.os, 'ubuntu')
149149
150+ - uses : astral-sh/setup-uv@v4 # required to use `uv` in cibuildwheel
151+
150152 - name : Build wheels
151153152154 with :
153155 output-dir : wheelhouse
154156 config-file : " pyproject.toml"
155157 env :
158+ CIBW_BUILD_FRONTEND : " build[uv]"
156159 # Ignore 32 bit architectures
157160 CIBW_ARCHS : " auto64"
158161 CIBW_PROJECT_REQUIRES_PYTHON : " >=3.9,<3.13"
159162 CIBW_TEST_REQUIRES : " pytest==7.4.2 moto==5.0.1"
160- CIBW_TEST_EXTRAS : " s3fs,glue"
161163 CIBW_TEST_COMMAND : " pytest {project}/tests/avro/test_decoder.py"
162- # There is an upstream issue with installing on MacOSX
163- # https://github.com/pypa/cibuildwheel/issues/1603
164164 # Ignore tests for pypy since not all dependencies are compiled for it
165165 # and would require a local rust build chain
166- CIBW_TEST_SKIP : " pp* *macosx* "
166+ CIBW_TEST_SKIP : " pp*"
167167
168168 - name : Add source distribution
169169 if : startsWith(matrix.os, 'ubuntu')
@@ -226,23 +226,23 @@ jobs:
226226 run : python3 -m poetry build --format=sdist
227227 if : startsWith(matrix.os, 'ubuntu')
228228
229+ - uses : astral-sh/setup-uv@v4 # required to use `uv` in cibuildwheel
230+
229231 - name : Build wheels
230232231233 with :
232234 output-dir : wheelhouse
233235 config-file : " pyproject.toml"
234236 env :
237+ CIBW_BUILD_FRONTEND : " build[uv]"
235238 # Ignore 32 bit architectures
236239 CIBW_ARCHS : " auto64"
237240 CIBW_PROJECT_REQUIRES_PYTHON : " >=3.9,<3.13"
238241 CIBW_TEST_REQUIRES : " pytest==7.4.2 moto==5.0.1"
239- CIBW_TEST_EXTRAS : " s3fs,glue"
240242 CIBW_TEST_COMMAND : " pytest {project}/tests/avro/test_decoder.py"
241- # There is an upstream issue with installing on MacOSX
242- # https://github.com/pypa/cibuildwheel/issues/1603
243243 # Ignore tests for pypy since not all dependencies are compiled for it
244244 # and would require a local rust build chain
245- CIBW_TEST_SKIP : " pp* *macosx* "
245+ CIBW_TEST_SKIP : " pp*"
246246
247247 - name : Add source distribution
248248 if : startsWith(matrix.os, 'ubuntu')
0 commit comments