Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testcontainers-localstack missing get_client #372

Closed
bdgeise opened this issue Jul 20, 2023 · 7 comments
Closed

testcontainers-localstack missing get_client #372

bdgeise opened this issue Jul 20, 2023 · 7 comments

Comments

@bdgeise
Copy link

bdgeise commented Jul 20, 2023

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
@alexanderankin
Copy link
Member

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

@alexanderankin
Copy link
Member

#405

@covatic-john
Copy link

covatic-john commented Mar 11, 2024

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

@alexanderankin
Copy link
Member

alexanderankin commented Mar 11, 2024 via email

@covatic-john
Copy link

Trying now :)

@covatic-john
Copy link

@alexanderankin this get_client working on 4.0.0 release.

@alexanderankin
Copy link
Member

@alexanderankin this get_client working on 4.0.0 release.

closing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants