Skip to content

Fix matrix image for Scylla driver 3.29.12 builds - #140

Merged
dkropachev merged 1 commit into
scylladb:masterfrom
dkropachev:fix-python-driver-1098-lz4
Oct 5, 2026
Merged

dkropachev merged 1 commit into
scylladb:masterfrom
dkropachev:fix-python-driver-1098-lz4

Conversation

@dkropachev

@dkropachev dkropachev commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

The matrix cannot install scylla-driver 3.29.12 because its required C extension build needs lz4.h. The runner image has libev-dev but lacks the LZ4 development headers.

  • Install liblz4-dev in the runner image.
  • Use the Debian archive for the Buster base image, whose original package URLs now return 404.
  • Update the packaging pin to 25.0 because the current pytest 9.0.3 requires packaging>=22; publish the rebuilt image tag in scripts/image.

Validation:

  • docker build ./scripts -t scylladb/scylla-python-driver-matrix:python3.10-20261005
  • Installed the exact 3.29.12-scylla source in that image with CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST=yes, then imported cassandra.cython_lz4 successfully.
  • git diff --check

CI follow-up: #142.

Fixes #141.

The 3.29.12 Scylla driver requires lz4.h when building its C extensions. Add the headers to the runner image, switch archived Debian Buster sources to archive.debian.org, and update the packaging pin so the image builds with pytest 9.0.3.
@dkropachev
dkropachev merged commit b86442f into scylladb:master Oct 5, 2026
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scylla-driver 3.29.12-scylla fails to build: cassandra/cython_lz4.c lz4.h missing

1 participant