testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

Feature: Add Support For Elasticsearch 9

Open negatic opened this issue 4 months ago • 2 comments

negatic avatar Aug 12 '25 06:08 negatic

what happens when you try to pass that image into the constructor?

alexanderankin avatar Sep 11 '25 15:09 alexanderankin

In such case:

    else:
        raise ValueError(f"Unknown elasticsearch version given: {version}")

as per https://github.com/testcontainers/testcontainers-python/blob/main/modules/elasticsearch/testcontainers/elasticsearch/init.py#L55, which makes it impossible to test against ESv9 at the moment.

adamzanyline avatar Sep 22 '25 16:09 adamzanyline