Evaluate replacing MinIO in the test fixture: the vendor has withdrawn public images
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Refactoring
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- docker, python
- Bereich
- data-engineering, testing-qa
Rechercherichtung
Start with tests/conftest.py and the DJ_TEST_MINIO_IMAGE fixture, then compare the three listed candidate images and the existing Chainguard image from cold pulls. Run the five object-storage suites, including all 44 test_gc tests, and verify directory-shaped objects, public credential-free access, active maintenance, and changes limited to the fixture. Done means the evidence identifies a suitable image or supports retaining MinIO.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
tests/conftest.py starts MinIO to exercise the object-storage paths. MinIO has withdrawn from public distribution, so that dependency now rests on a third party continuing to publish builds of an archived codebase. #1559 restored CI by switching to Chainguard's build; this issue is about whether to keep depending on MinIO at all.
Filing it separately on purpose: #1559 was the release-eve fix and needed to change no test code. This one needs measurement, and picking wrong here produces the worst kind of green — a suite that passes while the behavior it claims to cover is untested.
Why the current position is not stable
| Oct 2025 | MinIO stopped publishing free community builds |
| Feb 2026 | open-source repository archived |
| 2026-09-11 | minio/minio deleted from Docker Hub — the whole repository, every tag |
| 2026-09-24 | quay.io/minio/minio began requiring authentication |
Chainguard's build is a good mitigation and the right call for now — it is public, credential-free, drop-in for MinioContainer, and rebuilt continuously, where the last community image is a year stale.
But continuous rebuilds address the base image and dependencies. A defect in MinIO's own Go code has no upstream fix, because upstream is archived — worth confirming against Chainguard's advisory data rather than taking from me. And the arrangement depends on a third party's free tier continuing, for software whose vendor has already shown its direction. That is a reasonable place to stand for a release, and a poor place to stand indefinitely.
What a replacement has to satisfy
This is the part that decides it, and it rules out the obvious shortcut.
DataJoint reaches object storage through fsspec/s3fs, not boto3. The storage layer calls:
isdir · walk · size · exists · rm · open · pipe_file · get_file · put · put_file · cat_file
S3 has no directories. isdir and walk are emulated by s3fs over list_objects_v2 using common prefixes and zero-byte directory markers, and the emulation is sensitive to how a server reports prefixes, delimiters, and empty keys.
Garbage collection is built directly on that emulation — gc.py:205 and gc.py:255 both walk a store recursively to decide what is orphaned. A server that diverges on listing will not throw; it will return a different set of keys, and GC will classify live files as orphans or miss real ones. test_gc is 44 tests and exists precisely to catch that.
So a lightweight S3 mock is the tempting choice and the risky one. Fidelity on listing matters more here than startup time.
Candidates
All three pull publicly today, verified:
| Image | Notes |
|---|---|
chrislusf/seaweedfs |
real object store with an S3 gateway, Apache-2.0, actively maintained |
localstack/localstack |
full AWS emulator, very widely used, heavier |
adobe/s3mock |
purpose-built test mock, starts in 0.12s against MinIO's 1.0s — and the one most likely to diverge on listing |
Staying on cgr.dev/chainguard/minio is also a legitimate outcome if the alternatives cost more fidelity than the dependency risk is worth. The point of the exercise is to answer that with evidence rather than assume it.
Acceptance
- The five object-storage suites pass against the candidate from a cold pull, with any local image cache deleted — 118 tests:
test_gc(44),test_object(46),test_npy_codec(22),test_codecs(4),test_attach(2). test_gcpasses specifically, including the prefix-scoping and orphan-detection cases, since that is where listing semantics bite.- Directory-shaped objects round-trip:
isdirandwalkagree with what MinIO reported for the same tree. - The image is public, needs no credentials, and is actively maintained.
- Nothing changes outside
tests/conftest.pyand the fixture;DJ_TEST_MINIO_IMAGEalready makes the source swappable.
Out of scope
What DataJoint recommends to customers for production object storage. That is a product question, it touches an existing partnership conversation, and it should not be decided as a side effect of a test-fixture choice.
- Vorherrschende Sprache
- Python
- Sterne
- 197
- Forks
- 98
- Ø Merge
- 23 Std. 9 Min.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus datajoint/datajoint-python
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
datajoint/datajoint-python#1539 · 3 Kommentare ·
-
Python 3.15 ships Oct 9 and we cap below it; 3.10 went EOL Oct 1Evtl. vergeben @dimitri-yatsenko hat das vor 1 Tag übernommen. Offenenhancement
datajoint/datajoint-python#1569 · 1 zugewiesene Person ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 75/100
datajoint/datajoint-python#1564 ·
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 68/100
datajoint/datajoint-python#1563 ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
datajoint/datajoint-python#1562 · 2 Kommentare ·
Alle Issues in datajoint/datajoint-python
Ähnliche Issues
-
needs-human needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
gke-labs/kube-agents#2400 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Device Details tables: FS/SF columns contradict each other (nfet_01v8 Vt row, pfet_01v8 Idsat row)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
google/skywater-pdk#450 ·
-
Drained trajectory arrays are overwritten when the sequence buffer is reusedEvtl. vergeben @sylvesterkaczmarek hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
google-deepmind/bsuite#56 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
LearningCircuit/local-deep-research#7206 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
chingu-voyages/V62-tier3-team-33#285 ·
Maintainer antworten meist innerhalb von 1 Tag