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

testcontainers-localstack missing `get_client`

Open bdgeise opened this issue 2 years ago • 6 comments

Describe the bug testcontainers-localstack not installing with most recent code base on 0.0.1rc1

Installed testcontainers using poetry add testcontainers and added localstack poetry add testcontainers-localstack

pyproject.toml has versions testcontainers-localstack = "^0.0.1rc1" testcontainers = "^3.7.1"

testcontainers-localstack has the following entry in poetry.lock

[[package]]
name = "testcontainers-localstack"
version = "0.0.1rc1"
description = "LocalStack component of testcontainers-python."
optional = false
python-versions = ">=3.7"
files = [
    {file = "testcontainers_localstack-0.0.1rc1-py3-none-any.whl", hash = "sha256:c3b2d3e97511360a7d0a4115338415a9c25e4463877d4d155aad848e4227e755"},
]

Runtime environment

# Get the operating system information (on a unix os).
Darwin brandons-mbp.lan 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64
# Get the python version.
Python 3.8.9

bdgeise avatar Jul 20 '23 15:07 bdgeise

4.0.0-rc2 was published yesterday, I haven't checked if this code is there but it should be I think

alexanderankin avatar Jan 23 '24 14:01 alexanderankin

#405

alexanderankin avatar Jan 23 '24 14:01 alexanderankin

This still fails with 4.0.0 , needs release of the testcontainers-core component AttributeError: 'LocalStackContainer' object has no attribute 'get_client' pypi still has 0.0.1rc1. will try installing from main branch

covatic-john avatar Mar 11 '24 09:03 covatic-john

We can't publish those as described in the pinned issue #412 so it's "testcontainers[localstack]" again

On Mon, Mar 11, 2024, 5:51 AM covatic-john @.***> wrote:

This still fails with 4.0.0 , needs release of the localstack component AttributeError: 'LocalStackContainer' object has no attribute 'get_client'

— Reply to this email directly, view it on GitHub https://github.com/testcontainers/testcontainers-python/issues/372#issuecomment-1988008935, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECGJEXGTAVSVIHYPXSCQLYXV5AVAVCNFSM6AAAAAA2RULFGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBYGAYDQOJTGU . You are receiving this because you commented.Message ID: @.***>

alexanderankin avatar Mar 11 '24 10:03 alexanderankin

Trying now :)

covatic-john avatar Mar 11 '24 10:03 covatic-john

@alexanderankin this get_client working on 4.0.0 release.

covatic-john avatar Mar 11 '24 10:03 covatic-john

@alexanderankin this get_client working on 4.0.0 release.

closing this!

alexanderankin avatar Mar 28 '24 23:03 alexanderankin