Skip to content

CASSANDRA-20181: Update cqlsh Docker testing instructions to use public python:slim images on 5.0#4632

Open
arvindKandpal-ksolves wants to merge 4 commits intoapache:cassandra-5.0from
arvindKandpal-ksolves:CASSANDRA-20181-5.0
Open

CASSANDRA-20181: Update cqlsh Docker testing instructions to use public python:slim images on 5.0#4632
arvindKandpal-ksolves wants to merge 4 commits intoapache:cassandra-5.0from
arvindKandpal-ksolves:CASSANDRA-20181-5.0

Conversation

@arvindKandpal-ksolves
Copy link
Contributor

@arvindKandpal-ksolves arvindKandpal-ksolves commented Feb 24, 2026

What this PR does / Why we need it:

This PR updates the testing instructions in pylib/README.asc to utilize publicly available python:X.Y-slim Docker images. This simplifies the testing process for developers by removing the need to build a custom Ubuntu image locally.

Changes:

  • Added clean docker run examples using python:slim images.
  • Provided the --net="host" fallback for environments where host.docker.internal does not work (e.g., native Linux Docker).
  • Updated the Overview and Requirements sections to future-proof the documentation regarding supported Python versions.

patch by Arvind Kandpal; for CASSANDRA-20181

@arvindKandpal-ksolves arvindKandpal-ksolves changed the title CASSANDRA-20181: Fix cqlsh docker build failure on 5.0 CASSANDRA-20181: Remove obsolete cqlsh Dockerfiles on 5.0 Feb 26, 2026
…m images

Incorporated reviewer feedback. Updated Overview to reflect Python 2.7 as unsupported and 3.6/3.7 as deprecated. Documented tested Python versions and set requirements to Python 3.8+ for future compatibility.
@arvindKandpal-ksolves arvindKandpal-ksolves changed the title CASSANDRA-20181: Remove obsolete cqlsh Dockerfiles on 5.0 CASSANDRA-20181: Update cqlsh Docker testing instructions to use public python:slim images on 5.0 Feb 28, 2026
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.

1 participant