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

Bug: Minio broken with `minio==7.2.19`

Open amotl opened this issue 1 month ago • 5 comments

Problem

minio==7.2.19 was released on November 24. It breaks the Minio container wrapper.

TypeError: Minio.__init__() takes 1 positional argument but 2 positional arguments (and 3 keyword-only arguments) were given

Reproduce

uv pip install minio>=7.2.19

References

  • https://github.com/crate/cratedb-toolkit/pull/578
  • https://github.com/crate/crate/pull/18770

/cc @maltehedderich, @mschmitzer

amotl avatar Nov 26 '25 20:11 amotl

How semver of minio, seems serious enough to fix. Minio recently stopped providing compiled binaries too so I think foss may stop supporting them soon, depending on what we learn next about minio

On Wed, Nov 26, 2025, 3:07 PM Andreas Motl @.***> wrote:

amotl created an issue (testcontainers/testcontainers-python#932) https://github.com/testcontainers/testcontainers-python/issues/932 Problem

minio==7.2.19 was released on November 24 https://pypi.org/project/minio/#history. It breaks the Minio container wrapper.

TypeError: Minio.init() takes 1 positional argument but 2 positional arguments (and 3 keyword-only arguments) were given

Reproduce

uv pip install minio>=7.2.19

References

— Reply to this email directly, view it on GitHub https://github.com/testcontainers/testcontainers-python/issues/932, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECGJGLIIUG6QIXEF6UNK336YCBVAVCNFSM6AAAAACNJRBB2GVHI2DSMVQWIX3LMV43ASLTON2WKOZTGY3DQOBZHEZTGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alexanderankin avatar Nov 26 '25 21:11 alexanderankin

Hi Alexander, thanks for your reply. The semver flaw has been reported already.

  • https://github.com/minio/minio-py/issues/1537

Minio recently stopped providing compiled binaries too.

Are you referring to the minio Python package or something else?

amotl avatar Nov 26 '25 21:11 amotl

fix is here #933

see this for the details on the foss issue - https://github.com/minio/minio?tab=readme-ov-file#source-only-distribution

Important: The MinIO community edition is now distributed as source code only. We will no longer provide pre-compiled binary releases for the community version.

alexanderankin avatar Nov 26 '25 22:11 alexanderankin

Thank you.

foss issue

I can see Minio is starting to feature their AIStor product variant? I hope there will still be OCI builds to serve Testcontainers 🙏, but apparently, quay.io/minio/aistor/minio requires a license now? Otherwise I am sure there will be alternatives.

Edit: I've just discovered Minimus.

  • https://www.minimus.io/post/minio-docker-image-changes-how-to-find-a-secure-minio-alternative

Edit 2: It looks like it isn't an alternative if you need to authenticate to the OCI registry? Is it?

  • https://docs.minimus.io/foundations/authentication

NB: We probably want to break out the Minio vs. FOSS discussion into a different conversation.

amotl avatar Nov 27 '25 11:11 amotl

NB: We probably want to break out the Minio vs. FOSS discussion into a different conversation.

  • https://github.com/crate/crate-clients-tools/discussions/277

amotl avatar Dec 13 '25 18:12 amotl