Skip to content

Commit 953586a

Browse files
CI: don't install compress-lz4 extra on PyPy
PyPy has no prebuilt lz4 wheel, so 'pip install scylla-driver[compress-lz4]' compiled lz4 from source and failed (gcc 14 rejects the lz4 C sources). The pp* override inherited test-extras from [tool.cibuildwheel.linux]; clear it so lz4 is not installed on PyPy. The lz4 tests just skip there (no-skip is off).
1 parent 543799b commit 953586a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,11 @@ environment = { CASS_DRIVER_BUILD_CONCURRENCY = "2", CASS_DRIVER_BUILD_EXTENSION
214214
# NOT enabled for PyPy (same reasoning as Windows). The reactor tests are not
215215
# run separately here because eventlet is unsupported on PyPy (@notpypy) and the
216216
# extension-backed reactors are unavailable; with no-skip off they simply skip.
217+
# test-extras is cleared (no compress-lz4): PyPy has no prebuilt lz4 wheel, so
218+
# pip would try to compile it from source and fail. The lz4 tests just skip here.
217219
[[tool.cibuildwheel.overrides]]
218220
select = "pp*"
221+
test-extras = []
219222
test-command = [
220223
"pytest {package}/tests/unit -v --ignore={package}/tests/unit/column_encryption -k 'not test_deserialize_date_range_month'",
221224
]

0 commit comments

Comments
 (0)