Skip to content

Conversation

kairsas
Copy link

@kairsas kairsas commented Jun 27, 2025

Default localstack tag 3.0 was quite outdated,
causing S3 put_object operations to fail with recent versions of the AWS CLI.

Updating to the latest stable tag, 4.5, resolves the issue.

@kairsas
Copy link
Author

kairsas commented Jun 30, 2025

@DDtKey Maybe you could take a look, is this acceptable?

@DDtKey
Copy link
Contributor

DDtKey commented Jul 1, 2025

Hi @kairsas and thanks for the contribution!

We usually don’t bump image version if it doesn’t require any changes except the version/tag itself

See #138 (comment) for example

I don’t mind updating it with the next major release though, so let’s keep PR active if you don’t mind

@kairsas
Copy link
Author

kairsas commented Jul 1, 2025

Thanks, @DDtKey, for the detailed explanation.

I see your point, but it doesn’t feel natural to me.
What I would expect from a fresh library version is to work smoothly with up-to-date dependency versions — not to be broken.

Maybe if people want their build or test suite to remain stable, they could stick to a fixed testcontainers (or image) version?

But of course, that's not a big problem, as it can be workarounded by overriding the tag.

@DDtKey
Copy link
Contributor

DDtKey commented Jul 1, 2025

I see your point, but it doesn’t feel natural to me.

IMO, the current approach appears to be quite natural.
The primary goal here is to ensure that minor updates don't silently break the user’s code. Unfortunately, upgrading tags can easily lead to this scenario.

While I agree users should stick to specific versions on their end, it is crucial to avoid breaking things in minor patches.
Such an action could potentially violate the semver and for users it's almost like using latest tag (it might be updated or no, who knows)

I'm generally open to updating images, but it should be done with appropriate versioning (this PR can be a part of 0.13.0)

@DDtKey
Copy link
Contributor

DDtKey commented Jul 1, 2025

Btw, could you address clippy warnings?

@kairsas
Copy link
Author

kairsas commented Jul 2, 2025

Clippy should be fine now.

@kairsas
Copy link
Author

kairsas commented Jul 3, 2025

@DDtKey do you have a clue what are those failing tests?
Looks like it should not be related to my changes..
Should I try fixing them, or will they be handled separately?

@DDtKey
Copy link
Contributor

DDtKey commented Sep 18, 2025

Sorry for the late response, we have several flaky tests unfortunately and it's not related you your changes

It's gonna be addressed separately

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.

2 participants